名前: 平井 日時: 2010-03-14 17:30:20 IPアドレス: 58.90.188.*
>>54748 ありがとう御座います。 あれからTeXでの変更をPDFに反映させるためには 2回コンパイルさせる必要があることがわかり 「§1 はじめに」「§2 次に」とPDFの「しおり」に 表示させることはできましたが やはり「ァ1 §1 はじめに」「ァ2 §2 次に」と表示されます。 サンプルは以下です。 \documentclass [10pt,b5paper,twoside,titlepage]{jsarticle} \pagestyle{myheadings} \usepackage{amsmath,amssymb,mathptmx,tabularx,multicol,fancybox,bm} \usepackage{mathptmx} \usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref} \usepackage[dvipdfm]{graphicx,color} \usepackage{emathP} \usepackage{emathEy} \usepackage{emathMw} \usepackage{atbegshi} \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}} \setlength{\voffset}{0 cm} \setlength{\topmargin}{0 cm} \setlength{\headheight}{0.5 cm} \setlength{\headsep}{10pt} \addtolength{\textheight}{\topskip} \numberwithin{equation}{section} \renewcommand{\thesection}{\S\;\arabic{section}} \makeatletter \def\SUBFRAME@hmargin{10pt} \def\SUBFRAME@vmargin{6pt} \def\SUBFRAME@linethicknessA{.4pt} \def\SUBFRAME@linethicknessB{3pt} \def\SUBFRAME@linecolor{} \def\SUBFRAME@minheight{20pt} \def\SUBFRAME{% \if@noskipsec \leavevmode \fi \ifhmode \unskip\par \fi \noindent \vbox\bgroup \@tempdima\linewidth \@tempdimb\SUBFRAME@hmargin\relax \advance\@tempdima-2\@tempdimb \advance\@tempdima-\SUBFRAME@linethicknessA\relax \advance\@tempdima-\SUBFRAME@linethicknessB\relax \setbox\z@\vbox\bgroup \color@begingroup \hsize\@tempdima \@setminipage \@parboxrestore} \def\endSUBFRAME{% \color@endgroup \egroup \@tempdima\SUBFRAME@minheight\relax \@tempdimb\SUBFRAME@vmargin\relax \advance\@tempdima-2\@tempdimb \advance\@tempdima-\SUBFRAME@linethicknessA\relax \advance\@tempdima-\SUBFRAME@linethicknessB\relax \@tempdimb\ht\z@ \advance\@tempdimb\dp\z@ \ifdim\@tempdima>\@tempdimb \setbox\z@\vbox to\@tempdima{\unvbox\z@ \vfil}% \fi \offinterlineskip \hbox to\linewidth{{\SUBFRAME@linecolor% \vrule \@width.5\linewidth \@height\SUBFRAME@linethicknessA \hfill \vrule \@width.1\linewidth\@height\SUBFRAME@linethicknessA}}% \hbox to\linewidth{% {\SUBFRAME@linecolor \vrule \@width\SUBFRAME@linethicknessA}% \hskip\SUBFRAME@hmargin \vbox{% \vskip\SUBFRAME@vmargin \box\z@ \vskip\SUBFRAME@vmargin}% \hfil {\SUBFRAME@linecolor \vrule \@width\SUBFRAME@linethicknessB}}% \hbox to\linewidth{{\SUBFRAME@linecolor% \vrule \@width.2\linewidth \@height\SUBFRAME@linethicknessB \hfill \vrule \@width.35\linewidth\@height\SUBFRAME@linethicknessB}}% \@minipagefalse \egroup} \makeatother \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{titlepage} \vspace*{10zh} \begin{center} {\Huge サンプル} \end{center} \end{titlepage} \clearpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \addtolength{\leftmargini}{-1zw} \addtolength{\leftmarginii}{-1zw} \addtolength{\leftmarginiii}{-1zw} \begin{titlepage} \tableofcontents \end{titlepage} \clearpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\Entry}[1]{\markboth{#1}{#1}\setcounter{equation}{0}} \Entry{\underline{はじめに}} \setcounter{page}{1} \begin{SUBFRAME} \section{\texorpdfstring{はじめに}{§1 はじめに}} \end{SUBFRAME} \clearpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Entry{\underline{次に}} \begin{SUBFRAME} \section{\texorpdfstring{次に}{§2 次に}} \end{SUBFRAME} \clearpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Entry{\underline{おわりに}} \begin{SUBFRAME} \section{\texorpdfstring{おわりに}{§3 おわりに}} \end{SUBFRAME} \clearpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{document}
この書き込みへの返事: