Skip to content

Format indexed variables with code and maths properly #1139

Closed
@tkoeppe

Description

@tkoeppe

We still have a number of "indexed" variables, like Ti or TiD, that should be formatted with the variable name in code and the index in maths, either \tcode{T}$_i$ or $\mathtt{T}_i$ or $\mcode{T}_i$ provided someone adds an \mcode macro, or $\text{\tcode{T}}_i$.

Please also look out for concrete indexes like $T_0$ etc.

Activity

tkoeppe

tkoeppe commented on Nov 29, 2016

@tkoeppe
ContributorAuthor

48efdfe contributed to this, but there's more work left to be done in [tuple.tuple].

jensmaurer

jensmaurer commented on Dec 13, 2016

@jensmaurer
Member

Waiting for #1142 to be applied to avoid merge conflicts.

tkoeppe

tkoeppe commented on Dec 13, 2016

@tkoeppe
ContributorAuthor

c214412 also contributed to this.

jensmaurer

jensmaurer commented on Dec 15, 2016

@jensmaurer
Member

@tkoeppe: Do you have a suggestion how to format TiD = decay_t<Ti> ? My guess would be T_i^D = decay_t<T_i> (with appropriate font macros), but maybe you've got another idea.

tkoeppe

tkoeppe commented on Dec 16, 2016

@tkoeppe
ContributorAuthor

@jensmaurer: How about TD_i = decay_t<T_i>? It's very unusual to have the index in the middle. Or maybe U_i, if that's available (I don't know which part you're looking at).

12 remaining items

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

Issue actions

    Format indexed variables with code and maths properly · Issue #1139 · cplusplus/draft