beamer icon indicating copy to clipboard operation
beamer copied to clipboard

[Documentation] Strange math input

Open dbitouze opened this issue 6 years ago • 7 comments

In beamerthemeexamplebase.tex, math formula "q + 1" is typeset with the strange input $q$\;+\,$1$. Why not simply $q+1$?

\documentclass{standalone}
\usepackage{mathtools}
\usepackage{amssymb}
\begin{document}
$q$\;+\,$1$

$q+1$
\end{document}

test

dbitouze avatar Jan 27 '19 11:01 dbitouze

Guess this has something to do with #375.

louisstuart96 avatar Jan 27 '19 14:01 louisstuart96

Actually, the rationale is stated in beamerthemeexamplebase.tex:

The strange way of typesetting math is to minimize font usage in order to keep the file sizes of the examples small.

SFr682k avatar Apr 28 '19 00:04 SFr682k

@SFr682k Indeed. But, @josephwright, is is still worth nowadays?

dbitouze avatar Apr 28 '19 09:04 dbitouze

There's nothing actually wrong with it: I'm minded to leave alone

josephwright avatar Apr 28 '19 09:04 josephwright

There's nothing actually wrong with it: I'm minded to leave alone

As shown by the screenshot, the spaces aren't the same with $q$\;+\,$1$ and with $q+1$.

dbitouze avatar Apr 28 '19 12:04 dbitouze

As shown by the screenshot, the spaces aren't the same with $q$\;+\,$1$ and with $q+1$.

The correct glues will be $q$\:+\:$1$.

louisstuart96 avatar May 08 '19 19:05 louisstuart96

This is ugly!

NMarkgraf avatar May 09 '19 07:05 NMarkgraf