3

Problem

Given the beamer class.

Can I remove indention globally?

\setlength{\parindent}{0em} didn't work out.

Example

Here's a minimal example:

\documentclass{beamer}
\begin{document}
\begin{frame}
\visible<1->{
Some formula:
$$a^2+b^2=c^2$$}
\visible<2->{
More formulas:
$$z=a+ib=re^{i\phi}$$
Some text.}
\end{frame}
\end{document}

1 Answers1

4

Beware of superfluous empty spaces (a line break in the code tantamount to a blank space); I commented out those spaces below:

\documentclass{beamer}
\begin{document}
\begin{frame}
\visible<1->{%
Some formula:
\[a^2+b^2=c^2\]
}%
\visible<2->{%
More formulas:
\[z=a+ib=re^{i\phi}\]
Some text.}
\end{frame}
\end{document}

enter image description here

By the way, don't use $$...$$ in LaTeX documents; use \[...\] instead; see Why is \[ ... \] preferable to $$ ... $$?.

Gonzalo Medina
  • 505,128