Positioning textblock in LaTeX Beamer


Positioning textblock in LaTeX Beamer using textpos package and eso pic package

There are times that we wanted to position an equation on the top right of the slide in beamer. The easiest way to do it is to use two packages: textpos and eso-pic. textpos package positions the textblock, while eso-pic sets up a grid system on the slides.

We include the two packages with options.


To position a textblock, use the options \begin{textblock}{WIDTH}(XCOORDINATE,YCOORDINATE). Here is an example.

    \mathbf {H} = \frac{1}{2}\left( - \omega_{\mathrm{m}} + {\color{red}\delta \lambda(x)} \cos 2\theta_{\mathrm{m}} \right) \sigma_3 - \frac{  {\color{red}\delta \lambda(x)}  }{2} \sin \theta_{\mathrm{m}} \sigma_1

Published: by ;

Lei Ma (2017). 'Positioning textblock in LaTeX Beamer', Datumorphism, 01 April. Available at: https://datumorphism.leima.is/til/programming/latex-beamer-textblock-position/.

Current Ref:

  • til/programming/latex-beamer-textblock-position.md