Re: Tikz – poligono con all’interno testo, in posizione precisa

#86318
Up
0
Down
::

teomat” post=86672Una ulteriore domanda: visto che i disegni non devono essere collocati proprio nell’angolo alto dx e alto sx, come faccio a spostare, ad esempio, quello in alto a sx, un po’ più a destra o un po’ più in basso? (Se ho un esempio, credo di poter capire il meccanismo…).

Questi due esempi dovrebbero funzionare: `
\documentclass[a4paper]{article}
%\usepackage{tikz,graphicx}% graphicx è del tutto inutile: lo carica tikz e tikzpagenodes carica tikz perciò carico solo quello e amen
\usepackage{tikzpagenodes}
\usetikzlibrary{calc}
\usepackage{mwe}% for dummy images
\begin{document}
\thispagestyle{empty}
\begin{tikzpicture}[remember picture,overlay]% <= compilare due volte!!! \node[anchor=north west] at ([xshift=1cm,yshift=-1cm]current page.north west) {\includegraphics[width=4cm]{example-image}}; \node[anchor=north east] at ([shift={(-1,-1)}]current page.north east) {\includegraphics[width=4cm]{example-image}}; \node[anchor=south] at (current page.south) {\includegraphics[width=4cm]{example-image}}; \node[anchor=south] at ($(current page.north)!0.75!(current page.center)$) {\includegraphics[width=4cm]{example-image}}; \end{tikzpicture} \end{document} ` Ciao Claudio

Go to top