<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%# -*- coding: utf-8 -*-
\ifx\epTeXinputencoding\undefined\else % defined in e-pTeX (&gt; TL2016)
  \epTeXinputencoding utf8    % ensure utf-8 encoding for platex
\fi

% ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ä½œè€… (v1.0--v6.0)ï¼šæ±äº¬éƒ½å¸‚å¤§å­¦ï¼ˆæ—§ç§°ãƒ»æ­¦è”µå·¥æ¥­å¤§å­¦ï¼‰äº•ä¸Šæµ©ä¸€
% ä¿®æ­£ç‰ˆ (v7.0--) ãŠã‚ˆã³æœ¬ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆï¼šå±±ä¸‹å¼˜å±• (Hironobu Yamashita)

\documentclass[a4paper,dvipdfmx]{jsarticle}
\usepackage{doc}
\usepackage{bounddvi}
\GetFileInfo{bounddvi.sty}
\title{Package \textsf{bounddvi} \fileversion}
\author{Koichi Inoue \&amp; Hironobu Yamashita}
\date{\filedate}
\begin{document}

\maketitle

DVIãƒ•ã‚¡ã‚¤ãƒ«ã¯ç”¨ç´™ã‚µã‚¤ã‚ºæƒ…å&nbsp;±ã‚’å«ã¿ã¾ã›ã‚“ãŒã€PostScriptã‚„PDFã¨ã„ã£ãŸ
ç”¨ç´™ã‚µã‚¤ã‚ºã‚’è¦å®šã™ã‚‹ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã¸å¤‰æ›ã™ã‚‹ãƒ—ãƒ­ã‚°ãƒ©ãƒ&nbsp;ï¼ˆ\texttt{dvips}ã‚„
\texttt{dvipdfmx}ï¼‰ã¯ã€\verb+\special+å‘½ä»¤ã«ã‚ˆã£ã¦DVIãƒ•ã‚¡ã‚¤ãƒ«ã«åŸ‹ã‚è¾¼ã¾
ã‚ŒãŸç”¨ç´™ã‚µã‚¤ã‚ºæƒ…å&nbsp;±ã‚’è§£é‡ˆã—ã¾ã™ã€‚
ãŸã¨ãˆã°ã€å¹…100mmã€é«˜ã•200mmã®ç”¨ç´™ã«å‡ºåŠ›ã—ãŸã„å&nbsp;´åˆã¯
\begin{verbatim}
  \special{papersize=100mm,200mm}
\end{verbatim}
ã®ã‚ˆã†ã«æŒ‡å®šã—ã¦ã‚„ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

\textsf{bounddvi}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«ãªã©ãŒæƒ³å®šã—ã¦ã„ã‚‹ç”¨ç´™
ã‚µã‚¤ã‚ºæƒ…å&nbsp;±ï¼ˆ\verb+\paperwidth+, \verb+\paperheight+ï¼‰ã‚’DVIãƒ•ã‚¡ã‚¤ãƒ«ã«
\verb+\special+å‘½ä»¤ã¨ã—ã¦åŸ‹ã‚è¾¼ã‚€ã“ã¨ã§ã€\texttt{dvips}ã‚„
\texttt{dvipdfmx}ã®å‡ºåŠ›ç”¨ç´™ã‚µã‚¤ã‚ºã‚’æŒ‡å®šã™ã‚‹æ©Ÿèƒ½ã‚’æä¾›ã—ã¾ã™ã€‚
\begin{verbatim}
  \documentclass[a4j]{jarticle}
  \usepackage{bounddvi}
  \begin{document}
  â€¦æœ¬æ–‡â€¦
  \end{document}
\end{verbatim}
ã®ã‚ˆã†ã«ä½¿ã„ã¾ã™ã€‚p\LaTeX ã«ãŠã‘ã‚‹æ¨ªçµ„ã¨ç¸¦çµ„ã®ä¸¡æ–¹ã§ä½¿ãˆã€ã¾ãŸ
ç‰ˆé¢æ‹¡å¤§(\verb+\mag+)ãŒä½¿ã‚ã‚ŒãŸå&nbsp;´åˆã«ã‚‚å¯¾å¿œã—ã¦ã„ã¾ã™ï¼ˆè©³ç´°ã¯ä»˜éŒ²
ã‚’å‚ç…§ã—ã¦ãã&nbsp;ã•ã„ï¼‰ã€‚ã¾ãŸã€v7.0ä»¥é™ã€p\LaTeX ã‚«ãƒ¼ãƒãƒ«ã®ãƒˆãƒ³ãƒœ
ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ä½¿ç”¨ã—ãŸå&nbsp;´åˆã«ã‚‚å¯¾å¿œã—ã¦ãŠã‚Šã€p\LaTeX ãŒä»®å®šã—ã¦ã„ã‚‹
ã€Œãƒˆãƒ³ãƒœã®ãƒŽãƒ“(2in)ã‚’å«ã‚ãŸã‚µã‚¤ã‚ºã€ã«è¨­å®šã—ã¾ã™ã€‚

æœ¬ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯v7.0ä»¥é™ã€\textsf{gentombow}ãƒãƒ³ãƒ‰ãƒ«ã®ä¸€éƒ¨ã¨ã—ã¦
é…å¸ƒã•ã‚Œã¦ã„ã¾ã™ï¼š
\begin{verbatim}
  https://github.com/aminophen/gentombow
\end{verbatim}
2017å¹´ã¾ã§ã¯\textsf{platex-tools}ãƒãƒ³ãƒ‰ãƒ«ã®ä¸€éƒ¨ã§ã—ãŸãŒã€
2018å¹´ä»¥é™ã¯ç§»è»¢ã—ã¾ã—ãŸã€‚

\section*{ä»–ã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¨ã®äº’æ›æ€§}

ç”¨ç´™ã‚µã‚¤ã‚ºè¨­å®šæ©Ÿèƒ½ã&nbsp;ã‘ã‚’æä¾›ã™ã‚‹\textsf{bounddvi}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®ã»ã‹ã«ã‚‚ã€
ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æ©Ÿèƒ½ã®ä¸€éƒ¨ã¨ã—ã¦ç”¨ç´™ã‚µã‚¤ã‚ºè¨­å®šã‚’è¡Œã†ã‚‚ã®ãŒã„ãã¤ã‹ã‚ã‚Šã¾ã™ã€‚
\begin{itemize}
\item æ—¥æœ¬èªžç’°å¢ƒã§ã‚ˆãç”¨ã„ã‚‰ã‚Œã‚‹ã€p\LaTeX/up\LaTeX ç”¨ã®ã‚¯ãƒ©ã‚¹ãƒ•ã‚¡ã‚¤ãƒ«
      \textsf{jsclasses}ï¼ˆå¥¥æ‘ã•ã‚“ä½œï¼‰ã®\texttt{papersize}ã‚ªãƒ—ã‚·ãƒ§ãƒ³
      ã¨ã®ä½µç”¨ã¯å•é¡Œã‚ã‚Šã¾ã›ã‚“ï¼ˆãŸã&nbsp;ã—ã€ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ä½¿ç”¨ã™ã‚Œã°ç”¨ç´™
      ã‚µã‚¤ã‚ºè¨­å®šã«ã¯ååˆ†ã§ã™ã‹ã‚‰ã€æœ¬\textsf{bounddvi}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’ä½µç”¨
      ã™ã‚‹ã“ã¨ã«ã‚‚ç‰¹ã«ãƒ¡ãƒªãƒƒãƒˆã¯ã‚ã‚Šã¾ã›ã‚“ï¼‰ã€‚
\item 2016å¹´ä»¥é™ã®\textsf{graphics/graphicx}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚„
      \textsf{color}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã«ã¯ç”¨ç´™ã‚µã‚¤ã‚ºè¨­å®šæ©Ÿèƒ½
      ï¼ˆ\texttt{setpagesize}ã‚ªãƒ—ã‚·ãƒ§ãƒ³ï¼šãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§æœ‰åŠ¹ï¼‰ãŒ
      ã‚ã‚Šã¾ã™ãŒã€ä½µç”¨ã—ã¦ã‚‚å•é¡Œã¯èµ·ããªã„ã§ã—ã‚‡ã†ã€‚
\item \textsf{hyperref}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚‚ä¸Šã¨åŒæ§˜ã§ã€ä½µç”¨ã—ã¦ã‚‚
      å•é¡Œã¯èµ·ããªã„ã§ã—ã‚‡ã†ã€‚
\item \textsf{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¨ä½µç”¨ã™ã‚‹å&nbsp;´åˆã¯ã€
      æœ¬\textsf{bounddvi}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’\emph{å¾Œã‹ã‚‰}èª­ã¿è¾¼ã‚€ã»ã†ãŒ
      å®‰å…¨ã§ã—ã‚‡ã†ã€‚ç‰¹ã«ã€\texttt{dvipdfmx}ã‚’ä½¿ç”¨ã—ã¦å¤‰æ›ã™ã‚‹å&nbsp;´åˆã«
      ãƒˆãƒ³ãƒœã‚’ä»˜ã‘ãŸã„ãªã‚‰ã€\textsf{bounddvi}ã‚’å¾Œã‹ã‚‰èª­ã¿è¾¼ã‚€ã“ã¨ã§
      ã†ã¾ãã„ãå¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ï¼ˆä»˜éŒ²ã‚’å‚ç…§ï¼‰ã€‚
\end{itemize}

\section*{ä»˜éŒ²ï¼šè¤‡æ•°ã®ç”¨ç´™ã‚µã‚¤ã‚ºæŒ‡å®šãŒç™ºè¡Œã•ã‚ŒãŸå&nbsp;´åˆã®æŒ™å‹•}

ä¸€ã¤ã®DVIãƒ•ã‚¡ã‚¤ãƒ«ã«è¤‡æ•°ã®ç”¨ç´™ã‚µã‚¤ã‚ºæŒ‡å®š\verb+\special+å‘½ä»¤ãŒ
åŸ‹ã‚è¾¼ã¾ã‚Œã‚‹å&nbsp;´åˆãŒã‚ã‚Šã¾ã™ã€‚ã“ã®ã†ã¡ã€\texttt{dvipdfmx}ãŠã‚ˆã³
\TeX\ Live 2017ä»¥é™ã®\texttt{dvips}ã§ã¯ã€DVIãƒ•ã‚¡ã‚¤ãƒ«ã®\emph{æœ€å¾Œ}ã«
æŒ‡å®šã•ã‚ŒãŸã‚‚ã®ãŒæœ‰åŠ¹ã«ãªã‚Šã¾ã™\footnote{\TeX\ Live 2016ä»¥å‰ã®
\texttt{dvips}ã§ã¯ã€DVIãƒ•ã‚¡ã‚¤ãƒ«ã®\emph{æœ€åˆ}ã«æŒ‡å®šã•ã‚ŒãŸã‚‚ã®ãŒæœ‰åŠ¹
ã§ã—ãŸãŒã€\TeX\ Live r42420ã§æŒ™å‹•ãŒå¤‰æ›´ã•ã‚Œã¾ã—ãŸã€‚\texttt{-L0}ã‚ªãƒ—
ã‚·ãƒ§ãƒ³ã‚’æŒ‡å®šã™ã‚‹ã¨å¾“æ¥ã®æŒ™å‹•ã«æˆ»ã‚Šã¾ã™ã€‚}ã€‚ãŸã¨ãˆã°\textsf{bounddvi}ã¨
\textsf{geometry}ã‚’ä½µç”¨ã—ãŸã‚½ãƒ¼ã‚¹
\begin{verbatim}
  \documentclass{...}
  \usepackage{bounddvi}
  \usepackage[dvipdfm]{geometry}
\end{verbatim}
ã‚’\textsf{dvipdfmx}ã§PDFã«å¤‰æ›ã™ã‚‹ã¨ã€\textsf{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®
æŒ‡å®šãŒå„ªå…ˆã•ã‚Œã¾ã™ã€‚ã“ã®ã¨ãã€ç”¨ç´™ã‚µã‚¤ã‚ºã®è¨­å®šãŒæ­£ã—ã„ã‹ã©ã†ã‹ã¯
\textsf{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã«ä¾å­˜ã—ã¾ã™ã€‚

\section*{ä»˜éŒ²ï¼š\texttt{\char92mag}ã®æ‰±ã„ã«ã¤ã„ã¦}

æœ¬\textsf{bounddvi}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯ã€æ—¥æœ¬ã§åºƒãä½¿ã‚ã‚Œã¦ã„ã‚‹å¥¥æ‘ã•ã‚“ã®
\textsf{jsclasses}ã‚¯ãƒ©ã‚¹æµã®\verb+\mag+ã®ç”¨æ³•ã‚’ã‚µãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚
ã—ã‹ã—ã€\verb+\mag+ã®ä½¿ã„æ–¹ã¯CTANã«ã‚ã‚‹å¤šæ§˜ãªãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®ä¸­ã§çµ±ä¸€
ã•ã‚Œã¦ãŠã‚‰ãšã€å¤§ããåˆ†ã‘ã¦äºŒé€šã‚Šã®ä½¿ã„æ–¹ãŒã‚ã‚‹ã‚ˆã†ã§ã™ã€‚

ãŸã¨ãˆã°ã€ç‰ˆé¢ã‚’2å€ã«æ‹¡å¤§ (\verb+\mag=2000+) ã—ã¦ç‰©ç†çš„ãªA4ã‚µã‚¤ã‚º
($210\,\mathrm{mm}\times297\,\mathrm{mm}$)ã®å‡ºåŠ›ã‚’å¾—ãŸã„å&nbsp;´åˆ
\begin{quote}
  \texttt{\char92mag=2000}\\
  \texttt{\char92paperwidth=210mm} ($= 420\,\mathrm{truemm}$)\\
  \texttt{\char92paperheight=297mm} ($= 594\,\mathrm{truemm}$)
\end{quote}
ã¨è¨­å®šã™ã‚‹ã‚‚ã®ã¨
\begin{quote}
  \texttt{\char92mag=2000}\\
  \texttt{\char92paperwidth=105mm} ($= 210\,\mathrm{truemm}$)\\
  \texttt{\char92paperheight=148.5mm} ($= 297\,\mathrm{truemm}$)
\end{quote}
ã¨è¨­å®šã™ã‚‹ã‚‚ã®ã¨ãŒå­˜åœ¨ã—ã¾ã™ã€‚
å‰è€…ã¯\textsf{geometry}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãªã©ã®æ–¹å¼ã§ã€ãŠãã‚‰ã\texttt{dvips}ã®
\verb+papersize+ specialã®æŒ™å‹•ï¼ˆtruedimenã‚’æ­£ã—ãè§£é‡ˆã›ãšã€trueã®ä»˜ã‹
ãªã„å˜ä½ã&nbsp;ã‘ã‚’å—ã‘ä»˜ã‘ã¦ã‚ãŸã‹ã‚‚trueä»˜ã§ã‚ã‚‹ã‹ã®ã‚ˆã†ã«è©•ä¾¡ï¼‰ã«å‰‡ã£ãŸ
ã‚‚ã®ã§ã—ã‚‡ã†ã€‚å¾Œè€…ã¯\textsf{jsclasses}ã‚¯ãƒ©ã‚¹ã®æ–¹å¼ã§ã€ã“ã‚Œã¯
\texttt{dvipdfm(x)}ã®\verb+pdf:pagesize+ specialã¨ã‚‚åŒã˜ã§ã™ã€‚
ã“ã®æ–¹å¼ã®ã»ã†ãŒã€truedimenã§è¨­å®šã•ã‚ŒãŸ\LaTeX ã®ã»ã‹ã®ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆå¤‰æ•°
ï¼ˆ\verb+\textwidth+ãªã©ï¼‰ã«å¯¾ã—ã¦ä¸€è²«æ€§ãŒã‚ã‚‹ã¨æ€ã‚ã‚Œã¾ã™ã€‚
æœ¬\textsf{bounddvi}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãŒã‚µãƒãƒ¼ãƒˆã—ã¦ã„ã‚‹ã®ã¯å¾Œè€…ã®æ–¹å¼ã§ã™ã€‚

\section*{å‚è€ƒ}

\begin{itemize}
\item dvipsã‚„dvipdfmãªã©ã§ç”¨ç´™ã‚µã‚¤ã‚ºã‚’å‡ºåŠ›\\
  \texttt{https://www.ma.ns.tcu.ac.jp/Pages/TeX/bounddvi.sty.html}
\end{itemize}

\section*{å¤‰æ›´å±¥æ­´}

\begin{itemize}
  \item 2002/03/10 v1.0 (KI) æœ€åˆã®å…¬é–‹ç‰ˆ
  \item 2002/10/30 v2.0 (KI) \texttt{dvipdfm}ã®\texttt{pdf:pagesize special}ã‚’ä½¿ç”¨
  \item 2003/03/22 v3.2 (KI) \textsf{hyperref}ã¨ã®äº’æ›æ€§ã‚’æ”¹è‰¯
  \item 2004/05/08 v4.0 (KI) $\mathtt{\char92mag} \ne 1000$ã«å¯¾å¿œ
  \item 2004/12/08 v5.2 (KI) \texttt{dvips}ã§\textsf{geometry}ã¨ã®äº’æ›æ€§ã‚’æ”¹è‰¯
  \item 2004/12/15 v6.0 (KI) \texttt{dvipdfm(x)}ã®\texttt{pdf:pagesize special}ã‚’ä¸ä½¿ç”¨ã«
  \item 2016/10/25 v7.1 (HY) p\LaTeXe{}ã®ãƒˆãƒ³ãƒœã‚µãƒãƒ¼ãƒˆã€
                             2016å¹´ã®æ–°ã—ã„\textsf{graphics}/\textsf{color}ã«å¯¾å¿œ
  \item 2016/12/28 v7.2 (HY) æ–°ä»•æ§˜ã®\texttt{dvips}ã‚’ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–
  \item 2020/09/25 v8.0 (HY) \LaTeXe/p\LaTeXe~2020-10-01ï¼ˆäºˆå®šï¼‰ã¸ã®å¯¾å¿œ
\end{itemize}

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