5

I have a rather long document with plenty of maths and equations. As the equations are quite long I have chosen to use 8pt for equations in the display mode instead of the 10pt normal size.

\DeclareMathSizes{10}{8}{6}{6} globally changes all equations in math mode to 8pt font.

Is there a way to stick with 10pt in textstyle equations?, i.e. is it possible to differentiate between displaystyle and textstyle?

Help is much appreciated!

5
  • 1
    Welcome to TeX.sx! We typically do not include greetings but use upvoting of answers as a "Thanks". Commented Jan 16, 2013 at 21:51
  • i think you mean "display and text environments"; "displaystyle" can be used (for example) to get a "full size" fraction in text, and vice versa. i'd take a look at \everydisplay for a means of determining the context. Commented Jan 16, 2013 at 22:24
  • Barbara, you are right. Is there a way to add a specific definition of sizes to \everydisplay? scriptstyle is to small whereas the normal style is to large.... is there a way to define sizes of a formula locally?
    – Daniel
    Commented Jan 16, 2013 at 22:54
  • since i'm not intimately familiar with these inner workings, i will take some digging. that's why i just left a suggestion. if no one else comes forward, i'll dig when i have some time. Commented Jan 16, 2013 at 23:30
  • May be I should formulate the question in another way: How can specific sizes for normal math text, superscripts, subscripts etc... be chosen for only single equations?
    – Daniel
    Commented Jan 17, 2013 at 23:07

1 Answer 1

1

I'm not clear exactly what your question is but you ask in comments of it is possible to locally affect the size of formulae. The standard LaTeX font commands affect math as well as text so you can do this:

enter image description here

\documentclass{article}
\usepackage{amsmath}

\begin{document}

xxx $a=b$ yyy

zzz zzz zzz zzz zzz zzz 
\[a=b\]
yy yy yy yy yy yy yy yy 

zzz zzz zzz zzz zzz zzz 
{\small\[a=b\]}%
yy yy yy yy yy yy yy yy 

\end{document}

You must log in to answer this question.

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