Hello,
I have been trying to put a figure at the top-right corner of a page, outside the margin. So I was trying to put the figure in a 'header'. But, I have not been successful yet. I don't see the figure, but I see text there if I put text. Hope I would get some useful tips on it. A sample code would be highly appreciated. Thank you so much.
BR.
Pavel
General ⇒ Put figure in Header in Latex
NEW: TikZ book now 40% off at Amazon.com for a short time.
Put figure in Header in Latex
Hi Pavel,
you could use the textpos package. A little example:
Refer to the package documentation for further information. I used \rule to simulate an actual figure. Of course, you can use the usual \includegraphics command provided by graphicx.
you could use the textpos package. A little example:
Code: Select all
\documentclass{report}
\usepackage[absolute]{textpos}
\usepackage{lipsum}%just to generate some text
\begin{document}
\begin{textblock}{3}(12,1.5)
\rule{1.5cm}{1cm}
\end{textblock}
\lipsum[1-3]
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Put figure in Header in Latex
Thank you so much gmedina. It worked and satisfied my need. Thanks a lot.
BR
Pavel
-------------------------------
BR
Pavel
-------------------------------
gmedina wrote:Hi Pavel,
you could use the textpos package. A little example:Refer to the package documentation for further information. I used \rule to simulate an actual figure. Of course, you can use the usual \includegraphics command provided by graphicx.Code: Select all
\documentclass{report} \usepackage[absolute]{textpos} \usepackage{lipsum}%just to generate some text \begin{document} \begin{textblock}{3}(12,1.5) \rule{1.5cm}{1cm} \end{textblock} \lipsum[1-3] \end{document}