Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. tikz fill[black] (1ex,1ex) circle (1ex);
  2.  
  3. ! Use of use@pgflibrary doesn't match its definition.
  4. pgfutil@ifnextchar ...1def pgfutil@reserved@a {
  5. #2}def pgfutil@reserved@...
  6. l.375 ...blah blah.}
  7.  
  8. ?
  9.  
  10. documentclass{article}
  11. usepackage{tikz}
  12.  
  13. begin{document}
  14. tikz fill[orange] (1ex,1ex) circle (1ex);
  15. begin{figure}
  16. caption{tikz fill[orange] (1ex,1ex) circle (1ex);}
  17. end{figure}
  18. end{document}
  19.  
  20. caption["Short" caption without tikz code]{Long caption with tikz code}
  21.  
  22. caption{Some caption with tikz code: protecttikz protectfill[black] (1ex,1ex) circle (1ex);}
  23.  
  24. % At best in the preamble:
  25. DeclareRobustCommandmytikzdot{tikz fill[black] (1ex,1ex) circle (1ex);}
  26.  
  27. % later
  28. caption{Some caption with tikz code: mytikzdot}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement