Skip to content

Instantly share code, notes, and snippets.

@fcangialosi
Created April 5, 2021 17:47
Show Gist options
  • Save fcangialosi/61beb0edc6f41fa12e314f82a655e27f to your computer and use it in GitHub Desktop.
Save fcangialosi/61beb0edc6f41fa12e314f82a655e27f to your computer and use it in GitHub Desktop.
add absolute position box to latex document
% before begin{document}
\usepackage[absolute]{textpos}
% after begin{document}
% first arg is width of box
% second arg is (vertical,horizontal) position
\begin{textblock}{13.5}(1,0.25)\fbox{
\begin{minipage}{\dimexpr\textwidth-2\fboxsep-2\fboxrule\relax}
\scriptsize
Text here
\end{minipage}}\end{textblock}
@fcangialosi
Copy link
Author

example usage, top "please use the eurosys reference" box at the top of the first page: https://arxiv.org/abs/2011.01258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment