0

When I use a small font (\fontsize{7pt}{8pt}) I get the following badly spaced binomial coefficients.

bad binomials

Notice how the brackets are squashed and the entries look shifted up and down. It looks like this in \fontsize{10pt}{11pt}, which is nicer

good binomials

I want this font and I want the font size. I'm making a Maths revision guide (cheatsheet) and it has to be dense information on an A4 landscape sheet. This is non-negotiable.

What can I do?

MWE:

\documentclass{article}
\usepackage{geometry}
\geometry{a4paper, landscape, margin=6pt}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{amsfonts}
\usepackage[tighter]{newpxtext}

\begin{document}

{\fontsize{7pt}{8pt}\selectfont
  $$(a + bx)^n = a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + \dots
    + \binom{n}{r}a^{n-r}b^r + \dots + b^n$$\par}
\end{document}
3
  • why not \scriptsize (which is the same thing?) Perhaps you would prefer to typeset an over-size 10pt document scaled down by 70%. at small sizes ( are discrete glyphs from the font so do not scale smoothly. Also $$ should not be used in latex, although it makes no difference here Nov 21, 2022 at 9:01
  • If you use newpxtex, for the accompanying math you should load newpxmath. Try and see the difference.
    – egreg
    Nov 21, 2022 at 9:15
  • @egreg unfortunately I don't like the newpxmath math font as much as the one from the newpxtext. Nov 21, 2022 at 18:35

1 Answer 1

1

Especially if you are short of space you may prefer a 10pt setting scaled 70% either the whole document or just the math. Here I scale just the math to show side by side.

enter image description here

\documentclass{article}
\usepackage{geometry}
\geometry{a4paper, landscape, margin=6pt}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{amsfonts,graphicx}
\usepackage[tighter]{newpxtext}

\begin{document}

{\fontsize{7pt}{8pt}\selectfont
  $$(a + bx)^n = a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + \dots
    + \binom{n}{r}a^{n-r}b^r + \dots + b^n$$\par}

{\scriptsize
  $$(a + bx)^n = a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + \dots
    + \binom{n}{r}a^{n-r}b^r + \dots + b^n$$\par}

  \begin{center}
\scalebox{0.7}{$\displaystyle(a + bx)^n = a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + \dots
    + \binom{n}{r}a^{n-r}b^r + \dots + b^n$}
 \end{center}


\end{document}

Despite the title, newpx fonts are not involved at all here, you are using computer modern math. Here is the same using px math fonts.

\usepackage[tighter]{newpxtext}
\usepackage{newpxmath}

enter image description here

10
  • (a+b)^n A mistake in the question and in the answer. Nov 21, 2022 at 9:26
  • 1
    @RaffaeleSantoro x=1 ? :-) Nov 21, 2022 at 9:36
  • You are right - never touch a math teacher (i was)! Nov 21, 2022 at 9:45
  • @DavidCarlisle So would I put the entire document in a scalebox? Seems a bit drastic no? Although I have it as A4 for printing, so maybe something like this is the solution. Something that prints ok on A4 but by scaling... Nov 21, 2022 at 18:37
  • @RaffaeleSantoro You're right actually. Good catch. Nov 21, 2022 at 18:39

You must log in to answer this question.

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