2011-01-02, 21:08
Mit dem neuen lpic
Paket (TeXLive hat es schon, MikTeX meines Erachtens noch nicht) lassen sich recht einfach Bilder nachträglich beschriften. Hier ein Beispiel:
\documentclass{scrartcl}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[]{lpic}
\author{Uwe Ziegenhagen}
\title{}
\begin{document}
\begin{figure}
\centering
\begin{lpic}[grid,coords(20)]{Arduino}
\lbl[t]{12,40;\textcolor{green}{\small \textbf{USB-Port}}}
\lbl[t]{19,20;\textcolor{green}{\textbf{9--12V}}}
\lbl[t]{55,20;\textcolor{green}{\textbf{ATMega 328}}}
\end{lpic}
\caption{Arduino Duemilanove}
\end{figure}
\end{document} |
\documentclass{scrartcl}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[]{lpic}
\author{Uwe Ziegenhagen}
\title{}
\begin{document}
\begin{figure}
\centering
\begin{lpic}[grid,coords(20)]{Arduino}
\lbl[t]{12,40;\textcolor{green}{\small \textbf{USB-Port}}}
\lbl[t]{19,20;\textcolor{green}{\textbf{9--12V}}}
\lbl[t]{55,20;\textcolor{green}{\textbf{ATMega 328}}}
\end{lpic}
\caption{Arduino Duemilanove}
\end{figure}
\end{document}
Benötigt wird noch die Datei Arduino.pdf
Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined.
Do you like my content and would like to thank me for it? Consider making a small donation to my local fablab, the Dingfabrik Köln. Details on how to donate can be found here Spenden für die Dingfabrik.
More Posts - Website