User Tools

Site Tools


paper:latex:pagestyle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
paper:latex:pagestyle [2022/12/19 06:56]
odagawa created
paper:latex:pagestyle [2022/12/19 11:43] (current)
odagawa
Line 14: Line 14:
  
 \usepackage{fancyhdr} \usepackage{fancyhdr}
 +\usepackage[nottoc]{tocbibind} % 目次に「目次」を表示しない
  
 % Chapter が勝手に改ページしないようにする (修論をそのまま使ったのでこのあたり無駄があるかもしれない) % Chapter が勝手に改ページしないようにする (修論をそのまま使ったのでこのあたり無駄があるかもしれない)
Line 26: Line 27:
 \usepackage{nomencl} \usepackage{nomencl}
 \newcommand\Nomenclature[2]{\nomenclature{\textbf{#1}}{#2}} \newcommand\Nomenclature[2]{\nomenclature{\textbf{#1}}{#2}}
-\renewcommand{¥nomname}{List of Abbreviations}+\renewcommand{\nomname}{List of Abbreviations\addcontentsline{toc}{chapter}{List of Abbreviations}}
 \makenomenclature \makenomenclature
  
Line 67: Line 68:
  
 \listoftables \listoftables
-\addcontentsline{toc}{chapter}{List of Tables} 
 \newpage % 目次ごとにこの三行を入れる \newpage % 目次ごとにこの三行を入れる
 \thispagestyle{empty} \thispagestyle{empty}
 \pagestyle{plain} \pagestyle{plain}
 \listoffigures \listoffigures
-\addcontentsline{toc}{chapter}{List of Figures} 
 \newpage \newpage
 \thispagestyle{empty} \thispagestyle{empty}
Line 81: Line 80:
 \pagestyle{plain} \pagestyle{plain}
 \bibliography{mybib} \bibliography{mybib}
-\addcontentsline{toc}{chapter}{Bibliography} 
  
  
Line 103: Line 101:
  
 % 本文 % 本文
 +% Section の変わり目などで TeX が行間を不格好に広くすることがある,おそらくページを均等に使おうとしている.
 +% 変わり目で \newpage すると余白を下に追いやってくれてそう,個人的にはこちらが好み
 +% ここは最後に行ったほうがよい
  
 \clearpage % 次のページを作成 (\newpage だとうまくいかない,なぜなら \newpage は図表を出力しない) \clearpage % 次のページを作成 (\newpage だとうまくいかない,なぜなら \newpage は図表を出力しない)
 \thispagestyle{empty} % そのページを白紙に \thispagestyle{empty} % そのページを白紙に
 +</code>
 +
 +<code latex list_abbrev.tex>
 +\Nomenclature{SM}{Standard Model}
 +
 +\printnomenclature
 +\clearpage
 </code> </code>
  
paper/latex/pagestyle.1671432998.txt.gz · Last modified: 2022/12/19 06:56 by odagawa