tikzpicture within figure caption

Tabellen und Grafiken erstellen und anordnen


thomgraf
Forum-Newbie
Forum-Newbie
Beiträge: 2
Registriert: Di 21. Mai 2013, 11:01

tikzpicture within figure caption

Beitrag von thomgraf »

Has anyone an idea how to use tikzpicture WITHIN a figure caption? What I want is, plot a blue circle withing a figure caption, like:
\begin{figure}[ht]
%...
\caption{CaptionText \begin{tikzpicture} \draw[thick, color=blue, fill=blue] plot[mark=*, mark options={scale=1.3}] (0,0); \end{tikzpicture} CaptionText.}
\end{figure}

Within regular text, this works fine with
RegularText \begin{tikzpicture} \draw[thick, color=blue, fill=blue] plot[mark=*, mark options={scale=1.3}] (0,0); \end{tikzpicture} RegularText

Thank you!

thomgraf
Forum-Newbie
Forum-Newbie
Beiträge: 2
Registriert: Di 21. Mai 2013, 11:01

Beitrag von thomgraf »

solution is
{\protect\tikz \protect\draw[thick, color=blue, fill=blue] plot[mark=*, mark options={scale=1.3}] (0,0);}


Stamm-

Crossposting!

Beitrag von Stamm- »

Wenn Du deine unproduktiven Crosspostings schon in Foren mit unterschiedlichen Sprachen tätigst, dann behalte bitte die Sprache des jeweiligen Forums bei. Auch das Durchlesen der Forenregeln und ein Minimalbeispiel scheint dir ebenfalls fremd zu sein. Weder dein Beispiel noch deine "Lösung" taugen etwas für Leute mit einem ähnlichen Problem, die durch eine Suchmaschine hierher geführt werden.


http://latex-community.org/forum/viewto ... 45&t=23280

Antworten