Text Formatting! LaTeX Error: There's no line here to end (using Beamer)

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
m9819515
Posts: 2
Joined: Mon Feb 21, 2011 1:18 pm

! LaTeX Error: There's no line here to end (using Beamer)

Post by m9819515 »

Hi,

I don't seem to be able to find the error when building this frame in Beamer. :oops:

Thanks,

Lode

PS: tips on how to elegantly structure frames in Beamer are welcome

Code: Select all

\begin{frame}{The traditional view: quantitative evidence}
Based on a time series of post war economic policies in 12 European countries \cite{Hibbs:1977} finds that:
\begin{itemize}
\item left-wing parties in power have driven unemployment down and inflation up 
\item Right-wing governments have driven unemployment up and inflation down.
\end{itemize}
\\ 
\cite{Beck:1982} provides further empirical evidence on the traditional view
\par\bigskip\noindent
\pause
\large {Conclusion: parties prefer policies in line with objective economic interests and the preferences of their political constituencies}
\end{frame} 
and

Code: Select all

\bibitem[Hibbs, 1977]{Hibbs:1977}
Hibbs, Douglas
\newblock Political Parties and Macroeconomic Policy,
\newblock \emph{American Political Science Review}, 1977
\bibitem[Beck, 1982]{Beck:1982}
Beck, Nathaniel
\newblock Parties, Administrations and American Macroeconomic Outcomes,
\newblock \emph{American Political Science Review}, 1982

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

! LaTeX Error: There's no line here to end (using Beamer)

Post by 5gon12eder »

You can't use a \\ after an \end{itemize} because "there is no line to end". Use \vspace{5.0mm}, if you want additional space.
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
Post Reply