Reputation
559
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 12
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
Feb
3
comment How to make a command for a circled letter to work with all font sizes?
Not really; the symbol is drawn with TikZ, but it could be a simple textcircled. For instance: \newlength\oneex\def\malcev{\mathop{\text{\settoheight{\oneex}{x}\raisebox{0.3\‌​oneex}{\resizebox{!}{\oneex}{\normalsize\textcircled{\scriptsize M}}}}}}. Basically, the circled M is written in a "normal" size, and it is then scaled to the height of an x.
Feb
3
comment How to make a command for a circled letter to work with all font sizes?
An alternative, arguably cleaner, and in any case shorter solution is offered by John Kormylo on this question: tex.stackexchange.com/a/290956/65 . This relies on amsmath's \text, extract the actual height of a letter, and draws the operator in proportion to it.
Feb
3
accepted Scale a TikZ picture according to current font in math mode
Feb
3
comment Scale a TikZ picture according to current font in math mode
Ah! That's perfect! We arrived at a similar solution at the same timeā€”but I had to search for hours :-) I used a resizebox to avoid having \tempdima everywhere, but I'm not sure one is better than the other. Thanks greatly!
Feb
3
comment Scale a TikZ picture according to current font in math mode
@JohnKormylo: As Symbol says, it's not that easy, and \text goes a long way to make it easier. However, experiment with \DeclareRobustCommand{\myop}{\mathbin{\text{\rule{1mm}{.7em}}}} or similar, and you'll see that it does not scale properly. What I'd really like to have, again, is something like "Put 'A' in a vbox, and scale the symbol to the height of that vbox." I just can't seem to be able to do that, because of evaluation timing.
Feb
2
comment Scale a TikZ picture according to current font in math mode
\text is basically doing the mathchoice here. I'm really searching for an option that keeps the tikz (because I may have something more complex) and that avoids a mathchoice. In a way, I'd like to be able to say "Let $x$ be the height of an "o" in the current mode, then scale the tikz picture to $x$."
Feb
2
asked Scale a TikZ picture according to current font in math mode
Oct
7
comment Detect first visibility in a Beamer frame
It's by design; this is not something I mind, and I'd guess that it would take quite a lot of effort to keep the same code and have the effect you mention. Thanks for your comment!
Oct
6
answered Detect first visibility in a Beamer frame
Oct
5
asked Detect first visibility in a Beamer frame
Jul
20
awarded  Popular Question
Apr
1
comment Typeset mathematical symbols also in sans serif font?
The page you quote clearly states: "After including the package sfmath.sty, all maths is displayed with sans serif fonts; there is no way to switch back to the original behavior." Can you please give more detail on how to switch back and forth?
Nov
20
awarded  Notable Question
Jul
2
awarded  Curious
Mar
28
awarded  Popular Question
Dec
7
awarded  Nice Question
Dec
7
revised A zero \parskip and an unusual \paragraph result in overlapping paragraphs
edited title
Dec
7
comment A zero \parskip and an unusual \paragraph result in overlapping paragraphs
That's very kind of you, thanks. I changed the name of the question to better reflect the problematic at hand.
Dec
6
comment A zero \parskip and an unusual \paragraph result in overlapping paragraphs
In addition, your "of course" sentence means that any value sign would have the same result, can you explain why? Thanks a lot!
Dec
6
comment A zero \parskip and an unusual \paragraph result in overlapping paragraphs
Thanks Robert! Would you mind adding a reference for your assertion to the effect that all components have to be negative if one is? Or explain how the different components behave? I thought that \@plus and \@minus were only arithmetics (as their names suggest), so maybe you can explain how these work too? Thanks!