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

Formatting issues in updated specification of bounds declaration checking #342

Open
secure-sw-dev-bot opened this issue Jan 15, 2022 · 1 comment

Comments

@secure-sw-dev-bot
Copy link

This issue was copied from microsoft/checkedc#343


We have multicharacter names for variables and functions in the updated specification of bounds declaration checking. LaTex formats them as though they are the product operator, resulting in funny spacing. We should use the \mathit{} LaTEx command to wrap the names, so that spacing is correct.

@secure-sw-dev-bot
Copy link
Author

Comment from @lenary:

One way to do this, is to define commands like the following:

\def\UG\ensuremath{\mathit{UG}}

Then you can use \UG either in math mode, or out of math mode, and it will look the same. \ensuremath{...} opens an inline math environment, like $...$, if it is not currently in any kind of math environment.

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

1 participant