Follow

LaTeX in practice 

\begin{center}
$x = y +z$
\end{center}

Bad author. Bad.

· · Web · 1 · 0 · 3

LaTeX in practice 

@bremner Now I'm curious whether the badness was redefining center in a way that broke center environments, or trying to center things in a documentstyle that somehow didn't allow the center environment.

LaTeX in practice 

@11011110 the badness is not using equation* or some other display math environment

LaTeX in practice 

@11011110 the main visual effects are compressed 2d layout, extra surrounding whitespace and bad page breaks

LaTeX in practice 

@bremner Using the center environment for displayed equations is clearly the wrong thing to do (especially in styles where the usual math display environments are not centered). The more common mistake there is using double-dollar instead of backslash-square-brackets, also wrong for spacing reasons. And for figures, \centering is better than the center environment, again because of spacing. But I do use center all the time in talk slides.

Sign in to participate in the conversation
Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!