Ich benutze Verwendes Bild: PRODPIC-1461.jpg Code: Open in Online-Editor
\documentclass{article} \usepackage{tikz, onimage} \usetikzlibrary{external} \tikzexternalize[prefix=tikz/] \begin{document} \tikzset{every path/.append style={ultra thick, rounded corners}} \tikzsetnextfilename{myfigurename} \begin{tikzonimage} [width=.9\textwidth]{PRODPIC-1461.jpg}[tsx/show help lines]\sffamily \draw[red, rotate around={-15:(0.265,0.3)}] (0.03, 0.15) rectangle node[fill=white,rounded corners, fill opacity=.5, text opacity=1,rotate=-15] {Tastatur} (0.5,0.45); \node[white] at (0.7, 0.8) {Lampe}; \end{tikzonimage} \end{document} |
Die Open in Online-Editor
\documentclass{article} \usepackage{tikz,onimage} \usetikzlibrary{external} \tikzexternalize \begin{document} \tikzset{every path/.append style={ultra thick, rounded corners}} \tikzsetnextfilename{myfigurename} \begin{tikzpicture} \node (picture) { \includegraphics[width=\linewidth]{PRODPIC-1461.jpg} }; \begin{tikzonnode}{picture}[tsx/show help lines]\sffamily \draw[red, rotate around={-15:(0.265,0.3)}] (0.03, 0.15) rectangle node[fill=white,rounded corners, fill opacity=.5, text opacity=1,rotate=-15] {Tastatur} (0.5,0.45); \node[white] at (0.7, 0.8) {Lampe}; \end{tikzonnode} \end{tikzpicture} \end{document} liefert dann bei Aufruf mit beantwortet 01 Mai '15, 19:26 saputello Herrlich, genau das habe ich gesucht. Danke für diesen Tipp!
(14 Feb '16, 11:28)
goeck
|