値の表示には\arabic, \theを使用する。
\documentclass[9pt,a4paper]{jsarticle}
% 値の代入
\newcounter{count}
\setcounter{count}{6}
% length の代入
\newlength{\mylength}
\setlength{\mylength}{1mm}
\begin{document}
\noindent
値の表示 \\
count = \arabic{count} \\
\noindent
length の表示 \\
paperwidth = \the\paperwidth \\
paperheight = \the\paperheight \\
textwidth = \the\textwidth \\
textheight = \the\textheight \\
1mm = \the\mylength \\
\end{document}
表示結果
0 件のコメント:
コメントを投稿