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

Typo, avoid ligature in long option name #382

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

muzimuzhi
Copy link
Contributor

Somehow lmodern package enables the "--" (double-hyphen) to en-dash ligature for \ttfamily, in T1 encoding. The result looks wrong for long CLI options.

No similar cases are found in l3build.dtx.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\begin{document}
\verb|--option|

\texttt{--option}
\end{document}

image

In l3build.pdf, page 4
image

Somehow lmodern package enables the "--" (double-hyphen) to en-dash
ligature for \ttfamily, in T1 encoding. The result looks wrong for
long CLI options.
@josephwright josephwright merged commit 3ac3550 into latex3:main Sep 13, 2024
1 check passed
@muzimuzhi muzimuzhi deleted the typo branch September 13, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants