1

I have a lot of figures with a couple of legend entries in each of them. To this end, I am going to create a table where I list all line styles and the associated markers. It is not difficult to create a straight or dashed line (line style) in my table, however, I do not know how to create markers, for instance a filled circle or an empty circle. Of course, one could create tikz pictures for that, but for me it seems that there are much easier approaches.

Any help is appreciated!

Simon
  • 281
  • Actually, a tikzpicture in a savebox is an efficient solution. See also https://tex.stackexchange.com/questions/54794/using-a-pgfplots-style-legend-in-a-plain-old-tikzpicture. – John Kormylo Sep 03 '21 at 21:47

1 Answers1

2

If you want something from TikZ, then use TikZ!

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary[plotmarks]
\begin{document}
This is a plotmark: \tikz{\pgfuseplotmark{*}} \qquad -and another: \tikz{\pgfuseplotmark{diamond}}
\end{document}

Text with two different plotmarks