jsarticle 12ptオプション + TikZ での長さについて

Re: jsarticle 12ptオプション + TikZ での長さについて

- 匿 名 の投稿
返信数: 0
ありがとうございます。
\newlengthを使うことは気づきませんでした。
以下で思い通りの出力が得られました。

\documentclass[12pt]{jsarticle}
\usepackage[dvipdfmx]{graphicx}
\usepackage{tikz}
\newlength{\truecm}
\setlength{\truecm}{1truecm}
\begin{document}
\noindent
\begin{tikzpicture}[x=1\truecm, y=1\truecm]
\draw (0,0) -- (10,0);
\end{tikzpicture}
\end{document}