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

Remove \tilde in favour of \~. #1851

Merged
merged 1 commit into from Nov 25, 2017
Merged

Remove \tilde in favour of \~. #1851

merged 1 commit into from Nov 25, 2017

Conversation

Eelis
Copy link
Contributor

@Eelis Eelis commented Nov 25, 2017

This was a FIXME in macros.tex.

No visible difference.

@tkoeppe tkoeppe merged commit 4764fc9 into cplusplus:master Nov 25, 2017
@Eelis Eelis deleted the tilde branch November 25, 2017 23:12
@@ -199,8 +199,6 @@
\newcommand{\bigoh}[1]{\ensuremath{\mathscr{O}(#1)}}

% Make all tildes a little larger to avoid visual similarity with hyphens.
% FIXME: Remove \tilde in favour of \~.
\renewcommand{\tilde}{\textasciitilde}
\renewcommand{\~}{\textasciitilde}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this overrides the default definition of \~ which applies the tilde accent to the following character (e.g., \~n is typeset as ‘ñ’).

In addition, I would move the \raisebox etc. code to this macro and leave the \textasciitilde macro unmolested. (Modify as few original macros as necessary. Try to keep all your changes localized.) This also saves you from having to copy the definition to \OldTextAsciiTilde, removes redirection, and improves readability.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@godbyk: Could you spell that out for me? I've tried a few things, but they end up visually different.

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.

None yet

3 participants