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

Combination of acmart + mathpartir inferrule* causes strange line height bug #490

Open
wilbowma opened this issue Mar 11, 2023 · 1 comment

Comments

@wilbowma
Copy link

Consider the following document:

\documentclass{acmart}

\usepackage{mathpartir}
\usepackage{lipsum}

\begin{document}

\lipsum[5]

\begin{mathpar}
  \inferrule*[right=Meow]
  {~}
  {\vdash e : A}
\end{mathpar}

\end{document}

When I replace the use of inferrule* with inferrule, or replace the acmart document class with article, I can highlight lines and the line height is as expected. It looks like this:
image

However, as written, the rendered PDF looks like this when I highlight lines:
image

It appears this is only an issue with the inferrule* right or Right option. If I replace it with left, the line height appears correct as well.

I'd appreciate any help.

@arbipher
Copy link

Sorry for disturbing but I have a related question, does acmart(or sigplan) have a suggested package for inference rules? I also use mathpartir.

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

No branches or pull requests

2 participants