Skip to content

[cmath.syn] Wrong font in prose for floating-point-type #8023

Open
@Eisenwave

Description

@Eisenwave

https://eel.is/c++draft/cmath.syn#2

draft/source/numerics.tex

Lines 9799 to 9809 in 47d9c36

\pnum
For each function
with at least one parameter of type \placeholder{floating-point-type},
the implementation provides
an overload for each cv-unqualified floating-point type\iref{basic.fundamental}
where all uses of \placeholder{floating-point-type} in the function signature
are replaced with that floating-point type.
\pnum
For each function
with at least one parameter of type \placeholder{floating-point-type}

Notice how we're using \placeholder at a top-level, not in \tcode, which means that we're just getting regular italic text. This feels wrong and looks wrong.

I would have expected that in these two paragraphs, we would say floating-point-type (italic code font) which matches exactly how these parameters are rendered in the code block.

More broadly, is it ever acceptable to use \placeholder outside of a code block or \tcode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions