<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%#! lualatex
\documentclass[a4paper,14Q]{ltjsarticle}
\usepackage[textwidth=43\zw, lines=42, footskip=2\zh, verbose]{geometry}
\usepackage{listings,amsmath,booktabs,lltjext,bxghost}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
\usepackage[match]{luatexja-fontspec}
\usepackage[haranoaji]{luatexja-preset}
\setmonojfont{HaranoAjiGothic-Regular}
\normalsize
\def\emph#1{\textbf{\textgt{\mathversion{bold}#1}}}
\def\headfont{\normalfont\bfseries\gtfamily}
\def\pTeX{p\kern-.05em\TeX}
\def\cs#1{\text{\eghostguarded{\texttt{\char`\\#1}}}}
\protected\def\Pkg#1{\textsf{#1}}
\protected\def\&gt;{\hskip\ltjgetparameter{xkanjiskip}}
\lstset{
  basicstyle=\ttfamily, basewidth=0.5em,
}
\makeatletter\let\SX@Info=\relax\makeatother
\fboxsep=0mm

\usepackage{hyperref,bookmark,xcolor}
\hypersetup{%
	unicode,
	colorlinks,
	allbordercolors=1 1 1,
	allcolors=blue,
	pdftitle={lltjp-geometryãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}
}

\def\LuaTeX{Lua\TeX}
\definecolor{blue}{rgb}{0, 0.25, 1}

\title{\Pkg{lltjp-geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}
\author{\LuaTeX-jaãƒ—ãƒ­ã‚¸ã‚§ã‚¯ãƒˆ\null%
  \thanks{\url{https://github.com/luatexja/luatexja/}}}
\begin{document}
\maketitle

ãƒšãƒ¼ã‚¸ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã®è¨­å®šã¨ã—ã¦ï¼Œ\href{http://www.ctan.org/pkg/geometry}%
{\Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸}ãŒæœ‰åã§ã‚ã‚‹ãŒï¼Œ
ã“ã‚Œã¯p\LaTeXãƒ»\LuaTeX-jaã®ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã§ã¯åˆ©ç”¨ãŒä¸å¯èƒ½ã¨ã„ã†å•é¡ŒãŒã‚ã£ãŸï¼Ž
æœ¬æ–‡æ›¸ã§è§£èª¬ã™ã‚‹\Pkg{lltjp-geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯ï¼Œ\Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’
ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã«å¯¾å¿œã•ã›ã‚‹ãƒ‘ãƒƒãƒã§ã‚ã‚‹ï¼Ž


\section{åˆ©ç”¨æ–¹æ³•}
\Pkg{lltjp-geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯ï¼Œ\LuaTeX-jaã«æ¨™æº–ã§å«ã¾ã‚Œã¦ã„ã‚‹ï¼Ž
æœ¬ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®å‹•ä½œã«ã¯\href{http://www.ctan.org/pkg/ifluatex}{\Pkg{ifluatex}},
\href{https://www.ctan.org/pkg/etoolbox}{\Pkg{etoolbox}}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãŒå¿…è¦ã§ã‚ã‚‹ï¼Ž
ã¾ãŸï¼Œ\LaTeXe~2020\nobreakdash-02\nobreakdash-02ä»¥å‰ã§ã¯\href{http://www.ctan.org/pkg/filehook}{\Pkg{filehook}}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚‚å¿…è¦ã§ã‚ã‚‹ï¼Ž

\LuaTeX-jaã§ã¯ï¼Œè‡ªå‹•çš„ã«\Pkg{lltjp-geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãŒèª­ã¿è¾¼ã¾ã‚Œã‚‹ï¼Ž
ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã‹å¦ã‹ã®è‡ªå‹•åˆ¤å®šï¼ˆ\ref{ssec:auto}ç¯€ï¼‰ã‚’ä¸Šæ›¸ãã—ãŸã„å&nbsp;´åˆã¯ï¼Œ
\begin{lstlisting}
% \PassOptionsToPackage{force}{lltjp-geometry} % å¼·åˆ¶çš„ã«æœ‰åŠ¹
\PassOptionsToPackage{disable}{lltjp-geometry} % å¼·åˆ¶çš„ã«ç„¡åŠ¹
\documentclass{...}
\usepackage[...]{geometry}
\end{lstlisting}
ã®ã‚ˆã†ã«\emph{\Pkg{luatexja}ã®èª­ã¿è¾¼ã¿å‰}ã«\cs{PassOptionsToPackage}ã§
æœ¬ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã«æ¸¡ã™ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’æŒ‡å®šã™ã‚‹ï¼ˆ\cs{usepackage\{lltjp-geometry\}}\&gt;ã‚’è¡Œã£ã¦ã‚‚æ„å‘³ãŒãªã„ï¼‰ï¼Ž

\pTeX ç³»åˆ—ã§ã¯ï¼Œ\Pkg{tarticle}, \Pkg{tbook}, \Pkg{treport}ã¨ã„ã£ãŸ
\emph{ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã‚’ä½¿ã†å&nbsp;´åˆ}ã«ï¼Œ
\begin{lstlisting}
\usepackage[...]{lltjp-geometry}
\usepackage[...]{geometry}
\end{lstlisting}
ã¨ï¼Œ\Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®\emph{å‰}ã«èª­ã¿è¾¼ã‚€ï¼Ž

\subsection{ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã‹å¦ã‹ã®åˆ¤å®š}
\label{ssec:auto}
æœ¬ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯ï¼Œä»¥ä¸‹ã®ã„ãšã‚Œã‹ãŒè©²å½“ã™ã‚‹å&nbsp;´åˆã«ã€Œç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ã¯ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã€ã¨è‡ªå‹•åˆ¤å®šã—ï¼Œ
\Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸èª­ã¿è¾¼ã¿ç›´å¾Œã«ãƒ‘ãƒƒãƒã‚’å½“ã¦ã‚‹ï¼š
\begin{enumerate}
  \item \Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’èª­ã¿è¾¼ã‚€éš›ã«ï¼Œç¾åœ¨ã®çµ„æ–¹å‘ãŒç¸¦çµ„ã«ãªã£ã¦ã„ã‚‹ï¼Ž
  \item \cs{AtBeginDocument}ã«ã‚ˆã‚Š
  \footnote{\LaTeXe~2020-10-01ä»¥é™ã§ã¯ãã‚Œã¨åŒç¾©ãª\&gt;\cs{AddToHook\{begindocument\}}\&gt;ã‚‚å«ã‚€ï¼Ž}æŒ‡å®šã•ã‚Œã‚‹ï¼Œ
  \cs{begin\{document\}}\&gt;æ™‚ã«å®Ÿè¡Œã•ã‚Œã‚‹å†…å®¹ã«\cs{tate}ï¼ˆã¨ã„ã†ãƒˆãƒ¼ã‚¯ãƒ³ï¼‰ãŒå«ã¾ã‚Œã¦ã„ã‚‹ï¼Ž
  \item æœ¬ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’èª­ã¿è¾¼ã‚€éš›ã«\texttt{force}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•ã‚Œã¦ã„ã‚‹ï¼Ž
\end{enumerate}

\LuaTeX-jaã§ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã‚’åˆ©ç”¨ã™ã‚‹å&nbsp;´åˆã¯ä¸»ã«1.ã®ï¼Œ
\pTeX ç³»åˆ—ã§ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã‚’åˆ©ç”¨ã™ã‚‹å&nbsp;´åˆã¯ä¸»ã«2.ã®çŠ¶æ³ã¨ãªã‚‹
\footnote{%
  æ¨™æº–ç¸¦çµ„ã‚¯ãƒ©ã‚¹ã§ã¯ï¼Œ\cs{begin\{document\}}\&gt;ã®å†…éƒ¨ã§çµ„æ–¹å‘ã‚’ç¸¦çµ„ã«å¤‰æ›´ã™ã‚‹ï¼Ž
}ï¼Ž

ä¸Šè¨˜ã®è‡ªå‹•åˆ¤å®šãŒã†ã¾ãè¡Œã‹ãªã‹ã£ãŸã¨ãã«å‚™ãˆï¼Œ
æœ¬ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã«ã¯\texttt{force}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¨\texttt{disable}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ç”¨æ„ã—ãŸï¼Ž
\begin{itemize}
  \item \texttt{force}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•ã‚Œã¦ã„ã‚‹å&nbsp;´åˆã¯ï¼Œè‡ªå‹•åˆ¤å®šã®çµæžœã«é–¢ã‚ã‚‰ãš
  \Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸èª­ã¿è¾¼ã¿ç›´å¾Œã«ãƒ‘ãƒƒãƒã‚’å½“ã¦ã‚‹ï¼Ž
  \item \texttt{disable}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•ã‚Œã¦ã„ã‚‹å&nbsp;´åˆã¯ï¼Œè‡ªå‹•åˆ¤å®šã®çµæžœã«é–¢ã‚ã‚‰ãš
  ä½•ã‚‚ã—ãªã„ï¼Ž
\end{itemize}

\section{\Pkg{lltjp-geometry}ä½¿ç”¨æ™‚ã®æ³¨æ„äº‹é&nbsp;…}

\subsection{\texttt{twoside}æŒ‡å®šæ™‚}
ç¸¦çµ„ã®æœ¬ã¯é€šå¸¸å³ç¶´ã˜ã§ã‚ã‚‹ï¼Žã“ã‚Œã‚’åæ˜&nbsp;ã—ï¼Œ
\texttt{twoside}ã‚ªãƒ—ã‚·ãƒ§ãƒ³æŒ‡å®šæ™‚ã«ã¯
\begin{itemize}
\item \texttt{left}, \texttt{lmargin}ã¯å°å£å´ã®ä½™ç™½ï¼Œ
\texttt{right}, \texttt{rmargin}ã¯ãƒŽãƒ‰å´ã®ä½™ç™½ã‚’æŒ‡ã™ï¼Ž
\item å·¦å³ä½™ç™½æ¯” \texttt{hmarginratio}ã®æ¨™æº–å€¤ã¯$3:2$ã«å¤‰æ›´ï¼Ž
\item \texttt{bindingoffset}ã¯\emph{å³å´}ã«ä½™ç™½ã‚’ç¢ºä¿ã™ã‚‹ï¼Ž
\end{itemize}
ã¨å¤‰æ›´ã—ã¦ã„ã‚‹ï¼Ž

\subsection{widthã¨height}
\cs{textwidth}ãŒå­—é€ã‚Šæ–¹å‘ã®é•·ã•ï¼ˆç¸¦ï¼‰ã‚’è¡¨ã™ã®ã¨åŒæ§˜ã«ï¼Œ
\texttt{width}, \texttt{totalwidth}, \texttt{textwidth}ã‚­ãƒ¼ã®å€¤ã‚‚å­—é€ã‚Šæ–¹å‘ã‚’ï¼Œã¾ãŸ
\texttt{height}, \texttt{totalheight}, \texttt{textheight}ã‚­ãƒ¼ã®å€¤ã‚‚è¡Œé€ã‚Šæ–¹å‘ï¼ˆæ¨ªï¼‰ã‚’è¡¨ã™ã‚ˆã†ã«ãªã£ã¦ã„ã‚‹ï¼Ž

ã—ã‹ã—ï¼Œ\emph{ç”¨ç´™ã‚µã‚¤ã‚ºã«ã¤ã„ã¦ã¯ä¾‹å¤–}ã§ã‚ã‚Šï¼Œç‰©ç†çš„ãªæ„å‘³ã§ã®å¹…ãƒ»é«˜ã•ã‚’è¡¨ã™ï¼Ž
\texttt{paperwidth}, \texttt{layoutwidth}ã¯ãã‚Œãžã‚Œç´™ã®æ¨ªå¹…ï¼Œãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã®æ¨ªå¹…ã‚’ï¼Œ
\texttt{paperheight}, \texttt{layoutheight}ã¯ãã‚Œãžã‚Œç´™ã®é«˜ã•ï¼Œãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã®é«˜ã•ã‚’è¡¨ã—ã¦ã„ã‚‹ï¼Ž



\subsection{å‚æ³¨}
ç¸¦çµ„ã®å&nbsp;´åˆï¼Œå‚æ³¨ã¯æœ¬æ–‡ã®ä¸Šä¸‹ã«é…ç½®ã•ã‚Œã‚‹\footnote{%
  äºŒæ®µçµ„ã®å&nbsp;´åˆã¯ä¸Šä¸‹å…±ã«ï¼Œä¸€æ®µçµ„ã®å&nbsp;´åˆã¯æ¨™æº–ã§ã¯ä¸‹å´ã&nbsp;ãŒï¼Œ
  \texttt{reversemp}ãŒæŒ‡å®šã•ã‚ŒãŸã¨ãã«ã¯ä¸Šå´ã«é…ç½®ã•ã‚Œã‚‹ï¼Ž
}ï¼Žã“ã‚Œã«ã‚ˆã‚Šï¼Œ\emph{\texttt{includemp}ï¼ˆã‚„ \texttt{includeall}ï¼‰ãŒ
æœªæŒ‡å®šã®å&nbsp;´åˆï¼Œå‚æ³¨ã¯ãƒ˜ãƒƒãƒ€ã‚„ãƒ•ãƒƒã‚¿ã«é‡ãªã‚‹}ï¼Ž
\texttt{includemp}æŒ‡å®šæ™‚ã¯ï¼Œ\cs{footskip}, \cs{headsep}ã®ã„ãšã‚Œã‹
ï¼ˆäºŒæ®µçµ„ã®å&nbsp;´åˆã¯ä¸¡æ–¹ï¼‰ã‚’$\cs{marginparwidth} + \cs{marginparsep}$ã&nbsp;ã‘
å¢—åŠ&nbsp;ã•ã›ã‚‹ï¼Ž

\section{\texttt{lines}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã«é–¢ã™ã‚‹æ³¨æ„äº‹é&nbsp;…}
æœ¬ç¯€ã®å†…å®¹ã¯ï¼Œ\Pkg{lltjp-geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’èª­ã¿è¾¼ã¾ãªã„å&nbsp;´åˆï¼Œ
ã¤ã¾ã‚Šï¼Œæ¨ªçµ„ã‚¯ãƒ©ã‚¹ã§\Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’æ™®é€šã«ä½¿ç”¨ã—ãŸå&nbsp;´åˆã«ã‚‚
å½“ã¦ã¯ã¾ã‚‹æ³¨æ„äº‹é&nbsp;…ã§ã‚ã‚‹ï¼Ž

% \subsection{\Pkg{fontspec}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¨ã®å¹²æ¸‰}
% \Pkg{fontspec}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®ï¼Œèª­ã¿è¾¼ã¿ç›´å¾Œã«
% \Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’ç”¨ã„ã¦ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã‚’è¨­å®šã™ã‚‹ã¨ï¼Œ
% \texttt{lines}ã«ã‚ˆã‚‹æŒ‡å®šãŒæ­£ã—ãåƒã‹ãªã„ã¨ã„ã†ç—‡çŠ¶ãŒç”Ÿã˜ã‚‹ï¼š
% \begin{lstlisting}
% \documentclass{article}
% \usepackage{geometry}
% \usepackage{fontspec}
% \geometry{lines=20}
% \begin{document}
% hoge\typeout{\the\topskip, \the\baselineskip, \the\textheight}
% \end{document}
% \end{lstlisting}
% \cs{typeout}ã§\cs{topskip}, \cs{baselineskip}, \cs{textheight}ã®å€¤ã‚’èª¿ã¹ã‚‹ã¨
% \[
%  \frac{\cs{textheight} - \cs{topskip}}{\cs{baselineskip}} = 15.8\dot 3
% \]
% ã¨ãªã‚‹ã“ã¨ãŒã‚ã‹ã‚‹ã‹ã‚‰ï¼Œ1ãƒšãƒ¼ã‚¸ã«ã¯16è¡Œåˆ†å…¥ã‚‰ãªã„ã“ã¨ãŒã‚ã‹ã‚‹ï¼Ž

% ã“ã‚Œã¯ï¼Œ\Pkg{fontspec}ã®èª­ã¿è¾¼ã¿ã«ã‚ˆã£ã¦\cs{baselineskip}ãŒãªãœã‹
% 10\,ptã«å¤‰ãˆã‚‰ã‚Œã¦ã—ã¾ã„ï¼Œ\cs{geometry}å‘½ä»¤ã¯ãã®å€¤ã«å¾“ã£ã¦æœ¬æ–‡é&nbsp;˜åŸŸã®é«˜ã•ã‚’è¨ˆç®—ã™ã‚‹ãŸã‚ã§
% ã‚ã‚‹ï¼Žã¨ã‚Šã‚ãˆãšã®å¯¾ç­–ã¯ï¼Œ
% \cs{normalsize}ã«ã‚ˆã£ã¦\cs{baselineskip}ã‚’æ­£ã—ã„å€¤ã«å†è¨­å®šã—ï¼Œãã®å¾Œ
% ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã‚’è¨­å®šã™ã‚Œã°è‰¯ã„ï¼š
% \begin{lstlisting}
% \usepackage{geometry}
% \usepackage{fontspec}
% \normalsize\geometry{lines=20}
% \end{lstlisting}


\subsection{\cs{maxdepth}ã®èª¿æ•´}
\LaTeX ã§ã¯ï¼Œ
æœ€å¾Œã®è¡Œã®æ·±ã•\rensuji{$d$}ã¨
æœ¬æ–‡é&nbsp;˜åŸŸã®ä¸Šç«¯ã‹ã‚‰æœ€å¾Œã®è¡Œã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã¾ã§ã®è·é›¢\rensuji{$f$}ã«å¯¾ã—ï¼Œ
\[
 \cs{textheight}= f+\max(0, d-\cs{maxdepth})
\]
ãŒæˆã‚Šç«‹ã¤ï¼Ž

\pTeX ç³»åˆ—ã®æ¨™æº–ç¸¦çµ„ã‚¯ãƒ©ã‚¹\Pkg{[u]tarticle}ç­‰ï¼Œ
åŠã³ãã‚Œã‚’\LuaTeX-jaç”¨ã«ç§»æ¤ã—ãŸ\Pkg{ltjtarticle}ç­‰ã§ã¯ï¼Œ
 \cs{topskip}ã¯\emph{æ¨ªçµ„æ™‚ã«ãŠã‘ã‚‹}å…¨è§’ç©ºç™½ã®é«˜ã•7.77588\,pt\footnote{%
  æ¨™æº–ã®\texttt{10pt}ã‚ªãƒ—ã‚·ãƒ§ãƒ³æŒ‡å®šæ™‚ï¼Žä»¥ä¸‹åŒã˜ï¼Ž
  ã¨ã“ã‚ã§ï¼Œã“ã®é‡ã¯å…¬ç§°ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚ºã®10\,ptã‹ï¼Œã‚‚ã—ãã¯
  å…¨è§’ç©ºç™½ã®é«˜ã•ã¨æ·±ã•ã‚’åˆã‚ã›ãŸå€¤ã®9.16446\,ptã®é–“é•ã„ã§ã¯ãªã„ã‹ï¼Œã¨ç­†è€…ã¯è€ƒãˆã¦ã„ã‚‹ï¼Ž
  ãªãŠï¼Œå¥¥æ‘æ™´å½¦æ°ã®\href{https://oku.edu.mie-u.ac.jp/~okumura/jsclasses/}%
  {p\LaTeXe æ–°ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚¯ãƒ©ã‚¹}ã§ã¯å…¬ç§°ãƒã‚¤ãƒ³ãƒˆã‚µã‚¤ã‚º10\,ptã«è¨­å®šã•ã‚Œã¦ã„ã‚‹ï¼Ž
}ã§ã‚ã‚Šï¼Œ\cs{maxdepth}ã¯ãã®åŠåˆ†ã®å€¤ï¼ˆå¾“ã£ã¦3.88794\,ptï¼‰ã§ã‚ã‚‹ï¼Ž

ã„ãã¤ã‹ã®ãƒ•ã‚©ãƒ³ãƒˆã«ã¤ã„ã¦ï¼Œãã®ä¸­ã®æ–‡å­—ã®æ·±ã•ã®æœ€å¤§å€¤ã‚’è¦‹ã¦ã¿ã‚‹ã¨
è¡¨\ref{tab:baseline}ã®ã‚ˆã†ã«ãªã£ã¦ã„ã‚‹ï¼Ž
\begin{table}[tb]
 \layoutfloat[c]{%
 \begin{tabular}&lt;y&gt;{ll}
  \toprule
  \bfseries ãƒ•ã‚©ãƒ³ãƒˆ(10\,pt)&amp;\bfseries æ·±ã•ï¼ˆptå˜ä½ï¼‰\\
  \midrule
  æ¨ªçµ„ç”¨ã®æ¨™æº–å’Œæ–‡ãƒ•ã‚©ãƒ³ãƒˆ(\pTeX)&amp;1.38855\\
  ç¸¦çµ„ç”¨ã®æ¨™æº–å’Œæ–‡ãƒ•ã‚©ãƒ³ãƒˆ(\pTeX)&amp;4.58221\\
  \midrule
  Computer Modern Roman 10\,pt&amp;2.5\\
  Computer Modern Sans Serif 10\,pt&amp;2.5\\
  Times Roman (\texttt{ptmr8t})&amp;2.16492\\
  Helvetica Bold Oblique (\texttt{phvbo8t})&amp;2.22491\\
  Palatino (\texttt{pplr8t})&amp;2.75989\\
  \bottomrule
 \end{tabular}}
 \pcaption{ã„ãã¤ã‹ã®ãƒ•ã‚©ãƒ³ãƒˆä¸­ã®ï¼Œæ–‡å­—ã®æ·±ã•ã®æœ€å¤§å€¤
    \label{tab:baseline}}
\end{table}
æ¬§æ–‡ãƒ•ã‚©ãƒ³ãƒˆã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã¯ï¼Œãã®ã¾ã¾ã§ã¯å’Œæ–‡ã¨ã®çµ„ã¿åˆã‚ã›ãŒæ‚ªã„ã®ã§ï¼Œ
ã•ã‚‰ã«$\Pkg{tbaselineshift}=3.41666\,\textrm{pt}$ã&nbsp;ã‘ä¸‹ãŒã‚‹ã“ã¨ã‚’è€ƒãˆã‚‹ã¨ï¼Œ
æœ€å¾Œã®è¡Œã«å’Œæ–‡æ–‡å­—ãŒæ¥ãŸå&nbsp;´åˆã¯ã»ã¼ç¢ºå®Ÿã«æ·±ã•ãŒ\cs{maxdepth}ã‚’è¶…ãˆã¦ã—ã¾ã†ã“ã¨ã«ãªã‚‹ï¼Ž
å¾“ã£ã¦ï¼Œæœ¬æ–‡é&nbsp;˜åŸŸã‚’ã€Œ\rensuji{$n$}è¡Œåˆ†ã€ã¨ã—ã¦æŒ‡å®šã™ã‚‹ã¨ãã«ã‚ˆãä½¿ã‚ã‚Œã‚‹
\begin{equation}
   \cs{textheight} = \cs{topskip} + (n-1)\cs{baselineskip}
 \label{eq:nline}
\end{equation}
ã¯\Pkg{tarticle}ã‚¯ãƒ©ã‚¹ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ã¯é€šç”¨ã—ãªã„ï¼Ž

é€šå¸¸ã®åœ°ã®æ–‡ã®ã¿ã®æ–‡ç«&nbsp;ã«ãŠã„ã¦ã»ã¼ç¢ºå®Ÿã«\eqref{eq:nline}ãŒæˆã‚Šç«‹ã¤ã‚ˆã†ã«ã™ã‚‹ãŸã‚ï¼Œ
\Pkg{lltjp-geometry}ã§ã¯\emph{\texttt{lines}ã‚ªãƒ—ã‚·ãƒ§ãƒ³æŒ‡å®šæ™‚ã®ã¿}\cs{maxdepth}ã®å€¤ãŒ
æœ€ä½Žã§ã‚‚
\begin{quote}
å…¬ç§°ãƒã‚¤ãƒ³ãƒˆã‚µã‚¤ã‚ºã®åŠåˆ†ã«ï¼Œæ¬§æ–‡ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã®ã‚·ãƒ•ãƒˆé‡ã‚’åŠ&nbsp;ãˆãŸå€¤%
\footnote{\Pkg{tarticle}ã®å&nbsp;´åˆã&nbsp;ã¨ï¼Œ
$5\,\textrm{pt} + 3.41666\,\textrm{pt}=8.41666\,\textrm{pt}$ã§ã‚ã‚‹ï¼Ž}
\end{quote}
ã«ãªã‚‹ã‚ˆã†ã«ã—ã¦ã„ã‚‹ï¼Ž\texttt{lines}ã‚ªãƒ—ã‚·ãƒ§ãƒ³éžæŒ‡å®šæ™‚ã«ã¯ã“ã®ã‚ˆã†ãªèª¿æ•´ã¯
è¡Œã‚ã‚Œãªã„ï¼Ž


\subsection{è¦‹ã‹ã‘ä¸Šã®åŸºæœ¬ç‰ˆé¢ã®ä½ç½®}
\LaTeX ã§ã¯ï¼Œ
æœ¬æ–‡ã®ä¸€è¡Œç›®ã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã¯ï¼Œæœ¬æ–‡é&nbsp;˜åŸŸã®ã€Œä¸Šç«¯ã€ã‹ã‚‰
 \cs{topskip}\ ã&nbsp;ã‘ã€Œä¸‹ãŒã£ãŸã€ã¨ã“ã‚ã«æ¥ã‚‹ã“ã¨ã«ãªã£ã¦ã„ã‚‹ï¼Ž
ã‚ã¾ã‚Š\cs{topskip}ãŒå°ã•ã„ã¨ï¼Œãƒ¦ãƒ¼ã‚¶ãŒå¤§ãã„æ–‡å­—ã‚µã‚¤ã‚ºã‚’æŒ‡å®šã—ãŸæ™‚ã«1è¡Œç›®ã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³
ä½ç½®ãŒç‹‚ã†å±é™ºãŒã‚ã‚‹ãŸã‚ï¼Œ
\Pkg{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã§ã¯
\begin{quote}
 \texttt{lines}ã‚ªãƒ—ã‚·ãƒ§ãƒ³æŒ‡å®šæ™‚ã«ã¯ï¼Œ\cs{topskip}ã®å€¤ã‚’æœ€ä½Žã§ã‚‚
 \cs{strutbox}ã®é«˜ã•\\($0.7\cs{baselineskip}$)ã¾ã§å¼•ãä¸Šã’ã‚‹
\end{quote}
ã¨ã„ã†ä»•æ§˜ã«ãªã£ã¦ã„ã‚‹ï¼Ž

ç¸¦çµ„ã®å&nbsp;´åˆã¯ï¼Œ\cs{strutbox}ã«å¯¾å¿œã™ã‚‹ãƒœãƒƒã‚¯ã‚¹ã¯\cs{tstrutbox}ã§ã‚ã‚‹ãŸã‚ï¼Œ
\Pkg{lltjp-geometry}ã§ã¯
\begin{quote}
 \texttt{lines}ã‚ªãƒ—ã‚·ãƒ§ãƒ³æŒ‡å®šæ™‚ã«ã¯ï¼Œ\cs{topskip}ã®å€¤ã‚’æœ€ä½Žã§ã‚‚
 \emph{\cs{tstrutbox}ã®é«˜ã•}\\($\cs{baselineskip}/2$)ã¾ã§å¼•ãä¸Šã’ã‚‹
\end{quote}
ã¨ã„ã†æŒ™å‹•ã«ã—ãŸï¼Žè¦‹ã‹ã‘ä¸Šã¯\cs{topskip}ã®å€¤åˆ¶é™ãŒç·©ããªã£ãŸãŒï¼Œå‰ç¯€ã§è¿°ã¹ãŸã‚ˆã†ã«
æ¬§æ–‡ãƒ•ã‚©ãƒ³ãƒˆã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã¯å’Œæ–‡ã«åˆã†ã‚ˆã†ã«ä¸‹ã«ãšã‚‰ã•ã‚Œã‚‹ã®ã§ï¼Œ
å®Ÿç”¨ä¸Šã¯å•é¡Œã¯èµ·ããªã„ã&nbsp;ã‚ã†ï¼Ž

å‰ç¯€ã®\cs{maxdepth}ã®èª¿æ•´ã‚‚è€ƒãˆåˆã‚ã›ã‚‹ã¨ï¼Œ\emph{\LaTeX ãŒèªè­˜ã™ã‚‹æœ¬æ–‡é&nbsp;˜åŸŸã¨ï¼Œ
å®Ÿéš›ã®è¦‹ãŸç›®ã®åŸºæœ¬ç‰ˆé¢ã®ä½ç½®ã¨ã¯ç•°ãªã‚‹}ã“ã¨ã«æ³¨æ„ã—ã¦ã»ã—ã„ï¼Ž

\medskip
ä¾‹ãˆã°A4ç¸¦ã‚’ç¸¦çµ„ã§ï¼Œå…¬ç§°ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚º10\,ptï¼Œè¡Œé€ã‚Š18\,ptï¼Œ30è¡Œå·¦å³ä¸­å¤®
ã¨ã„ã†ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã«ã™ã‚‹ãŸã‚ï¼Œ
\begin{lstlisting}
\documentclass{tarticle}
\usepackage{lltjp-geometry}
\baselineskip=18pt
\usepackage[a4paper,hcentering,lines=30]{geometry}
\end{lstlisting}
ã¨æŒ‡å®šã™ã‚‹ã¨ï¼Œå®Ÿéš›ã«ã¯ä»¥ä¸‹ã®ã‚ˆã†ã«è¨­å®šã•ã‚Œã‚‹ï¼Ž
\begin{itemize}
 \item\cs{topskip}ã¯\cs{tstrutbox}ã®é«˜ã•8.5\,ptã«è¨­å®šã•ã‚Œã‚‹ï¼Ž
 \item æœ¬æ–‡é&nbsp;˜åŸŸã®ã€Œé«˜ã•ã€\cs{textheight}ã¯
\[
 \cs{topskip}+ (30-1)\cs{baselineskip}= 530.5\,\textrm{pt}.
\]
 \item å¾“ã£ã¦ï¼Œå·¦ä½™ç™½ã¨å³ä½™ç™½ã¯
\[
 \frac{210\,\textrm{mm}-\cs{textheight}}2 = 33.50394\,\textrm{pt}.
\]
\end{itemize}
ã—ã‹ã—ï¼Œå®Ÿéš›ã«ã¯ãƒšãƒ¼ã‚¸ã®æœ€åˆã®è¡Œã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã¯ï¼Œæœ¬æ–‡é&nbsp;˜åŸŸã®å³ç«¯ã‹ã‚‰
\cs{topskip}ã&nbsp;ã‘å·¦ã«ãšã‚ŒãŸã¨ã“ã‚ã«ã‚ã‚Šï¼Œ
ä¸€æ–¹ãƒšãƒ¼ã‚¸ã®æœ€çµ‚è¡Œã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã¯æœ¬æ–‡é&nbsp;˜åŸŸã®å·¦ç«¯ã«ã‚ã‚‹ï¼Ž
ç¸¦çµ„å’Œæ–‡ãƒ•ã‚©ãƒ³ãƒˆã®ãƒ™ãƒ¼ã‚¹ãƒ©ã‚¤ãƒ³ã¯æ–‡å­—ã®å·¦å³ä¸­å¤®ã‚’é€šã‚‹ã“ã¨ã‹ã‚‰ï¼Œ
å¾“ã£ã¦ï¼Œ\emph{è¦‹ãŸç›®ã§è¨€ãˆã°ï¼Œå³ä½™ç™½ã®æ–¹ãŒ\cs{topskip}}~($=8.5\,\textrm{pt}$)%
\emph{ã&nbsp;ã‘å¤§ãã„}ã¨ã„ã†ã“ã¨ã«ãªã£ã¦ã—ã¾ã†\footnote{%
  åŒæ§˜ã«ï¼Œæ¨ªçµ„ã§ \texttt{vcentering}ã‚’æŒ‡å®šã™ã‚‹ã¨ï¼Œè¦‹ã‹ã‘ã§ã¯
  $\cs{topskip}-\cs{Cht}+\cs{Cdp}$ã&nbsp;ã‘ä¸Šä½™ç™½ãŒå¤§ãã„ã‚ˆã†ã«è¦‹ãˆã‚‹ï¼Ž
}ï¼Ž


\end{document}
</pre></body></html>