TeX - LaTeX Asked on July 28, 2021
When typing
$C_{mathscr T_{nu^dagger}}$ and $C_{mathscr T_nu}$
The way in which $nu$ is moved further down when introducing the $dagger$ symbol is unsightly and I am wondering how this can be typeset to give something a little more compact and aesthetically pleasing. I tried placing additional curly braces in various places to see if I got a better result but it did not change anything!
Edit: Here is a MWE
documentclass[]{report}
usepackage{mathrsfs}
begin{document}
$C_{mathscr T_{nu^dagger}}$ and $C_{mathscr T_nu}$
end{document}
While I am not generally a fan of making a symbol-style smaller than the scriptscriptstyle
, in this case, one can almost think of nu^dag
as its own glyph. So, what I do here is to define a nudagref
in textstyle
that has is essentially nu^dag
, with the dag
smashed, so that it has the dimensions of nu
. Then, when I want to use it in smaller math styles, I scale the nudagref
down to the size of nu
in the smaller math style.
In the MWE, the first line shows dag
and nudag
in all three styles. Then I show what the OP had shown. Finally, I employ nudag
in the final line. One downside is that the nu of nudag
is a scaled textstyle
version, and thus has a slightly different shape than the smaller style nu
. See ALTERNATIVE below for a correction to this issue.
documentclass[]{report}
usepackage{mathrsfs,scalerel}
newcommandnudagref{textstylenu^{mkern-1musmash{dag}}}
newcommandnudag{scalerel*{nudagref}{nu}}
begin{document}
$dagnudag_{nudag_{nudag}}$
$C_{mathscr T_{nu^{smash{dagger}}}}$ vs $C_{mathscr T_nu}$
$C_{mathscr T_{nudag}}$ vs $C_{mathscr T_nu}$
end{document}
ALTERNATIVE:
This version preserves the proper shape of the nu
in the smaller math styles.
documentclass[]{report}
usepackage{mathrsfs,scalerel}
newcommanddagref{textstylevphantom{nu}^{mkern-1musmash{dag}}}
newcommandnudag{nuscalerel*{dagref}{nu}}
begin{document}
$dagnudag_{nudag_{nudag}}$
$C_{mathscr T_{nu^{smash{dagger}}}}$ vs $C_{mathscr T_nu}$
$C_{mathscr T_{nudag}}$ vs $C_{mathscr T_{nu}}$
end{document}
Correct answer by Steven B. Segletes on July 28, 2021
You can hide the symbols or try to adjust the default positioning to get more even spacing for the symbols you use.
documentclass[]{report}
usepackage{mathrsfs}
begin{document}
$C_{mathscr{T}_{nu^dagger}}$ and $C_{mathscr{T}_nu}$
$C_{mathscr{T}_{nu^{smash{dagger}}}}$ and $C_{mathscr{T}_nu}$
$C_{mathscr{T}_{nu^dagger}}$ and $C_{mathscr{T}_{nu^{vphantom{dagger}}}}$
{% adjust as required.....
fontdimen 12 scriptfont2 =15pt
fontdimen 13 scriptfont2 =15pt
fontdimen 14 scriptfont2 =15pt
fontdimen 15 scriptfont2 =15pt
fontdimen 16 textfont2 =15pt
fontdimen 17 textfont2 =15pt
fontdimen 18 textfont2 =15pt
fontdimen 19 textfont2 =15pt
fontdimen 16 scriptfont2 =15pt
fontdimen 17 scriptfont2 =15pt
fontdimen 18 scriptfont2 =15pt
fontdimen 19 scriptfont2 =15pt
$C_{mathscr{T}_{nu^dagger}}$ and $C_{mathscr{T}_nu}$
}
end{document}
See
Answered by David Carlisle on July 28, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP