Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra vertical space with the package "ctex" or documentclass "ctex**" #6

Open
Meiting-Wang opened this issue Aug 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Meiting-Wang
Copy link

Meiting-Wang commented Aug 6, 2022

Hello Mr. Lu, I find that both codehigh and demohigh environments have extra vertical space in the last row with the package "ctex" or documentclass "ctexart", "ctexrep", "ctexbook", but there is no such problem in documentclass "ctexbeamer", "article"...

I don't know where is the problem? Maybe codehigh and ctex are in conflict?

Thanks in advance

PS.
my system: win10
compiling engine: pdflatex, xelatex and lualatex lead to the same result
Tex Live version: TeX 3.141592653 (TeX Live 2022)
tlmgr update time: August 6, 2022
My MWE:

image

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


\begin{document}

\begin{codehigh}
There is a sentence.
There is a sentence.
There is a sentence.
There is a sentence.
There is a sentence.
There is a sentence.
\end{codehigh}

\begin{demohigh}
There is a sentence.
There is a sentence.
There is a sentence.
There is a sentence.
There is a sentence.
There is a sentence.
\end{demohigh}

\end{document}
@lvjr
Copy link
Owner

lvjr commented Aug 7, 2022

Thanks for your report. I will look into it later.

@lvjr lvjr added the bug Something isn't working label Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants