値の表示には\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}表示結果
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOBMIaIHX_yqcY_dN8tlnUhR4YS3JfCu568r0Pe3rw6abCZx_TR2htYBxLfHq_YklGDLPDqW8Vdj7cmMVAUZtwDzJNMfzp7B63eebRRScR27gxWhlwukmNHqDiyPXmXZF0xiE04vclNimL/s320/tex-04.png)
0 件のコメント:
コメントを投稿