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

Missing composite command for “i with macron” #1453

Open
eg9 opened this issue Aug 31, 2024 · 1 comment · Fixed by #1535
Open

Missing composite command for “i with macron” #1453

eg9 opened this issue Aug 31, 2024 · 1 comment · Fixed by #1535
Assignees
Labels
category base (latex) enhancement fixed in dev Fixed in development branch, not in stable release

Comments

@eg9
Copy link
Contributor

eg9 commented Aug 31, 2024

Brief outline of the enhancement

It seems that some common accented letters aren't covered, in particular ī. Indeed

\=i

produces a macron over a dotted i. OT1 and T1 encoding should have a composed command for it.

The glyph is used in Latvian. While the UTF-8 direct input produces a correct output, it seems necessary to cover it for people who can't input the U+012B character directly.

Minimal example showing the current behaviour

\RequirePackage{latexbug}
\documentclass{article}

\begin{document}

\=i versus \={\i}
  
\end{document}
image
\RequirePackage{latexbug}
\documentclass{article}
\usepackage[T1]{fontenc}

\begin{document}

\=i versus \={\i}
  
\end{document}
image

Minimal example showing the desired new behaviour

\RequirePackage{latexbug}
\documentclass{article}

\DeclareTextCompositeCommand{\=}{OT1}{i}{\=\i}

\begin{document}

\=i versus \={\i}

\end{document}
image
\RequirePackage{latexbug}
\documentclass{article}
\usepackage[T1]{fontenc}

\DeclareTextCompositeCommand{\=}{T1}{i}{\=\i}

\begin{document}

\=i versus \={\i}

\end{document}
image
@Rimole
Copy link

Rimole commented Sep 6, 2024

See also #1075.

@github-project-automation github-project-automation bot moved this to Pool (unscheduled issues) in upcoming LaTeX2e releases Oct 22, 2024
@josephwright josephwright linked a pull request Nov 4, 2024 that will close this issue
7 tasks
@github-project-automation github-project-automation bot moved this from Pool (unscheduled issues) to Done in upcoming LaTeX2e releases Nov 6, 2024
@josephwright josephwright reopened this Nov 6, 2024
@github-project-automation github-project-automation bot moved this from Done to In progress in upcoming LaTeX2e releases Nov 6, 2024
@josephwright josephwright added the fixed in dev Fixed in development branch, not in stable release label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category base (latex) enhancement fixed in dev Fixed in development branch, not in stable release
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

3 participants