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

Format indexed variables with code and maths properly #1139

Closed
tkoeppe opened this issue Nov 28, 2016 · 6 comments
Closed

Format indexed variables with code and maths properly #1139

tkoeppe opened this issue Nov 28, 2016 · 6 comments
Assignees

Comments

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 28, 2016

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.

@tkoeppe
Copy link
Contributor Author

tkoeppe commented Nov 29, 2016

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

@jensmaurer
Copy link
Member

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

@tkoeppe
Copy link
Contributor Author

tkoeppe commented Dec 13, 2016

c214412 also contributed to this.

@jensmaurer
Copy link
Member

jensmaurer commented Dec 15, 2016

@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
Copy link
Contributor Author

tkoeppe commented Dec 16, 2016

@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).

jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 19, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 19, 2016
And similar for Ui, Vi, and TiD; the latter becoming $\mcode{TD}_i$.

Partially addresses cplusplus#1139.
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 20, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 20, 2016
And similar for Ui, Vi, and TiD; the latter becoming $\tcode{TD}_i$.

Partially addresses cplusplus#1139.
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 20, 2016
And similar for Ui, Vi, and TiD; the latter becoming $\tcode{TD}_i$.

Partially addresses cplusplus#1139.
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 21, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Jan 12, 2017
zygoloid pushed a commit that referenced this issue Feb 5, 2017
jensmaurer added a commit to jensmaurer/draft that referenced this issue Mar 18, 2017
And similar for Ui, Vi, and TiD; the latter becoming $\tcode{TD}_i$.

Partially addresses cplusplus#1139.
@zygoloid
Copy link
Member

zygoloid commented Nov 7, 2017

Any further problems can be addressed by point issues; having an omnibus issue is no longer valuable.

@zygoloid zygoloid closed this as completed Nov 7, 2017
jensmaurer added a commit to jensmaurer/draft that referenced this issue Nov 15, 2017
And similar for Ui, Vi, and TiD; the latter becoming $\tcode{TD}_i$.

Partially addresses cplusplus#1139.
jensmaurer added a commit to jensmaurer/draft that referenced this issue Nov 21, 2017
tkoeppe pushed a commit that referenced this issue Nov 21, 2017
* Use \text{\cv}} in math mode, not \mathit.

* Replace Ti with $\tcode{T}_i$ for proper indexes.

Partially addresses #1139.
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

No branches or pull requests

3 participants