Last active
February 7, 2021 03:39
-
-
Save bguiz/3bfb27bee138949a78eb7f38da6d0dc5 to your computer and use it in GitHub Desktop.
tex-overlay-text-on-graphics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage[papersize={200mm,200mm},margin=0mm]{geometry} | |
\usepackage{tikz} | |
\usetikzlibrary{calc} | |
\parindent=0pt | |
\begin{document} | |
\begin{tikzpicture} | |
\draw node[inner sep=0] at (0mm,0mm) { | |
\includegraphics[width=200mm]{graph-paper.png} | |
}; | |
\draw node[text width=80mm] at (0mm,20mm) { | |
page 5 line 1 | |
}; | |
\draw node[text width=80mm] at (20mm,0mm) { | |
page 5 line 2 | |
}; | |
\end{tikzpicture} | |
\begin{tikzpicture} | |
\draw node[inner sep=0] at (0mm,0mm) { | |
\includegraphics[width=200mm]{graph-paper.png} | |
}; | |
\draw node[text width=80mm, anchor=north west] at (130mm,120mm) { | |
page 6 line 1 | |
}; | |
\draw node[text width=80mm] at (30mm,50mm) { | |
page 6 line 2 | |
}; | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment