112

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. Commented Dec 30, 2012 at 18:30

3 Answers 3

117

\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.

2
  • 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
  • Thank you. Unfortunately \scriptstyle changes not only the size, but also the overall style of the mathematical text. Commented Mar 19 at 23:22
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 :-) Commented Dec 30, 2012 at 19:51
  • Can this technique be transferred to environments like equation? Commented Jan 17, 2014 at 16:42
  • @bluenote10: try it ... ;-) 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. Commented Jan 17, 2014 at 19:36
10

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!

1
  • 1
    Good hint indeed! Commented Nov 13, 2024 at 15:55

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.