I am trying to concentrate often used options for a tikzpicture under a tikzset command in the preamble, to share among different pictures. My MWE is:
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta} % \tikzset{every picture/.append style{line cap=round, line width=1.5pt, {-Latex[round]}}} \begin{document} \begin{tikzpicture} [line cap=round, line width=1.5pt, {-Latex[round]}] \draw [blue](0, 0) -- (0.5, 1); \draw [red] (0, 0) -- (1, 0.25); \end{tikzpicture} \end{document} The file compiles well as is, but does not if I comment out the options after \begin{tikzpicture} and uncomment the line with tikzset in the preamble.
How can I get the tikzset command to work so that I may, dispense with the options after \begin{tikzpicture}
line capandline widthare not recognized and are default. I want an invocation that can set all three in one go. Is that at all possible?