Skip to content

Style references to numbered lines in example code consistently #1375

Closed
@Eelis

Description

@Eelis
Contributor

The following two fragments are from [except.ctor]/2 and [temp.class.order]/2, respectively:

coderefs

Note how the #1/#2 are in body font in the first, and in code font in the second.

(Also, the A/B/C/Din the second fragment should probably not be in code font.)

Activity

jensmaurer

jensmaurer commented on Jan 18, 2017

@jensmaurer
Member

We don't do #1 -style references very often, it seems, but where we have them, \tcode is the exception. We usually just have body font #1 references.

That suggests point-fixes for the few issues discovered above as opposed to broad harmonization.

self-assigned this
on Jan 18, 2017
added a commit that references this issue on Jan 18, 2017

Use body font, not \tcode, for '#1' code line references in running t…

cb41416
added a commit that references this issue on Feb 5, 2017

Use body font, not \tcode, for '#1' code line references in running t…

9085097
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Eelis@jensmaurer

      Issue actions

        Style references to numbered lines in example code consistently · Issue #1375 · cplusplus/draft