Re: floatの体裁を区別したい

名前: 水時計
日時: 2008-04-18 22:52:13
IPアドレス: 61.23.233.*

>>51266 >>51267 .様 微に入り細に入りありがとうございます。 ご指摘のように、hyperrefパッケージを使っております。御教授いただいたソースを「mystyle.sty」 に取り込み、hyperrefパッケージの後に読み込むようにしましたら、エラーなく処理できました。 以下にそのソースを貼り付けます。 (他にも問題がある可能性があるので必要最低限ではありませんが。) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Main.tex \DeclareFontShape{JY1}{mc}{m}{n}{<->jis}{} \DeclareFontShape{JY1}{gt}{m}{n}{<->jisg}{} \DeclareFontShape{JT1}{mc}{m}{n}{<->jis-v}{} \DeclareFontShape{JT1}{gt}{m}{n}{<->jisg-v}{} \documentclass[a4j,twoside,10pt]{jbook} \usepackage{amsmath} \usepackage{tabularx} \usepackage{graphicx,color} \usepackage{setspace} \usepackage[scaled=.92]{helvet} \usepackage{lmodern} \usepackage[T1]{fontenc} %\usepackage{mystyle} %この位置だとlistofsrclistsでエラー発生 \usepackage[dvipdfm]{hyperref} \usepackage{mystyle} %この位置だとlistofsrclistsでエラーなし \setlength{\textheight}{700pt}%700pt \setlength{\textwidth}{465pt}%460pt \setlength{\voffset}{-1.55cm}%-1.25cm \setlength{\hoffset}{-0.33cm} \setlength{\evensidemargin}{\oddsidemargin} \setlength{\footskip}{20pt} \setlength{\headsep}{25pt} \AtBeginDvi{\special{papersize=210mm,297mm}} \renewcommand{\thefootnote}{注{\fontfamily{lmtt}\selectfont{\arabic{footnote}}}} \setcounter{footnote}{0} \def\Rnum#1{\uppercase\expandafter{\romannumeral #1}} \special{pdf:mapfile dlbase14.map} \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}} % SJIS \date{} \title{タイトル} \author{著者} \begin{document} \maketitle \pagenumbering{roman} \setcounter{tocdepth}{3} \frontmatter \pagestyle{jqrhowtocontents} \include{howto} \pagestyle{jqrprecontents} \include{preposition} \pagestyle{jqrcontents} \makeatletter \def\@makeschapterhead#1{\hbox{}% \vskip0.5\Cvs {\parindent\z@ \raggedleft \reset@font\huge%\bfseries \leavevmode \setlength\@tempdima{\linewidth}% \hfill\scalebox{2.0}[2.0]{\vtop{\hypertarget{memu}{\hsize10zw#1}}}\hskip1zw}\vskip2.5\Cvs} \makeatother \tableofcontents \mainmatter \pagestyle{sidelabel} \pagenumbering{arabic} \include{part1} \include{chapter1} \include{chapter2} \include{chapter3} \backmatter \listoffigures \listoftables \listofsrclists \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% howto.tex \makeatletter \def\@makeschapterhead#1{\hbox{}% \vskip-0.5\Cvs {\parindent\z@ \raggedleft %\reset@font\huge \reset@font\Huge\bfseries\fontfamily{phv}\selectfont \leavevmode \setlength\@tempdima{\linewidth}% \hfill\setbox\z@\hbox{\@chapapp\textcolor[cmyk]{0,0,0,0}{\scalebox{6.5}[6.5]{1}\scalebox{5.28}[5.28]{\raisebox{0.08zw}{章}}}\hskip0zw}%\hskip1zw}% \reset@font\huge\fontfamily{cmr}\fontseries{b}\fontshape{n}\selectfont %\addtolength\@tempdima{-320pt}%{-\wd\z@}% \unhbox\z@\nobreak \par\vspace{1zw} \hfill\scalebox{1.8}[1.8]{\vtop{\hsize10zw本書の使い方}\hskip0zw}\\ \hfill\scalebox{1.8}[1.8]{\vtop{\hsize10zw\textcolor[cmyk]{0,0,0,0}{本書の使い方}}\hskip0zw} \vspace{15pt} \textcolor[cmyk]{0,0,0,0.68}{\hrule height 0.18zw}} \vskip3\Cvs} \makeatother % % % % % \chapter*{本書の使い方} \addcontentsline{toc}{chapter}{本書の使い方} \thispagestyle{jqrheadings} \vspace{-28.5zw} \hspace{-2.68zw} \begin{minipage}[t]{471.23pt} {\small \begin{itemize} \item 第\Rnum{1}部:本書の使い方1 \item 第\Rnum{2}部:本書の使い方2 \item 第\Rnum{3}部:本書の使い方3 \item 第\Rnum{4}部:本書の使い方4 \item 第\Rnum{5}部:本書の使い方5 \item 本書の使い方6 \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \end{itemize} } \end{minipage} \vspace{5zw} 本書の使い方の前書き \section*{第\Rnum{1}部:本書の使い方1} 略 \section*{第\Rnum{2}部:本書の使い方2} 略 \section*{第\Rnum{3}部:本書の使い方3} 略 \section*{第\Rnum{4}部:本書の使い方4} 略 \section*{第\Rnum{5}部:本書の使い方5} 略 \section*{本書の使い方6} 略 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% preposition.tex \makeatletter \def\@makeschapterhead#1{\hbox{}% \vskip-0.5\Cvs {\parindent\z@ \raggedleft %\reset@font\huge \reset@font\Huge\bfseries\fontfamily{phv}\selectfont \leavevmode \setlength\@tempdima{\linewidth}% \hfill\setbox\z@\hbox{\@chapapp\textcolor[cmyk]{0,0,0,0}{\scalebox{6.5}[6.5]{1}\scalebox{5.28}[5.28]{\raisebox{0.08zw}{章}}}\hskip0zw}%\hskip1zw}% \reset@font\huge\fontfamily{cmr}\fontseries{b}\fontshape{n}\selectfont %\addtolength\@tempdima{-320pt}%{-\wd\z@}% \unhbox\z@\nobreak \par\vspace{1zw} \hfill\scalebox{1.8}[1.8]{\vtop{\hsize10zwまえがき}\hskip0zw}\\ \hfill\scalebox{1.8}[1.8]{\vtop{\hsize10zw\textcolor[cmyk]{0,0,0,0}{まえがき}}\hskip0zw} \vspace{15pt} \textcolor[cmyk]{0,0,0,0.68}{\hrule height 0.18zw}} \vskip3\Cvs} \makeatother % % % % % \chapter*{まえがき} \addcontentsline{toc}{chapter}{まえがき} \thispagestyle{jqrheadings} \vspace{-28.5zw} \hspace{-2.68zw} \begin{minipage}[t]{471.23pt} {\small \begin{itemize} \item まえがき1 \item まえがき2 \item まえがき3 \item まえがき4 \item まえがき5 \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \end{itemize} } \end{minipage} \vspace{5zw} まえがきの前書き \section*{まえがき1} 略 \section*{まえがき2} 略 \section*{まえがき3} 略 \section*{まえがき4} 略 \section*{まえがき5} 略 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% part1.tex \part{Java入門}{% 前書き \vspace{-80zw} \hypertarget{top-part1}{ } \vspace{80zw} \begin{itemize} \item \hyperlink{p1-c1}{1章} \item \hyperlink{p1-c2}{2章} \item \hyperlink{p1-c3}{3章} \end{itemize} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% chapter1.tex \makeatletter \def\@makechapterhead#1{\hbox{}% \vskip-0.5\Cvs%%%罫線との距離 {\parindent\z@ \raggedleft \reset@font\Huge\bfseries\fontfamily{phv}\selectfont \leavevmode \ifnum \c@secnumdepth >\m@ne \if@mainmatter \hfill\setbox\z@\hbox{\@chapapp\textcolor[cmyk]{0,0,0,0.25}{\scalebox{6.5}[6.5]{\thechapter}\scalebox{5.28}[5.28]{\raisebox{0.08zw}{\@chappos}}}\hskip0zw}%\hskip1zw}% \reset@font\huge\fontfamily{cmr}\fontseries{b}\fontshape{n}\selectfont%\bfseries \unhbox\z@\nobreak \fi \par\vspace{1.0zw} \hyperlink{memu}{% \scalebox{1.8}[1.8]{\vtop{\hsize6zw{\hbox to 6zw{\mbox{chapter1}の\hskip0.165zw}}}}\\% \scalebox{1.8}[1.8]{\vtop{\hsize6zw{\hbox to 6zw{章扉のページ}}}\hskip0zw}}% \vspace{15pt} \textcolor[cmyk]{0,0,0,0.68}{\hrule height 0.18zw} \vskip2\Cvs \else #1\relax %\fi}\nobreak\vskip3\Cvs} \fi}\nobreak\vskip1\Cvs} \makeatother % % % % % \chapter{ここは略}{\large \hfill1章のツメ\hfill} \vspace{-80zw} \hypertarget{p1-c1}{ } \vspace{80zw} \thispagestyle{jqrheadings} \vspace{-28.5zw} \hspace{-2.68zw} \begin{minipage}[t]{471.23pt} {\small \begin{itemize} \item sectionのタイトル1 \item sectionのタイトル2 \item sectionのタイトル3 \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \item[] \textcolor[cmyk]{0,0,0,0}{補正} \end{itemize} } \end{minipage} \vspace{13zw} \begin{center} %\hspace{-3cm} \hyperlink{top-part1}{\textcolor[cmyk]{0,0,0,0}{\scalebox{16.8}[16.8]{図}}} %\vspace{-16.8zw} %実際はここに図を入れています %\scalebox{1.0}[1.0]{ %\includegraphics{OUTxy-test.eps} %} \end{center} \vspace{2zh} {\huge 略} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% chapter2.tex \makeatletter \def\@makechapterhead#1{\hbox{}% \vskip-0.5\Cvs {\parindent\z@ \raggedleft \reset@font\Huge\bfseries\fontfamily{phv}\selectfont \leavevmode \ifnum \c@secnumdepth >\m@ne \if@mainmatter \hfill\setbox\z@\hbox{\@chapapp\textcolor[cmyk]{0,0,0,0.25}{\scalebox{6.5}[6.5]{\thechapter}\scalebox{5.28}[5.28]{\raisebox{0.08zw}{\@chappos}}}\hskip0zw}%\hskip1zw}% \reset@font\huge\fontfamily{cmr}\fontseries{b}\fontshape{n}\selectfont \unhbox\z@\nobreak \fi \par\vspace{1.0zw} \hyperlink{memu}{% \scalebox{1.8}[1.8]{\vtop{\hsize6zw{\hbox to 6zw{\mbox{chapter2}の\hskip0.165zw}}}}\\% \scalebox{1.8}[1.8]{\vtop{\hsize6zw{\hbox to 6zw{章扉のページ}}}\hskip0zw}}% \vspace{15pt} \textcolor[cmyk]{0,0,0,0.68}{\hrule height 0.18zw} \vskip2\Cvs \else #1\relax \fi}\nobreak\vskip1\Cvs} \makeatother % % % % % \chapter{実際はここから始まり}{\large \hfill2章のツメ\hfill} \vspace{-80zw} \hypertarget{p1-c2}{ } \hypertarget{top_chap2}{ } \vspace{80zw} \thispagestyle{jqrheadings} \vspace{-28.5zw} \hspace{-2.68zw} \begin{minipage}[t]{471.23pt} {\small \begin{itemize} \item \hyperlink{2.1}{sectionのタイトル1} \item \hyperlink{2.2}{sectionのタイトル2} \item \hyperlink{2.3}{sectionのタイトル3} \item \hyperlink{2.4}{sectionのタイトル4} \item \hyperlink{2.5}{sectionのタイトル5} \item \hyperlink{2.6}{sectionのタイトル6} \item \hyperlink{2.7}{sectionのタイトル7} \item \hyperlink{2.8}{sectionのタイトル8} \item \hyperlink{2.9}{sectionのタイトル9} \item \hyperlink{2.10}{sectionのタイトル10} \item \hyperlink{2.11}{sectionのタイトル11} \item \hyperlink{2.12}{sectionのタイトル12} \item \hyperlink{2.13}{sectionのタイトル13} \item \hyperlink{2.14}{sectionのタイトル14} \end{itemize} } \end{minipage} \vspace{13zw} \begin{center} \hyperlink{top-part1}{% \textcolor[cmyk]{0,0,0,0}{\scalebox{25.0}[25.0]{図}}% } %\vspace{-23.5zw} %実際はここに図を入れています %\scalebox{1.0}[1.0]{ %\includegraphics{OUTaddress.eps} %} \end{center} \clearpage 第一章の前書き %\vspace{-0.5zw} \hypertarget{2.1}{\hyperlink{top_chap2}{ \section{sectionのタイトル1}}} \makeatletter \def\verbatim@font{\small\normalfont\fontfamily{phv}\fontseries{mc}\selectfont} \makeatother \begin{srclist}[h] \caption{サンプルプログラム1} \begin{spacing}{0.8} {\fontfamily{phv}\fontseries{mc}\fontshape{n}\selectfont \noindent \hspace{1.35zw}public class Sample \{ \\ \hspace{2.35zw}public static void main(String argv {\Cbrank}) \{ \\ \hspace{3.35zw}for(int i=0; i < argv.length; i++) \\ \hspace{4.35zw}System.out.print(argv[i]+" "); \\ \hspace{3.35zw}System.out.print("\verb|\|n"); \\ \hspace{3.35zw}System.exit(0); \\ \hspace{2.35zw}\} \\ \hspace{1.35zw}\} } \end{spacing} \end{srclist} \subsection{subsectionのタイトル1} とりあえず、同じサンプルで \begin{srclist}[h] \caption{サンプルプログラム2} \begin{spacing}{0.8} {\fontfamily{phv}\fontseries{mc}\fontshape{n}\selectfont \noindent \hspace{1.35zw}public class Sample \{ \\ \hspace{2.35zw}public static void main(String argv {\Cbrank}) \{ \\ \hspace{3.35zw}for(int i=0; i < argv.length; i++) \\ \hspace{4.35zw}System.out.print(argv[i]+" "); \\ \hspace{3.35zw}System.out.print("\verb|\|n"); \\ \hspace{3.35zw}System.exit(0); \\ \hspace{2.35zw}\} \\ \hspace{1.35zw}\} } \end{spacing} \end{srclist} \vspace{-1.0zw} \hypertarget{2.2}{\hyperlink{top_chap2}{ \section{sectionのタイトル2}}} \subsection{tableのサンプル1} \begin{table}[h] \caption{tableのサンプル1} \vspace{0.65zw} \hspace{0.005zw} \begin{tabular}{l|l} \hline パッケージ名 & 内容 \\ \hline package1 & XXXXXXXXXXXXXXXXXXXXXXX \\ package2 & XXXXXXXXXXXXXXXXXXXXXXX \\ package3 & XXXXXXXXXXXXXXXXXXXXXXX \\ \hline \end{tabular} \end{table} \vspace{-1.0zw} \subsection{tableのサンプル2} \begin{table}[!h] \caption{tableのサンプル2} \vspace{0.65zw} \hspace{0.005zw} \begin{tabular}{l|l} \hline パッケージ名 & 内容 \\ \hline package1 & XXXXXXXXXXXXXXXXXXXXXXX \\ package2 & XXXXXXXXXXXXXXXXXXXXXXX \\ package3 & XXXXXXXXXXXXXXXXXXXXXXX \\ \hline \end{tabular} \end{table} \newpage \hypertarget{2.3}{\hyperlink{top_chap2}{ \section{sectionのタイトル3}}} \begin{figure}[!h] \caption{figureのサンプル1} \vspace{-1.8zw} \scalebox{1.18}[1.18]{ \begin{picture}(388,175)% \put(-2,0){\line(0,1){155}} \put(-2,155){\line(1,0){368}} \put(366,0){\line(0,1){155}} \put(-2,0){\line(1,0){368}} % \put(25.5,138){\scriptsize パッケージ名} \put(45.5,133){\line(0,1){3}} \put(10,130){\line(0,1){3}} \put(10,133){\line(1,0){68.8}} \put(78.8,130){\line(0,1){3}} \put(10,117){\fcolorbox[gray]{0}{0.828}{% \makebox(62,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont yyyy.yyyy}}} \put(78.5,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(95,138){\scriptsize クラス名} \put(108,133){\line(0,1){3}} \put(85,130){\line(0,1){3}} \put(85,133){\line(1,0){46.5}} \put(131.5,130){\line(0,1){3}} \put(85,117){\fcolorbox[gray]{0}{0.828}{% \makebox(40,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Xxxxxy}}} \put(131,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(144.5,138){\scriptsize メソッド名} \put(168,133){\line(0,1){3}} \put(137.1,130){\line(0,1){3}} \put(137.1,133){\line(1,0){68.3}} \put(205.3,130){\line(0,1){3}} \put(137,117){\fcolorbox[gray]{0}{0.828}{% \makebox(61.8,8)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont subxxxxxy}}} \put(205,118){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % \put(95,95){\scriptsize パッケージ名} \put(115,90){\line(0,1){3}} \put(10,87){\line(0,1){3}} \put(10,90){\line(1,0){206.8}} \put(216.8,87){\line(0,1){3}} \put(10,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(200,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont AAA.Aaa.bbbbbb.ccccc.eeegfff}}} \put(216,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(238.8,95){\scriptsize クラス名} \put(252.5,90){\line(0,1){3}} \put(222,87){\line(0,1){3}} \put(222,90){\line(1,0){62}} \put(283.8,87){\line(0,1){3}} \put(221.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(55.5,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Bbbbbbbb}}} \put(282.8,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(298,95){\scriptsize メソッド名} \put(315.1,90){\line(0,1){3}} \put(288.8,87){\line(0,1){3}} \put(288.8,90){\line(1,0){55}} \put(343.5,87){\line(0,1){3}} \put(288.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(48,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont oooyllq}}} \put(343,71.5){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % % \put(38,60){\line(0,1){3}} \put(10,63){\line(0,1){3}} \put(10,63){\line(1,0){55}} \put(65,63){\line(0,1){3}} \put(7.1,53){ \begin{minipage}[t]{55pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(113,60){\line(0,1){3}} \put(70,63){\line(0,1){3}} \put(70,63){\line(1,0){88}} \put(158,63){\line(0,1){3}} \put(80,53){ \begin{minipage}[t]{65pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(188,60){\line(0,1){3}} \put(163,63){\line(0,1){3}} \put(163,63){\line(1,0){53}} \put(216,63){\line(0,1){3}} \put(161,53){ \begin{minipage}[t]{50pt} \begin{spacing}{0.5} {\tiny ああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } %} \end{picture} } \end{figure} \begin{figure}[!h] \caption{figureのサンプル1} \vspace{-1.8zw} \scalebox{1.18}[1.18]{ \begin{picture}(388,175)% \put(-2,0){\line(0,1){155}} \put(-2,155){\line(1,0){368}} \put(366,0){\line(0,1){155}} \put(-2,0){\line(1,0){368}} % \put(25.5,138){\scriptsize パッケージ名} \put(45.5,133){\line(0,1){3}} \put(10,130){\line(0,1){3}} \put(10,133){\line(1,0){68.8}} \put(78.8,130){\line(0,1){3}} \put(10,117){\fcolorbox[gray]{0}{0.828}{% \makebox(62,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont yyyy.yyyy}}} \put(78.5,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(95,138){\scriptsize クラス名} \put(108,133){\line(0,1){3}} \put(85,130){\line(0,1){3}} \put(85,133){\line(1,0){46.5}} \put(131.5,130){\line(0,1){3}} \put(85,117){\fcolorbox[gray]{0}{0.828}{% \makebox(40,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Xxxxxy}}} \put(131,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(144.5,138){\scriptsize メソッド名} \put(168,133){\line(0,1){3}} \put(137.1,130){\line(0,1){3}} \put(137.1,133){\line(1,0){68.3}} \put(205.3,130){\line(0,1){3}} \put(137,117){\fcolorbox[gray]{0}{0.828}{% \makebox(61.8,8)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont subxxxxxy}}} \put(205,118){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % \put(95,95){\scriptsize パッケージ名} \put(115,90){\line(0,1){3}} \put(10,87){\line(0,1){3}} \put(10,90){\line(1,0){206.8}} \put(216.8,87){\line(0,1){3}} \put(10,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(200,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont AAA.Aaa.bbbbbb.ccccc.eeegfff}}} \put(216,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(238.8,95){\scriptsize クラス名} \put(252.5,90){\line(0,1){3}} \put(222,87){\line(0,1){3}} \put(222,90){\line(1,0){62}} \put(283.8,87){\line(0,1){3}} \put(221.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(55.5,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Bbbbbbbb}}} \put(282.8,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(298,95){\scriptsize メソッド名} \put(315.1,90){\line(0,1){3}} \put(288.8,87){\line(0,1){3}} \put(288.8,90){\line(1,0){55}} \put(343.5,87){\line(0,1){3}} \put(288.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(48,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont oooyllq}}} \put(343,71.5){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % % \put(38,60){\line(0,1){3}} \put(10,63){\line(0,1){3}} \put(10,63){\line(1,0){55}} \put(65,63){\line(0,1){3}} \put(7.1,53){ \begin{minipage}[t]{55pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(113,60){\line(0,1){3}} \put(70,63){\line(0,1){3}} \put(70,63){\line(1,0){88}} \put(158,63){\line(0,1){3}} \put(80,53){ \begin{minipage}[t]{65pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(188,60){\line(0,1){3}} \put(163,63){\line(0,1){3}} \put(163,63){\line(1,0){53}} \put(216,63){\line(0,1){3}} \put(161,53){ \begin{minipage}[t]{50pt} \begin{spacing}{0.5} {\tiny ああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } %} \end{picture} } \end{figure} \newpage \hypertarget{2.4}{\hyperlink{top_chap2}{ \section{sectionのタイトル3}}} 略 \hypertarget{2.5}{\hyperlink{top_chap2}{ \section{sectionのタイトル5}}} 略 \hypertarget{2.6}{\hyperlink{top_chap2}{ \section{sectionのタイトル6}}} 略 \hypertarget{2.7}{\hyperlink{top_chap2}{ \section{sectionのタイトル7}}} 略 \hypertarget{2.8}{\hyperlink{top_chap2}{ \section{sectionのタイトル8}}} 略 \hypertarget{2.9}{\hyperlink{top_chap2}{ \section{sectionのタイトル9}}} 略 \hypertarget{2.10}{\hyperlink{top_chap2}{ \section{sectionのタイトル10}}} 略 \hypertarget{2.11}{\hyperlink{top_chap2}{ \section{sectionのタイトル11}}} 略 \hypertarget{2.12}{\hyperlink{top_chap2}{ \section{sectionのタイトル12}}} 略 \hypertarget{2.13}{\hyperlink{top_chap2}{ \section{sectionのタイトル13}}} 略 \hypertarget{2.14}{\hyperlink{top_chap2}{ \section{sectionのタイトル14}}} 略 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% chapter3.tex \makeatletter \def\@makechapterhead#1{\hbox{}% \vskip-0.5\Cvs {\parindent\z@ \raggedleft \reset@font\Huge\bfseries\fontfamily{phv}\selectfont \leavevmode \ifnum \c@secnumdepth >\m@ne \if@mainmatter \hfill\setbox\z@\hbox{\@chapapp\textcolor[cmyk]{0,0,0,0.25}{\scalebox{6.5}[6.5]{\thechapter}\scalebox{5.28}[5.28]{\raisebox{0.08zw}{\@chappos}}}\hskip0zw}%\hskip1zw}% \reset@font\huge\fontfamily{cmr}\fontseries{b}\fontshape{n}\selectfont \unhbox\z@\nobreak \fi \par\vspace{1.0zw} \hyperlink{memu}{% \scalebox{1.8}[1.8]{\vtop{\hsize6zw{\hbox to 6zw{\mbox{chapter3}の\hskip0.165zw}}}}\\% \scalebox{1.8}[1.8]{\vtop{\hsize6zw{\hbox to 6zw{章扉のページ}}}\hskip0zw}}% \vspace{15pt} \textcolor[cmyk]{0,0,0,0.68}{\hrule height 0.18zw} \vskip2\Cvs \else #1\relax \fi}\nobreak\vskip1\Cvs} \makeatother % % % % % \chapter{ここは事実上の2章}{\large \hfill3章のツメ\hfill} \vspace{-80zw} \hypertarget{p1-c2}{ } \hypertarget{top_chap3}{ } \vspace{80zw} \thispagestyle{jqrheadings} \vspace{-28.5zw} \hspace{-2.68zw} \begin{minipage}[t]{471.23pt} {\small \begin{itemize} \item \hyperlink{2.1}{sectionのタイトル1} \item \hyperlink{2.2}{sectionのタイトル2} \item \hyperlink{2.3}{sectionのタイトル3} \item \hyperlink{2.4}{sectionのタイトル4} \item \hyperlink{2.5}{sectionのタイトル5} \item \hyperlink{2.6}{sectionのタイトル6} \item \hyperlink{2.7}{sectionのタイトル7} \item \hyperlink{2.8}{sectionのタイトル8} \item \hyperlink{2.9}{sectionのタイトル9} \item \hyperlink{2.10}{sectionのタイトル10} \item \hyperlink{2.11}{sectionのタイトル11} \item \hyperlink{2.12}{sectionのタイトル12} \item \hyperlink{2.13}{sectionのタイトル13} \item \hyperlink{2.14}{sectionのタイトル14} \end{itemize} } \end{minipage} \vspace{13zw} \begin{center} \hyperlink{top-part1}{% \textcolor[cmyk]{0,0,0,0}{\scalebox{25.0}[25.0]{図}}% } %\vspace{-23.5zw} %実際はここに図を入れています %\scalebox{1.0}[1.0]{ %\includegraphics{OUTaddress.eps} %} \end{center} \clearpage 第一章の前書き %\vspace{-0.5zw} \hypertarget{2.1}{\hyperlink{top_chap3}{ \section{sectionのタイトル1}}} \makeatletter \def\verbatim@font{\small\normalfont\fontfamily{phv}\fontseries{mc}\selectfont} \makeatother \begin{srclist}[h] \caption{サンプルプログラム1} \begin{spacing}{0.8} {\fontfamily{phv}\fontseries{mc}\fontshape{n}\selectfont \noindent \hspace{1.35zw}public class Sample \{ \\ \hspace{2.35zw}public static void main(String argv {\Cbrank}) \{ \\ \hspace{3.35zw}for(int i=0; i < argv.length; i++) \\ \hspace{4.35zw}System.out.print(argv[i]+" "); \\ \hspace{3.35zw}System.out.print("\verb|\|n"); \\ \hspace{3.35zw}System.exit(0); \\ \hspace{2.35zw}\} \\ \hspace{1.35zw}\} } \end{spacing} \end{srclist} \subsection{subsectionのタイトル1} とりあえず、同じサンプルで \begin{srclist}[h] \caption{サンプルプログラム2} \begin{spacing}{0.8} {\fontfamily{phv}\fontseries{mc}\fontshape{n}\selectfont \noindent \hspace{1.35zw}public class Sample \{ \\ \hspace{2.35zw}public static void main(String argv {\Cbrank}) \{ \\ \hspace{3.35zw}for(int i=0; i < argv.length; i++) \\ \hspace{4.35zw}System.out.print(argv[i]+" "); \\ \hspace{3.35zw}System.out.print("\verb|\|n"); \\ \hspace{3.35zw}System.exit(0); \\ \hspace{2.35zw}\} \\ \hspace{1.35zw}\} } \end{spacing} \end{srclist} \vspace{-1.0zw} \hypertarget{2.2}{\hyperlink{top_chap3}{ \section{sectionのタイトル2}}} \subsection{tableのサンプル1} \begin{table}[h] \caption{tableのサンプル1} \vspace{0.65zw} \hspace{0.005zw} \begin{tabular}{l|l} \hline パッケージ名 & 内容 \\ \hline package1 & XXXXXXXXXXXXXXXXXXXXXXX \\ package2 & XXXXXXXXXXXXXXXXXXXXXXX \\ package3 & XXXXXXXXXXXXXXXXXXXXXXX \\ \hline \end{tabular} \end{table} \vspace{-1.0zw} \subsection{tableのサンプル2} \begin{table}[!h] \caption{tableのサンプル2} \vspace{0.65zw} \hspace{0.005zw} \begin{tabular}{l|l} \hline パッケージ名 & 内容 \\ \hline package1 & XXXXXXXXXXXXXXXXXXXXXXX \\ package2 & XXXXXXXXXXXXXXXXXXXXXXX \\ package3 & XXXXXXXXXXXXXXXXXXXXXXX \\ \hline \end{tabular} \end{table} \newpage \hypertarget{2.3}{\hyperlink{top_chap3}{ \section{sectionのタイトル3}}} \begin{figure}[!h] \caption{figureのサンプル1} \vspace{-1.8zw} \scalebox{1.18}[1.18]{ \begin{picture}(388,175)% \put(-2,0){\line(0,1){155}} \put(-2,155){\line(1,0){368}} \put(366,0){\line(0,1){155}} \put(-2,0){\line(1,0){368}} % \put(25.5,138){\scriptsize パッケージ名} \put(45.5,133){\line(0,1){3}} \put(10,130){\line(0,1){3}} \put(10,133){\line(1,0){68.8}} \put(78.8,130){\line(0,1){3}} \put(10,117){\fcolorbox[gray]{0}{0.828}{% \makebox(62,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont yyyy.yyyy}}} \put(78.5,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(95,138){\scriptsize クラス名} \put(108,133){\line(0,1){3}} \put(85,130){\line(0,1){3}} \put(85,133){\line(1,0){46.5}} \put(131.5,130){\line(0,1){3}} \put(85,117){\fcolorbox[gray]{0}{0.828}{% \makebox(40,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Xxxxxy}}} \put(131,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(144.5,138){\scriptsize メソッド名} \put(168,133){\line(0,1){3}} \put(137.1,130){\line(0,1){3}} \put(137.1,133){\line(1,0){68.3}} \put(205.3,130){\line(0,1){3}} \put(137,117){\fcolorbox[gray]{0}{0.828}{% \makebox(61.8,8)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont subxxxxxy}}} \put(205,118){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % \put(95,95){\scriptsize パッケージ名} \put(115,90){\line(0,1){3}} \put(10,87){\line(0,1){3}} \put(10,90){\line(1,0){206.8}} \put(216.8,87){\line(0,1){3}} \put(10,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(200,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont AAA.Aaa.bbbbbb.ccccc.eeegfff}}} \put(216,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(238.8,95){\scriptsize クラス名} \put(252.5,90){\line(0,1){3}} \put(222,87){\line(0,1){3}} \put(222,90){\line(1,0){62}} \put(283.8,87){\line(0,1){3}} \put(221.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(55.5,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Bbbbbbbb}}} \put(282.8,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(298,95){\scriptsize メソッド名} \put(315.1,90){\line(0,1){3}} \put(288.8,87){\line(0,1){3}} \put(288.8,90){\line(1,0){55}} \put(343.5,87){\line(0,1){3}} \put(288.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(48,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont oooyllq}}} \put(343,71.5){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % % \put(38,60){\line(0,1){3}} \put(10,63){\line(0,1){3}} \put(10,63){\line(1,0){55}} \put(65,63){\line(0,1){3}} \put(7.1,53){ \begin{minipage}[t]{55pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(113,60){\line(0,1){3}} \put(70,63){\line(0,1){3}} \put(70,63){\line(1,0){88}} \put(158,63){\line(0,1){3}} \put(80,53){ \begin{minipage}[t]{65pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(188,60){\line(0,1){3}} \put(163,63){\line(0,1){3}} \put(163,63){\line(1,0){53}} \put(216,63){\line(0,1){3}} \put(161,53){ \begin{minipage}[t]{50pt} \begin{spacing}{0.5} {\tiny ああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } %} \end{picture} } \end{figure} \begin{figure}[!h] \caption{figureのサンプル1} \vspace{-1.8zw} \scalebox{1.18}[1.18]{ \begin{picture}(388,175)% \put(-2,0){\line(0,1){155}} \put(-2,155){\line(1,0){368}} \put(366,0){\line(0,1){155}} \put(-2,0){\line(1,0){368}} % \put(25.5,138){\scriptsize パッケージ名} \put(45.5,133){\line(0,1){3}} \put(10,130){\line(0,1){3}} \put(10,133){\line(1,0){68.8}} \put(78.8,130){\line(0,1){3}} \put(10,117){\fcolorbox[gray]{0}{0.828}{% \makebox(62,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont yyyy.yyyy}}} \put(78.5,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(95,138){\scriptsize クラス名} \put(108,133){\line(0,1){3}} \put(85,130){\line(0,1){3}} \put(85,133){\line(1,0){46.5}} \put(131.5,130){\line(0,1){3}} \put(85,117){\fcolorbox[gray]{0}{0.828}{% \makebox(40,8.5)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Xxxxxy}}} \put(131,118){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(144.5,138){\scriptsize メソッド名} \put(168,133){\line(0,1){3}} \put(137.1,130){\line(0,1){3}} \put(137.1,133){\line(1,0){68.3}} \put(205.3,130){\line(0,1){3}} \put(137,117){\fcolorbox[gray]{0}{0.828}{% \makebox(61.8,8)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont subxxxxxy}}} \put(205,118){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % \put(95,95){\scriptsize パッケージ名} \put(115,90){\line(0,1){3}} \put(10,87){\line(0,1){3}} \put(10,90){\line(1,0){206.8}} \put(216.8,87){\line(0,1){3}} \put(10,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(200,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont AAA.Aaa.bbbbbb.ccccc.eeegfff}}} \put(216,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(238.8,95){\scriptsize クラス名} \put(252.5,90){\line(0,1){3}} \put(222,87){\line(0,1){3}} \put(222,90){\line(1,0){62}} \put(283.8,87){\line(0,1){3}} \put(221.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(55.5,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont Bbbbbbbb}}} \put(282.8,72.3){\large\fontfamily{pcr}\fontseries{b}\selectfont .} % \put(298,95){\scriptsize メソッド名} \put(315.1,90){\line(0,1){3}} \put(288.8,87){\line(0,1){3}} \put(288.8,90){\line(1,0){55}} \put(343.5,87){\line(0,1){3}} \put(288.8,71.5){\fcolorbox[gray]{0}{0.828}{% \makebox(48,10)[c]{\large\fontfamily{pcr}\fontseries{b}\selectfont oooyllq}}} \put(343,71.5){\large\fontfamily{pcr}\fontseries{b}\selectfont ()} % % \put(38,60){\line(0,1){3}} \put(10,63){\line(0,1){3}} \put(10,63){\line(1,0){55}} \put(65,63){\line(0,1){3}} \put(7.1,53){ \begin{minipage}[t]{55pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(113,60){\line(0,1){3}} \put(70,63){\line(0,1){3}} \put(70,63){\line(1,0){88}} \put(158,63){\line(0,1){3}} \put(80,53){ \begin{minipage}[t]{65pt} \begin{spacing}{0.5} {\tiny あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } % % \put(188,60){\line(0,1){3}} \put(163,63){\line(0,1){3}} \put(163,63){\line(1,0){53}} \put(216,63){\line(0,1){3}} \put(161,53){ \begin{minipage}[t]{50pt} \begin{spacing}{0.5} {\tiny ああああああああああああああああああああああああああああああああああああああああ} \end{spacing} \end{minipage} } %} \end{picture} } \end{figure} \newpage \hypertarget{2.4}{\hyperlink{top_chap3}{ \section{sectionのタイトル3}}} 略 \hypertarget{2.5}{\hyperlink{top_chap3}{ \section{sectionのタイトル5}}} 略 \hypertarget{2.6}{\hyperlink{top_chap3}{ \section{sectionのタイトル6}}} 略 \hypertarget{2.7}{\hyperlink{top_chap3}{ \section{sectionのタイトル7}}} 略 \hypertarget{2.8}{\hyperlink{top_chap3}{ \section{sectionのタイトル8}}} 略 \hypertarget{2.9}{\hyperlink{top_chap3}{ \section{sectionのタイトル9}}} 略 \hypertarget{2.10}{\hyperlink{top_chap3}{ \section{sectionのタイトル10}}} 略 \hypertarget{2.11}{\hyperlink{top_chap3}{ \section{sectionのタイトル11}}} 略 \hypertarget{2.12}{\hyperlink{top_chap3}{ \section{sectionのタイトル12}}} 略 \hypertarget{2.13}{\hyperlink{top_chap3}{ \section{sectionのタイトル13}}} 略 \hypertarget{2.14}{\hyperlink{top_chap3}{ \section{sectionのタイトル14}}} 略 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% mystyle.sty \long\def\@part[#1]#2#3{ \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}% \addcontentsline{toc}{part}{% \prepartname\thepart\postpartname\hspace{1em}#1}% \else \addcontentsline{toc}{part}{#1}% \fi \markboth{}{}% {\centering \interlinepenalty\@M\reset@font \ifnum \c@secnumdepth >-2\relax \par\vskip120\p@ {\huge\fontfamily{phv}\fontseries{b}\fontfamily{mc}\fontseries{bx}\selectfont\scalebox{1.5}[1.5]{\prepartname}\hspace{0.5zw}\scalebox{1.6}[1.6]{\thepart}\hspace{0.5zw}\scalebox{1.5}[1.5]{\postpartname}} \par\vskip20\p@ \fi \scalebox{1.5}[1.5]{\Huge\fontfamily{phv}\fontseries{b}\fontfamily{mc}\fontseries{bx}\selectfont#2}\par\vskip30\p@ \parbox[t]{\textwidth}{\normalfont\normalsize\parindent\cwd #3}\par% \vfill }% \@endpart} \def\@endpart{\vfil\newpage \if@twoside\null\thispagestyle{empty}\newpage\fi \if@tempswa\twocolumn\fi} % % % %chapter定義 \def\@chapter[#1]#2#3{% \ifnum \c@secnumdepth >\m@ne \if@mainmatter \refstepcounter{chapter}% \typeout{\@chapapp\space\thechapter\space\@chappos}% \addcontentsline{toc}{chapter}% {\protect\numberline{\@chapapp\thechapter\@chappos}#1}% \else\addcontentsline{toc}{chapter}{#1}\fi \else \addcontentsline{toc}{chapter}{#1}% \fi \chaptermark{#1}% \parbox[t]{8zw}{\sidelabel{#3}} \addtocontents{lof}{\protect\addvspace{10\p@}}% \addtocontents{lot}{\protect\addvspace{10\p@}}% \addtocontents{los}{\protect\addvspace{10\p@}}% \@makechapterhead{#2}\@afterheading%} } % % % % % howto \def\ps@jqrhowtocontents{% \let\@mkboth\@gobbletwo \let\ps@jpl@in\ps@jqrhowtocontents \def\@oddhead{% \underline{\hbox to \textwidth{\autoxspacing \hfill {\bfseries\small 本書の使い方 \quad\raisebox{-2.2pt}{{\huge $\bullet$}}}\, {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage}}}}% \let\@oddfoot\@empty \def\@evenhead{ \if@mparswitch \hss \fi% \underline{\hbox to \textwidth{\autoxspacing {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage} \, \raisebox{-2.2pt}{{\huge $\bullet$}}\quad{\small 本書の使い方 \hfill}}}} \let\@evenfoot\@oddfoot% } % % % % preposition \def\ps@jqrprecontents{% \let\@mkboth\@gobbletwo \let\ps@jpl@in\ps@jqrprecontents \def\@textfoot{\hrule width \textwidth}% \def\@oddhead{% \underline{\hbox to \textwidth{\autoxspacing \hfill {\bfseries\small まえがき \quad\raisebox{-2.2pt}{{\huge $\bullet$}}}\, {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage}}}}% \let\@oddfoot\@empty \def\@evenhead{ \if@mparswitch \hss \fi% \underline{\hbox to \textwidth{\autoxspacing {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage} \, {\bfseries\raisebox{-2.2pt}{{\huge $\bullet$}}\quad{\small まえがき \hfill}}}}} \let\@evenfoot\@oddfoot% } % % % % frontmatter \def\@makeschapterhead#1{\hbox{}% \vskip2\Cvs {\parindent\z@ \raggedright \reset@font\huge\bfseries \leavevmode \setlength\@tempdima{\linewidth}% \vtop{\hsize\@tempdima#1}}\vskip3\Cvs} % % % % %目次のページスタイル \def\ps@jqrcontents{% \let\@mkboth\@gobbletwo \let\ps@jpl@in\ps@jqrcontents \def\@textfoot{\hrule width \textwidth}% \def\@oddhead{% \underline{\hbox to \textwidth{\autoxspacing \hfill {\bfseries\small 目次 \quad\raisebox{-2.2pt}{{\huge $\bullet$}}}\, {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage}}}}% \let\@oddfoot\@empty \def\@evenhead{ \if@mparswitch \hss \fi% %\hspace{-0.025zw}% \underline{\hbox to \textwidth{\autoxspacing {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage} \, {\bfseries\raisebox{-2.2pt}{{\huge $\bullet$}}\quad{\small 目次 \hfill}}}}} \let\@evenfoot\@oddfoot% } % % % % % %headings \def\ps@jqrheadings{% \let\@mkboth\@gobbletwo \let\ps@jpl@in\ps@jqrheadings \def\@textfoot{\hrule width \textwidth}% \def\@oddhead{% \underline{\hbox to \textwidth{\autoxspacing \hfill{\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage}}}}% \let\@oddfoot\@empty \def\@evenhead{ \if@mparswitch \hss \fi% %\vspace{-0.025zw}% \underline{\hbox to \textwidth{\autoxspacing {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage}\hfill}}} \let\@evenfoot\@oddfoot% } % % % % %ツメおよびsidelabel \def\sidelabel#1{% \ifnum\@sidelabel@maxposition>\@sidelabel@position\else \global\@sidelabel@position\z@ \fi \global\advance\@sidelabel@position\@ne \protected@xdef\@sidelabel{#1}} \def\@sidelabel@height{30mm} \def\@sidelabel@width{25mm} \def\@sidelabel@offset{30mm} \def\@sidelabel@shift{10mm} \def\@sidelabel@maxposition{10} \newcount\@sidelabel@position \global\@sidelabel@position\z@ \def\ps@sidelabel{% \def\@oddhead{%    \underline{\hbox to \textwidth{\autospacing{ \hfill \fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont{\bfseries\small\rightmark\hspace{0.68zw}\raisebox{-2.2pt}{{\huge $\bullet$}}}\hspace{1zw}{\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage}}}}% \@put@oddsidelabel}% \def\@evenhead{%    \underline{\hbox to \textwidth{\autoxspacing {\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont\thepage}\hspace{1zw}\fontfamily{phv}\fontseries{b}\fontshape{n}\selectfont{\bfseries\raisebox{-2.2pt}{{\huge $\bullet$}}\hspace{0.5zw}{\small\leftmark\hfill}}}}} \let\@mkboth\markboth} \def\@put@oddsidelabel{% \rlap{\kern\@oddsidelabel@hshift \@put@sidelabel{-8mm}{0mm}}} \dimen@\paperwidth \advance\dimen@-\textwidth \advance\dimen@-\oddsidemargin \advance\dimen@-1in \advance\dimen@-\@sidelabel@width \edef\@oddsidelabel@hshift{\the\dimen@} \def\@put@evensidelabel{% \llap{\@put@sidelabel{0mm}{-8mm}% \kern\@evensidelabel@hshift}} \dimen@\evensidemargin \advance\dimen@ 1in \advance\dimen@-\@sidelabel@width \edef\@evensidelabel@hshift{\the\dimen@} \def\@put@sidelabel#1#2{% %%% #1 左側へのはみだし量, #2 右側へのはみだし量 %%% \vbox to\z@{% \vbox to\paperheight{% \count@\@sidelabel@position \advance\count@\m@ne \dimen@\@sidelabel@shift \dimen@\count@\dimen@ \advance\dimen@\@sidelabel@offset \advance\dimen@-\topmargin \advance\dimen@-\headheight \advance\dimen@-1in \kern\dimen@ \dimen@\@sidelabel@width \advance\dimen@#1\relax \advance\dimen@#2\relax \hbox{% \vrule width\dimen@ height\@sidelabel@height depth\z@ \kern-\dimen@ \kern#1\relax \vbox to\@sidelabel@height{% \vspace{0.5zw} \hbox to\@sidelabel@width{{%\vspace{2mm}% \textcolor[cmyk]{0,0,0,0}{ \small\sffamily\gtfamily\bfseries \hss\rotatebox[origin=c]{270}{\hfill\parbox[t]{8zw}{\@sidelabel}\hfill}\hss}}} \vss}% \kern#2\relax}% \vss}% \vss}} % % % % % jsclassからlist系を拝借 \def\@listi{\leftmargin1.25zw%\leftmargini \parsep 0.065zh%\z@ \topsep 0.25\baselineskip \itemsep \z@ \relax} \let\@listI\@listi \@listi \def\@listii{\leftmargin\leftmarginii \labelwidth\leftmarginii \advance\labelwidth-\labelsep \topsep \z@ \parsep \z@ \itemsep\parsep} \def\@listiii{\leftmargin\leftmarginiii \labelwidth\leftmarginiii \advance\labelwidth-\labelsep \topsep \z@ \parsep \z@ \itemsep\parsep} \def\@listiv {\leftmargin\leftmarginiv \labelwidth\leftmarginiv \advance\labelwidth-\labelsep} \def\@listv {\leftmargin\leftmarginv \labelwidth\leftmarginv \advance\labelwidth-\labelsep} \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} % % % % % \caption %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\newcounter{figure}[chapter] \renewcommand{\thefigure}{% \ifnum\c@chapter>\z@\thechapter\textendash\fi\@arabic\c@figure} \def\fps@figure{tbp} \def\ftype@figure{1} \def\ext@figure{lof} \def\fnum@figure{\figurename~\thefigure} \renewenvironment{figure} {\@float{figure}} {\end@float} \renewenvironment{figure*} {\@dblfloat{figure}} {\end@dblfloat} %\newcounter{table}[chapter] \renewcommand{\thetable}{% \ifnum\c@chapter>\z@\thechapter\textendash\fi\@arabic\c@table} \def\fps@table{tbp} \def\ftype@table{2} \def\ext@table{lot} \def\fnum@table{\tablename~\thetable} \renewenvironment{table} {\@float{table}} {\end@float} \renewenvironment{table*} {\@dblfloat{table}} {\end@dblfloat} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcounter{srclist}[chapter] \renewcommand{\thesrclist}{% \ifnum\c@chapter>\z@\thechapter\textendash\fi\@arabic\c@srclist} \def\srclistname{リスト} \def\fps@srclist{tbp} \def\ftype@srclist{4} \def\ext@srclist{los} \def\fnum@srclist{\srclistname~\thesrclist} \newenvironment{srclist}% {\@float{srclist}}% {\end@float} \newenvironment{srclist*}% {\@dblfloat{srclist}}% {\end@dblfloat} \newcommand*{\l@srclist}{\@dottedtocline{1}{1.5em}{2.3em}} \newcommand{\listofsrclists}{% \if@twocolumn\@restonecoltrue\onecolumn \else\@restonecolfalse\fi \chapter*{\listsrclistname \@mkboth{\listsrclistname}{\listsrclistname}}% \@starttoc{los}% \if@restonecol\twocolumn\fi } \newcommand*{\listsrclistname}{リ\hspace{-.15zw}ス\hspace{-.15zw}ト\hspace{.15zw}目 次} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setlength\abovecaptionskip{-0.5zw} \setlength\belowcaptionskip{0\p@} \long\def\@makecaption#1#2{% \def\@makecaption@temp{srclist}% \small\bfseries\fontfamily{phv}\selectfont \vskip\abovecaptionskip \iftdir \sbox\@tempboxa{#1\hskip1zw#2}% \else %%% float では,現在の float のタイプ(\@float,\@dblfloat の引数)が %%% \@captype に(文字列として)保存されているので,それが「srclist」で %%% あるか否かに応じて分岐すればよい. \ifx\@captype\@makecaption@temp \sbox\@tempboxa{#1\hspace{1zw}#2}% \else \sbox\@tempboxa{#1: #2}% \fi \fi \ifdim \wd\@tempboxa >\hsize \iftdir #1\hskip1zw#2\relax\par \else \ifx\@captype\@makecaption@temp #1\hspace{1zw}#2\relax\par \else #1: #2\relax\par \fi \fi \else \global\@minipagefalse \hbox to\hsize{\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip} \setlength\arraycolsep{5\p@} \setlength\tabcolsep{6\p@} \setlength\arrayrulewidth{.4\p@} \setlength\doublerulesep{2\p@} \setlength\tabbingsep{\labelsep} \skip\@mpfootins = \skip\footins \setlength\fboxsep{3\p@} \setlength\fboxrule{.4\p@} % % % % % % % % \renewcommand\@makefntext[1]{\parindent=1zw \leftskip=2zw \noindent\llap{\hspace{-0.001zw}\@thefnmark}\hspace{1zw}\parbox[t]{.945\textwidth}{#1}} \def\footnoterule{% \kern-3\p@ \hrule %width \columnwidth \kern 2.6\p@} % % % \renewcommand{\prechaptername}{} % % %C++の表示を修正 %\newcommand{\CPP}{C\raisebox{1.15pt}{++}} \csname CPP\endcsname \def\CPP{C\raisebox{0.13zh}{++}}%1.13pt \csname secCPP\endcsname \def\secCPP{C\protect\raisebox{0.088zh}{++}}%1.15pt % % %[]の表示の修正 \newcommand{\brank}{[\hspace{0.25zw}]}%3.5pt \newcommand{\Cbrank}{[\hspace{0.15zw}]}%1.0pt % % % %\マークの表示 \DeclareRobustCommand*\Yen{% \leavevmode \hbox{\ooalign{\hfil \texttt{Y}\hfil\cr\hfil\texttt{=}\hfil}}} % % % \renewcommand{\rmdefault}{lmr} \renewcommand{\sfdefault}{lmss} \renewcommand{\ttdefault}{lmtt} \renewcommand{\mcdefault}{mc} \renewcommand{\gtdefault}{gt} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 貼り付け終わり ありがとうございました。

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)