I want to put 4 diagrams on top of a map, so that the fontsize of the text in the diagram can be the same as in the rest of the text. The entire page is size A4.

Currently, I'm implementing the diagrams as PDF-Exports from separate projects and put them as graphic (scaled) ontop of the map.


\begin{figure} \centering
        every node/.style={anchor=north west,inner sep=0pt},
        x=1mm, y=1mm,
     \node (fig1) at (-10,125)
     \node (fig2) at (45,120)
     \node (fig3) at (20,60)
     \node (fig4) at (75,60)
     \node (fig5) at (60,5)

Current output

Is there a simple way to put all of them in the same project and then putting the figures on top of each other, so that the font size can be the same as in the text?

Thanks in advance!

  • Welcome to TeX.SE!
    – Mensch
    Apr 14, 2022 at 12:09
  • 1
    Is the text embedded in the included PDFs? If so, LaTeX has no control over their size, except the scaling done to the entire included PDF. Of course, you could make them bigger by changing the scale, and have them overlap as much as you want, but I don't see how that isn't going to create other problems. To change just the text size, you'd likely need to go back to your other project and change your export method; see, e.g., here for svgs.
    – frabjous
    Apr 14, 2022 at 12:18
  • While you can't put a tikzpicture inside a tikzpicture, you can position entire scopes relative to each other. You can also create saveboxes and replace \includegraphics with \scalebox{1}{\usebox\foo} (where \foo is the savebox name). Apr 14, 2022 at 14:49
  • I see no reason why you couldn't just put whatever code generated your diagram PDFs directly inside the nodes. You might need to drop the scaling factor, then, and do scaling within the inner code directly. But this should apply all font settings from the outer scope inside! Plus, this is future proof, if you ever want to change font size/style later on.
    – codecepts
    Apr 15, 2022 at 0:21


You must log in to answer this question.

Browse other questions tagged .