.png)
この例の TikZ 矢印は、ファイルをコンパイルする方法によって異なって見えるのはなぜですか?
私はUbuntuでTeX Live 2023を使用しています。ソースはtest.tex
次のようになります。
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[line width=.5cm, stealth-, draw=red]
\draw(0,0) -- (1,2);
\node[red] {};
\draw(2,0) -- (3,2);
\end{tikzpicture}
\end{document}
test_dvisvgm.tex
\documentclass[dvisvgm]{standalone}
最初の行にある点を除いて同一です。
test_dvipdfm.tex
\documentclass[dvipdfm]{standalone}
最初の行にある点を除いて同一です。
結果は次のとおりです。
pdflatex test.tex
latex test_dvipdfm.tex && dvipdfm test_dvipdfm.dvi
latex test_dvisvgm.tex && dvisvgm test_dvisvgm.dvi
latex test.tex && dvips test.dvi