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

consistent whitespace in \tcode types #1365

Merged
merged 1 commit into from Feb 23, 2017

Conversation

AlisdairM
Copy link
Contributor

Where a type contains embedded whitespace, such as 'long long',
the tex files have been inconsistent in rendering this as
'\tcode{long long}' or '\tode{long} \tcode{long}', even within
a list of such types.

This patch consistently reduces the numbwr of \tcode macros
by combining whitespaced keywords into a single \txode element.
There may be some minimal kerning adjustments through the use of
non-proportional whitespace, but I don't immediately see any
tezt reflowing. The end result is source for the standard that
is easier to grep.

@jensmaurer
Copy link
Member

Looks good to me. The patch performs as advertised.

@Eelis
Copy link
Contributor

Eelis commented Jan 15, 2017

Typos in the commit text:

  • "numbwr"
  • "tezt"
  • "\txode"

Where a type contains embedded whitespace, such as 'long long',
the tex files have been inconsistent in rendering this as
'\tcode{long long}' or '\tcode{long} \tcode{long}', even within
a list of such types.

This patch consistently reduces the number of \tcode macros
by combining whitespaced keywords into a single \tcode element.
There may be some minimal kerning adjustments through the use of
non-proportional whitespace, but I don't immediately see any
text reflowing.  The end result is source for the standard that
is easier to grep.
@AlisdairM
Copy link
Contributor Author

Fixed typos in commit message, and re-pushed. No change of content.

@tkoeppe
Copy link
Contributor

tkoeppe commented Jan 17, 2017

Do you have a diffpdf?

@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 5, 2017

@AlisdairM: Ping

@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 23, 2017

I'm not convinced this actually looks better -- a proportional space looks tidier in body text --, but there is certainly something to be said for maintainability, and the majority of use cases already put multiword types into a single \tcode, so I'll accept this.

@tkoeppe tkoeppe merged commit 4574772 into cplusplus:master Feb 23, 2017
@AlisdairM AlisdairM deleted the simplifying_tcode_type branch February 24, 2017 01:57
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

4 participants