<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% ^^A -*- japanese-latex -*-
%
% \ifx\epTeXinputencoding\undefined\else
%   \epTeXinputencoding utf8 % ^^A added (2017-10-04)
% \fi
%
% \iffalse
%
%&lt;*driver&gt;
\ifx\epTeXinputencoding\undefined\else
  \epTeXinputencoding utf8
\fi
%&lt;/driver&gt;
%
%  jsverb.dtx
%  verb/verbatim é–¢ä¿‚ãƒžã‚¯ãƒ­ (ç…®ã¦ã‚‚ç„¼ã„ã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“)
%  å¥¥æ‘æ™´å½¦ &lt;okumura@okumuralab.org&gt;
%  http://oku.edu.mie-u.ac.jp/~okumura/
%
%  ã€Œç…®ã¦ã‚‚ç„¼ã„ã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“ã€ã§å›°ã‚‹å&nbsp;´åˆã¯modified BSDã¨ã„ã†ã“ã¨ã§ãŠé¡˜ã„ã—ã¾ã™ã€‚
%
%&lt;jsverb&gt;\NeedsTeXFormat{pLaTeX2e}
%&lt;jsverb&gt;\ProvidesFile{jsverb.sty}[2007/01/28 okumura]
%&lt;*driver&gt;
\RequirePackage{plautopatch}
\documentclass[dvipdfmx]{jsarticle}
\usepackage{doc}
\xspcode"5C=1 %% \
\xspcode"22=1 %% "
\usepackage{okumacro}
\usepackage{jsverb}
\addtolength{\textwidth}{-1in}
\addtolength{\evensidemargin}{1in}
\addtolength{\oddsidemargin}{1in}
\addtolength{\marginparwidth}{1in}
\setlength\marginparsep{5pt}
\setlength\marginparpush{0pt}
% \OnlyDescription
\CodelineNumbered
\DisableCrossrefs
\setcounter{StandardModuleDepth}{1}
\GetFileInfo{jsverb.sty}
\begin{document}
  \DocInput{jsverb.dtx}
\end{document}
%&lt;/driver&gt;
%
% \fi
%
% \title{\pLaTeXe ç”¨ \texttt{verb...} é–¢ä¿‚ãƒžã‚¯ãƒ­}
% \author{å¥¥æ‘æ™´å½¦}
% \date{\filedate}
% \maketitle
%
% \StopEventually{}
%
% \MakeShortVerb{\|}
%
% æ—§ |okuverb| ã¯\LaTeX ã® |\verb| å‘½ä»¤ã¨ |verbatim| ç’°å¢ƒã‚’æ‹¡å¼µã—ãŸã‚‚ã®ã§ï¼Œ
% |yen| ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ä»˜ã‘ã‚‹ã¨ \ttbslash\ ãŒ \ttyen\ ã«ãªã‚‹ã»ã‹ï¼Œ|verbatim| ç’°å¢ƒã®
% çµ„ã¿æ–¹ã‚’ç°¡å˜ã«ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã§ãã‚‹ã‚ˆã†ã«ã—ãŸã‚‚ã®ã§ã™ã€‚
%
% ä¸€æ–¹ï¼Œ\TeX ã§ã¯ASCII |0x60|ã® |`| ã¨|0x27|ã® |'| ã‚’å…¥åŠ›ã™ã‚‹ã¨
% ãã‚Œãžã‚Œ \texttt{`} ã¨ \texttt{'} ã«ãªã‚Šã¾ã™ã€‚
% ã“ã‚Œã‚‰ã¯æ–‡å­—ã¨ã—ã¦ã¯ãã‚Œãžã‚Œ
% U+2018 LEFT SINGLE QUOTATION MARKï¼Œ
% U+2019 RIGHT SINGLE QUOTATION MARKã§ã™ã®ã§ï¼Œ
% dvipdfmxã§PDFã«å¤‰æ›ã—ã¦æ—¥æœ¬èªžãƒ†ã‚­ã‚¹ãƒˆã«ã‚³ãƒ”ãƒ¼ï¼†ãƒšãƒ¼ã‚¹ãƒˆã™ã‚‹ã¨ï¼Œ
% å…¨è§’æ–‡å­—ã«ãªã£ã¦ã—ã¾ã„ã¾ã™ã€‚
% |\verb| ã‚„ |verbatim| ã¯ãƒ—ãƒ­ã‚°ãƒ©ãƒ&nbsp;ãƒªã‚¹ãƒˆã«ã‚ˆãç”¨ã„ã‚‹ã®ã§ï¼Œ
% æ„å›³ã¨ã—ã¦ã¯ãã‚Œãžã‚ŒU+0060 GRAVE ACCENTï¼ŒU+0027 APOSTROPHEã«
% ãªã£ã¦ã»ã—ã„ã¨æ€ã„ã¾ã™ã€‚
% ãã“ã§ï¼ŒZRã•ã‚“ã®ã”åŠ©è¨€
% \begin{itemize}
% \item |http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/46673.html|
% \item |http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/46688.html|
% \end{itemize}
% ã«ã—ãŸãŒã£ã¦æ—§ |okuverb| ã‚’å¤§å¹…ã«æ›¸ãç›´ã—ãŸã‚‚ã®ãŒã“ã® |jsverb| ã§ã™ã€‚
% 
% ãªãŠï¼Œ\ttyen\ ã‚’ã‚³ãƒ”ãƒ¼ï¼†ãƒšãƒ¼ã‚¹ãƒˆã—ãŸå&nbsp;´åˆã¯ï¼Œ
% OT1ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã§ä½¿ãˆã° Y= ã¨ã„ã†2æ–‡å­—ã«ï¼Œ
% T1ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã§ä½¿ãˆã°U+00A5 YEN SIGNã«ãªã‚Šã¾ã™ã€‚
% ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ï¼ˆU+005C REVERSE SOLIDUSï¼‰ã«ã—ãŸã„å&nbsp;´åˆã¯ \ttbslash\
% ã®ã»ã†ã‚’ãŠä½¿ã„ãã&nbsp;ã•ã„ã€‚
% 
% ãªãŠï¼Œ|doc.sty| ãŒæä¾›ã™ã‚‹ |macrocode| ç’°å¢ƒã¯æ›¸ãæ›ãˆã¦ã„ã¾ã›ã‚“ã®ã§ï¼Œ
% ä»¥ä¸‹ã®ãƒªã‚¹ãƒˆã§ã¯ |` '| ãŒ \texttt{` '} ã«ãªã£ã¦ã„ã¾ã™ã€‚
% 
% [2008-01-05] |http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html|
% ãŒå‚è€ƒã«ãªã‚Šã¾ã™ã€‚|upquote.sty| ã¨ã„ã†ã‚‚ã®ã‚‚ã‚ã‚Šã¾ã—ãŸã€‚
%
% ä»¥ä¸‹ã¯å†…éƒ¨ã®è§£èª¬ã§ã™ã€‚
% 
% ã¾ãšã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®å®£è¨€ã§ã™ã€‚
%
% \begin{macro}{\if@yen}
%
% |\verb|ï¼Œ|verbatim| ç­‰ã§ |\| ã‚’å††å° \ttyen\ ã«ã™ã‚‹ã‹ã©ã†ã‹ã®ã‚¹ã‚¤ãƒƒãƒã§ã™ã€‚
% ã“ã‚Œã¯ãƒ‡ãƒ•ã‚©ãƒ¼ãƒ«ãƒˆã§å½ã§ã™ãŒï¼Œ|yen| ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§çœŸã«ãªã‚Šã¾ã™ã€‚
%
%    \begin{macrocode}
%&lt;*jsverb&gt;
\newif\if@yen \@yenfalse
\DeclareOption{yen}{\@yentrue}
\ProcessOptions\relax
%    \end{macrocode}
%
% \end{macro}
%
% T1ã‚’ä½¿ã†ã®ã«TS1ãŒãªã„å&nbsp;´åˆã®å¯¾å‡¦ã§ã™ã€‚
% |textcomp.sty| ã¯å‰¯ä½œç”¨ãŒã‚ã‚‹ã®ã§ |ts1enc.def|
% ã‚’èª­ã¿è¾¼ã‚€ã&nbsp;ã‘ã«ã—ã¦ã„ã¾ã™ï¼ˆã“ã‚Œã¯è¤‡æ•°å›žèª­ã¿è¾¼ã‚“ã§ã‚‚
% å•é¡Œãªã•ãã†ã§ã™ï¼‰ã€‚
%
%    \begin{macrocode}
\AtBeginDocument{%
  \expandafter\ifx\csname T@T1\endcsname\relax \else
    \expandafter\ifx\csname T@TS1\endcsname\relax
      \input{ts1enc.def}%
  \fi\fi
}
%    \end{macrocode}
%
% \begin{macro}{\y@n}
% \begin{macro}{\ttyen}
%
% ç°¡å˜ãªå††è¨˜å·ã®å®šç¾©ã§ã™ã€‚å¾Œã§T1ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã®å&nbsp;´åˆã¯å†å®šç¾©ã—ã¾ã™ã€‚
%
%    \begin{macrocode}
\def\y@n{Y\llap=}
\def\ttyen{{\ttfamily\y@n}}
%    \end{macrocode}
%
% \end{macro}
% \end{macro}
%
% \begin{macro}{\ttbslash}
%
% ã‚¿ã‚¤ãƒ—ãƒ©ã‚¤ã‚¿ãƒ•ã‚©ãƒ³ãƒˆã®ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã§ã™ã€‚
%
%    \begin{macrocode}
\def\ttbslash{{\ttfamily\char`\\}}
%    \end{macrocode}
%
% \end{macro}
%
% \begin{macro}{\BS}
%
% ã‚¿ã‚¤ãƒ—ãƒ©ã‚¤ã‚¿ãƒ•ã‚©ãƒ³ãƒˆã®å††è¨˜å·ã‹ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã®ã©ã¡ã‚‰ã‹ã«ãªã‚Šã¾ã™ã€‚
%
%    \begin{macrocode}
\if@yen
  \let\BS=\ttyen
\else
  \let\BS=\ttbslash
\fi
%    \end{macrocode}
%
% \end{macro}
%
% \begin{macro}{\verbh@@k}
%
% |\verb|ï¼Œ|verbatim| ç­‰ã§ä½¿ã†ãƒ•ãƒƒã‚¯ã§ã™ã€‚
%
%    \begin{macrocode}
\if@yen
  \begingroup
    \catcode`\|=0  \catcode`\\=13
    |gdef|verbh@@k{|catcode`|\=13 |let\=|y@n}
  |endgroup
\else
  \let\verbh@@k=\relax
\fi
%    \end{macrocode}
%
% \end{macro}
%
% \begin{macro}{\verbh@@@k}
% \begin{macro}{\verbh@@@k@}
%
% ã•ã‚‰ãªã‚‹ãƒ•ãƒƒã‚¯ã§ã™ã€‚
%
%    \begin{macrocode}
\begingroup
  \catcode`\'=13
  \catcode`\`=13
  \gdef\verbh@@@k{\catcode39=13 \let'=\@rq \catcode96=13 \let`=\@lq}
\endgroup
\def\@OTone{OT1}
\def\@Tone{T1}
\def\verbh@@@k@{%
  \ifx\f@encoding\@OTone
    \chardef\@lq=18
    \chardef\@rq=13
    \verbh@@@k
  \else
    \ifx\f@encoding\@Tone
      \chardef\@lq=0
      \def\@rq{{\fontencoding{TS1}\selectfont\textquotesingle}}%
      \def\y@n{{\fontencoding{TS1}\selectfont\textyen}}%
      \verbh@@@k
    \fi
  \fi
}
%    \end{macrocode}
%
% \end{macro}
% \end{macro}
%
% \begin{macro}{\verbatim@font}
%
% ã“ã‚Œã¯ |latex.ltx| ã« |\normalfont\ttfamily|
% ã¨å®šç¾©ã•ã‚Œã¦ã„ã¾ã™ãŒï¼Œ|\bfseries| |\verb...| ã¨ã„ã£ãŸä½¿ã„æ–¹ã‚‚ã—ãŸã„ã®ã§ï¼Œ
% |\normalfont| ã¯å‰Šé™¤ã—ã¦ã—ã¾ã„ã¾ã—ãŸã€‚
%
%    \begin{macrocode}
\def\verbatim@font{\ttfamily}
%    \end{macrocode}
%
% \end{macro}
%
% \begin{macro}{\verb}
%
% å…ƒã¯æ•°å¼ãƒ¢ãƒ¼ãƒ‰æ™‚ã&nbsp;ã‘ |\hbox| ã«å…¥ã‚‹ã‚ˆã†ã«ãªã£ã¦ã„ã¾ã—ãŸãŒï¼Œ
% |\noautoxspacing| ã®åŠ¹æžœã‚’å¾—ã‚‹ãŸã‚ï¼Œå¸¸ã« |\hbox| ã«å…¥ã‚‹ã‚ˆã†ã«ã—ã¾ã—ãŸã€‚
%
%    \begin{macrocode}
\def\verb{%
  \leavevmode\hbox
  \bgroup
    \verb@eol@error \let\do\@makeother \dospecials
    \verbatim@font\@noligs
    \noautoxspacing
    \verbh@@k \verbh@@@k@
    \@ifstar\@sverb\@verb}
%    \end{macrocode}
%
% \end{macro}
%
% \begin{macro}{\@xverbatim}
% \begin{macro}{\@sxverbatim}
%
% |\| ã® |\catcode| ã‚’12ã‹ã‚‰13ã«å¤‰ãˆã¾ã—ãŸã€‚
%
%    \begin{macrocode}
\if@yen
\begingroup \catcode `|=0 \catcode `[= 1
\catcode`]=2 \catcode `\{=12 \catcode `\}=12
\catcode`\\=13 |gdef|@xverbatim#1\end{verbatim}[#1|end[verbatim]]
|gdef|@sxverbatim#1\end{verbatim*}[#1|end[verbatim*]]
|endgroup
\fi
%    \end{macrocode}
%
% \end{macro}
% \end{macro}
%
% \begin{macro}{\verbatimleftmargin}
%
% |verbatim| ç’°å¢ƒã®ä½™åˆ†ãªå·¦ãƒžãƒ¼ã‚¸ãƒ³ã§ã™ã€‚
% æ–‡æ›¸ãƒ•ã‚¡ã‚¤ãƒ«ä¸­ãªã©ã§è‡ªç”±ã«å†å®šç¾©ã—ã¦ãã&nbsp;ã•ã„ã€‚
%
%    \begin{macrocode}
\newdimen\verbatimleftmargin
\verbatimleftmargin=2zw
%    \end{macrocode}
%
% \end{macro}
%
% \begin{macro}{\verbatimsize}
%
% |verbatim| ç’°å¢ƒã®ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚ºã§ã™ã€‚
% æ–‡æ›¸ãƒ•ã‚¡ã‚¤ãƒ«ä¸­ãªã©ã§è‡ªç”±ã«å†å®šç¾©ã—ã¦ãã&nbsp;ã•ã„ã€‚
%
%    \begin{macrocode}
\def\verbatimsize{\fontsize{9}{11pt}\selectfont}
%    \end{macrocode}
%
% \end{macro}
%
% \begin{macro}{\@verbatim}
%
% |verbatim| ç’°å¢ƒã§ä½¿ã†ãƒ•ã‚©ãƒ³ãƒˆã®è¡Œé€ã‚Šã¨ã‚µã‚¤ã‚ºï¼ˆ|\f@size|ï¼‰ãŒ
% æœ¬æ–‡ã¨é•ã†ã¨ï¼Œå‰å¾Œã®é–“éš”ãŒé•ã£ã¦ã—ã¾ã„ã¾ã™ã€‚ãã‚Œã‚’è£œæ­£ã—ã¾ã™ã€‚
%
%    \begin{macrocode}
\def\@verbatim{%
  \trivlist \item\relax
  \if@minipage
    \verbatimsize
  \else
    \vskip\baselineskip
    \vskip-\f@size pt
    \verbatimsize
    \vskip-\baselineskip
    \vskip\f@size pt
    \vskip\parskip
  \fi
  \leftskip\@totalleftmargin
  \if@minipage \else
    \advance \leftskip \verbatimleftmargin
  \fi
  \rightskip\z@skip
  \parindent\z@
  \parfillskip\@flushglue
  \parskip\z@skip
  \@@par
  \@tempswafalse
  \def\par{%
    \if@tempswa
      \leavevmode \null \@@par\penalty\interlinepenalty
    \else
      \@tempswatrue
      \ifhmode\@@par\penalty\interlinepenalty\fi
    \fi}%
  \let\do\@makeother \dospecials
  \obeylines \verbatim@font \@noligs
  \noautoxspacing
  \verbh@@k \verbh@@@k@
  \hyphenchar\font\m@ne
  \everypar \expandafter{\the\everypar \unpenalty}%
}
%    \end{macrocode}
%
% \end{macro}
%
% ä»¥ä¸Šã§çµ‚ã‚ã‚Šã§ã™ã€‚
%
%    \begin{macrocode}
%&lt;/jsverb&gt;
\endinput
%    \end{macrocode}
%
% \Finale
</pre></body></html>