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

[std] Switch grammar to \sffamily \itshape #3370

Merged
merged 1 commit into from Nov 26, 2019
Merged

Conversation

jensmaurer
Copy link
Member

Fixes #323.

@jensmaurer
Copy link
Member Author

Also do a visual diffpdf.

@jensmaurer
Copy link
Member Author

Fix 9.5.4 promise-comstructor-arguments formatting, rename to $A$.

@Eelis
Copy link
Contributor

Eelis commented Nov 5, 2019

Does this patch preserve the regex grammar typesetting in [re.grammar]? Per #3193, the grammar typesetting in that subclause should be consistent with the regex grammar typesetting in the upstream ECMAScript standard.

Compensate the slightly heavier font by color {gray}{0.2}.
@jensmaurer
Copy link
Member Author

@Eelis: Yes, I've tried hard.

@jensmaurer jensmaurer changed the title [std] Switch grammar to sffamily itshape gray 0.2 [std] Switch grammar to \sffamily \itshape Nov 6, 2019
@jensmaurer
Copy link
Member Author

Editorial meeting: @tkoeppe to investigate other font choices in the next days.

@jensmaurer
Copy link
Member Author

@tkoeppe , any results from your investigation?

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 19, 2019

Yes, the various alternatives I had considered all don't really look any better. Give me another day or two to be sure, but we'll probably keep the initial proposal.

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 20, 2019

Let's proceed with what we have. I haven't found any alternatives that are clearly superior. DejaVu Sans is quite nice and has a condensed version (and needs to be scaled to 80%), but the difference with Latin Modern's version is rather minor. The ease of setup of the current solution is compelling, and we can iterate on minor variations later on.

@tkoeppe tkoeppe self-requested a review November 20, 2019 23:39
@zygoloid zygoloid merged commit 1772778 into cplusplus:master Nov 26, 2019
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.

grammar terms are indistinguishable from defined terms
4 participants