I'm trying to create a business card in LaTeX. Accordingly, I want to use textpos
to absolutely position the various elements.
For some reason, textpos is just not showing anything. What I want is for it to show things, where I put them. Any suggestions for how to fix this?
Before anyone asks, yes, the \includegraphics
command works just fine outside of the textpos
block. There is no difference in textpos
behaviour whether or not I have the M — that is just to sanity check that the margins are as expected (i.e. none)
I'm using MikTeX on Windows.
My LaTeX is below.
\documentclass{beamer}
\usepackage{fontspec}
\usepackage[absolute,showboxes,verbose]{textpos}
\usepackage{geometry}
\geometry{paperwidth=90mm, paperheight=45mm, layoutwidth=90mm, layoutheight=45mm, left=0mm, top=0mm, right=0mm, bottom=0mm}
\usetheme{}
\setbeamertemplate{navigation symbols}{}
\begin{document}
%\fontspec[Ligatures=Rare,Contextuals=Swash,Contextuals=Alternate,StylisticSet=1,Style=TitlingCaps,Style=Alternate,Style=Swash,Contextuals=Swash]{Breathe Pro}\fontsize{12pt}{12pt}\selectfont
\fontspec{Palatino Linotype}\fontsize{12pt}{12pt}\selectfont
M
\begin{textblock*}{49mm}(10mm,10mm)\includegraphics[width=49mm]{tustinlogo01.png}\end{textblock*}
\end{document}
Best Answer
Apparently
textpos
does not play well withbeamer
(see page 8 of thetextpos
documentation). Given what you are doing, it seems unlikely that the particular document class matters: with something likearticle
, this seems to work as expected.