TransWikia.com

Footnote is creating a page break

TeX - LaTeX Asked by Diana on December 23, 2020

I’m using beamer and used footnote, however it would introduce a page break, note that change the size of my beamer didn’t help.

 documentclass[aspectratio=169,xcolor=table]{beamer}
 begin{document}
 begin{frame}{Header}
begin{itemize}
item Solve $x^2y''-2xy'+2y=2x^3textrm{e}^x$ 
begin{itemize}
item $y_1=x^2, y_2=x, r(x)=2xtextrm{e}^x$
item Wfootnote{ $y_p=-y_1int dfrac{y_2r(x)}{W}, dx+ y_2 ontdfrac{y_1r(x)}{W}$} 
end{itemize}
end{itemize}
end{frame}
 end{document}

2 Answers

Some suggestions/observations:

  • Use inline-fraction notation in the footnote instead of dfrac or frac

  • Use mathsf{e} rather than mathrm{e} to denote exp(1)

  • Write the material in the first level-2 item as three separate formulas

As a (welcome) side-effect of these changes, the spurious page break will disappear on its own.

enter image description here ... enter image description here

documentclass[aspectratio=169,xcolor=table]{beamer}
begin{document}
begin{frame}{Header}
begin{itemize}
item Solve $x^2y''-2xy'+2y=2x^3mathsf{e}^x$ 
begin{itemize}
item $y_1=x^2$, $y_2=x$, $r(x)=2xmathsf{e}^x$
item Wfootnote{$y_p=-y_1int! y_2r(x)/W, dx+ y_2 ont, y_1r(x)/W$} 
end{itemize}
end{itemize}
end{frame}
end{document}

Correct answer by Mico on December 23, 2020

The size of the equation is too big, it flows out of the footnote area and causes a new page to be generated.

The easiest way to fix this is to use frac instead of dfrac

MWE:

 documentclass[]{beamer}
 
 begin{document}

begin{frame}{Header}

begin{itemize}
item Solve $x^2y''-2xy'+2y=2x^3textrm{e}^x$ 
begin{itemize}
item $y_1=x^2, y_2=x, r(x)=2xtextrm{e}^x$
item Wfootnote{$y_p=-y_1int frac{y_2r(x)}{W}, dx+ y_2 ontfrac{y_1r(x)}{W}$} 
end{itemize}
end{itemize}
end{frame}

 end{document}

Answered by Elad Den on December 23, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP