lvjr / codehigh

Highlight codes and demos with l3regex and lpeg
https://ctan.org/pkg/codehigh
11 stars 6 forks source link

Extra color blocks and cannot achieve normal paragraph segmentation #9

Open Meiting-Wang opened 2 years ago

Meiting-Wang commented 2 years ago

Hello Mr. Lu. I find that there are sometimes extra color blocks in the verbatim area in codehigh and demohigh environment, and the demonstration area cannot achieve normal paragraph segmentation in the demohigh environment.

Best wishes

PS. my system: win10 Tex Live version: TeX 3.141592653 (TeX Live 2022) tlmgr update time: August 6, 2022 My MWE:

image

\documentclass{article}
\usepackage{codehigh}
\CodeHigh{style/main=azure9,style/code=azure9}

\begin{document}

\begin{codehigh}
a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b 
\end{codehigh}

\begin{demohigh}
a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b a a a b b b b b b b 
\end{demohigh}

\begin{demohigh}
There is a sentence.

There is a sentence.
\end{demohigh}

\end{document}