108

MWE:

\documentclass{article}
\begin{document}
$\wedge{\small\wedge}{\tiny\wedge}$
\end{document}

All the \wedges have the same size...

enter image description here

1
  • 5
    I don't think \small works in math mode at all.
    – mafp
    Commented Dec 30, 2012 at 18:30

3 Answers 3

111

\small and \tiny are text font macros (just like \large, \huge, ...). You most likely received the following font warnings in your .log file:

LaTeX Font Warning: Command \small invalid in math mode on input line 3.

LaTeX Font Warning: Command \tiny invalid in math mode on input line 3.

Inside math mode, in order to use a different (smaller) font, you could/should use \scriptstyle or \scriptscriptstyle:

enter image description here

\documentclass{article}
\begin{document}
$\wedge{\small\wedge}{\tiny\wedge}$\par
$\wedge{\scriptstyle\wedge}{\scriptscriptstyle\wedge}$
\end{document}

\scriptstyle denotes the font size of super-/subscripts, while \scriptscriptstyle denotes the font size for super-/subscripts of super-/subscripts. Thereafter (higher scripting), the font size remains at \scriptscriptsize. See

enter image description here

\documentclass{article}
\begin{document}
$x\ x^x\ x^{x^x}\ x^{x^{x^x}}\ x^{x^{x^{x^x}}}$
\end{document}

That's why there's a suggestion to use \scalebox (and possibly some height adjustment using \raisebox) - it allows you to have a little more variation in the fonts in smaller/larger sized.

1
  • 5
    I find \scalebox a good solution for my problem, which may be different from the original question... Commented Apr 24, 2016 at 5:46
17

use


$\wedge$\small$\wedge$\tiny$\wedge$\normalsize
6
  • 8
    or $\wedge${\small$\wedge$\tiny$\wedge$} so that it's not necessary to return explicitly to \normalsize, since that may or may not actually be the current size (say, in a footnote). Commented Dec 30, 2012 at 19:42
  • 1
    @barbarabeeton: yes, you're right. As usual :-)
    – user2478
    Commented Dec 30, 2012 at 19:51
  • Can this technique be transferred to environments like equation?
    – bluenote10
    Commented Jan 17, 2014 at 16:42
  • @bluenote10: try it ... ;-)
    – user2478
    Commented Jan 17, 2014 at 17:36
  • 2
    @Herbert: I did and I failed :). That is why I'm asking whether there is a trick to "temporarily leave" the equation environment to achieve the same.
    – bluenote10
    Commented Jan 17, 2014 at 19:36
7

Whenever you want to choose to have a small-sized equation in math mode, I would suggest the following

\documentclass[11pt]{article}    
\usepackage{amsmath, amsthm, amssymb}    
\begin{document}    
\[ 3+3=\text{\footnotesize{\(x^2-13 =\)} \tiny{\( y^3-26 \)} } \]    
\end{document}

Just be careful with parenthesis and spacing!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .