[Tex/LaTex] How to generate a smaller \sim with respect to text fontsizerelation-symbolssymbols When I use \sim I get: Is there a way to make the \sim sign smaller with respect to the text? I looked online but did not find what I was looking for. Thanks. Best Answer With \mathpalette trickery we can choose the smaller size. \documentclass{article} \newcommand{\smallsim}{\smallsym{\mathrel}{\sim}} \makeatletter \newcommand{\smallsym}[2]{#1{\mathpalette\make@small@sym{#2}}} \newcommand{\make@small@sym}[2]{% \vcenter{\hbox{$\m@th\downgrade@style#1#2$}}% } \newcommand{\downgrade@style}[1]{% \ifx#1\displaystyle\scriptstyle\else \ifx#1\textstyle\scriptstyle\else \scriptscriptstyle \fi\fi } \makeatother \begin{document} exchange $\sim 60\%$ and $\sim 15\%$ exchange $\smallsim 60\%$ and $\smallsim 15\%$ \end{document} I defined a generic \smallsym command in case you need other symbols to be made smaller in a similar way. For instance, with \newcommand{\smallcirc}{\smallsym{\mathbin}{\circ}} you get from the input $f\circ g$ $f\smallcirc g$ Related Solutions[Tex/LaTex] Need a smaller size for \sum Or alternatively you could use the following: $\textstyle \sum$ [Tex/LaTex] Display \vdash like \models You can define a \model command which has the same structure of \models: \DeclareRobustCommand\model{\mathrel{|}\joinrel\mkern-.5mu\mathrel{-}} MWE: \documentclass{article} \DeclareRobustCommand\model{\mathrel{|}\joinrel\mkern-.5mu\mathrel{-}} \begin{document} \[\models\model\] \end{document} P.S. The definition of \models in fontmath.ltx is \DeclareRobustCommand\models{\mathrel{|}\joinrel\mathrel{=}} Related Question[Tex/LaTex] Making text smaller in one block in tikzposterDefine the height of text in cm
Best Answer
With
\mathpalette
trickery we can choose the smaller size.I defined a generic
\smallsym
command in case you need other symbols to be made smaller in a similar way. For instance, withyou get
from the input