ã¿ãªããããã«ã¡ã¯ã æè¿ãç§ã¯åŠçç掻ã®ã¿ãŒãã³ã°ãã€ã³ã-åŠå£«è«æãè¿œãè¶ããŸããã ãã®æ³šç®ãã¹ãçŸè±¡ã®å€ãã®æ£åŒãªè©³çŽ°ã®äžã§ãèŠç¯çå¶åŸ¡ã¯ç¹ã«é¡èã§ãã ããããåŠè¡ããã¹ãã®èšèšã®ããã®æšæºãå«ãæšæºã
å¿
èŠã§ããããšãç解ãã匷ãæ¯æããŸãã ç§ãã¡ã®æšæºã¯ã西æŽã®ãã®ãšã¯ç°ãªãããããã°ãããŠããã ãã§ãã 圌ãã¯ã€ã³ã¯ãçŽãç¯çŽããŸããã圌ãã¯åœåæ³ã«ãã£ãŠæç®ã®æ€çŽ¢ãç°¡çŽ åããŸããããååã®èªã¿ãè€éã«ããŸãã æšæºã®ããã¹ãã¯ãMicrosoft Wordãšãã£ã¿ãŒã§äœæ¥ãã人ã
ã«ãã£ãŠèšèšããã³èšè¿°ãããŠããããšã¯èšããŸã§ããããŸããã ç¹°ãè¿ãã«ãªããŸãããç§ã¯Wordã«å¯ŸããŠäœããããŸãããããã¯åŒ·åãªã·ã¹ãã ã§ãã ãããããã®äžã®æè¡çãªããã¹ãã¯å
¥åããã®ã«äžäŸ¿ã§ãããæè»æ§ã®ç¹ã§ãããã«ãã¯ããŒã¹-LaTeXã®äžæ»
ã®åµé ã«äœåºŠã倱ããŸãã
ãããã£ãŠãåæ¥èšŒæžã®å·çã¯ããã¶ã€ã³DSTU 3008-95ã®ãŠã¯ã©ã€ãæšæºã®èŠç¯ã®åæãèšå®ããã®ã«4æéãè²»ããããšããäºå®ããå§ãŸããŸããã ç§ã®ç¥ãéãããã·ã¢ã®GOSTãšã»ãŒå®å
šã«äžèŽããŠããŸãã æ¢è£œã®ãœãªã¥ãŒã·ã§ã³ïŒããšãã°ã
disser ïŒãããããšã¯ç¥ã£ãŠããŸãããã2ã3åã®è©Šè¡ã®åŸãåããŒããèªåã§æ§æããããšã«ããŸããã ãã¬ãŒãã³ã°çšã ãã¬ãŒãã³ã°ã¯æåããŸãã-LaTeXã«ã€ããŠã®æ°ããããšã®æ·±byãåŠã³ãŸããããã®ã¢ã³ã¹ã¿ãŒãå®å
šã«åŠã¶ããšã¯äžå¯èœã§ã:-)
ã«ããã®äžã§ãåç¹å®ã®éšåãã»ããã¢ããããããã»ã¹ãšãã®ã©ã€ãã£ã³ã°ã§ã®äœ¿çšãããã³åæ¥èšŒæžã®äœæãããã«ç°¡çŽ åããããŸããŸãªå°ããªããšã«ã€ããŠå®å
šã«èª¬æããŸãã ããã«èŠåããŸããã©ããã§ãç§ã®æ±ºå®ã¯æŸèæã®ããã«èŠãããããããŸããã ã©ããæ®éçã§ã¯ãããŸããã ç§ã¯ãããç¥ã£ãŠãããã³ã¡ã³ãã§æ¹å€ãææ¡ãç解ããåãå
¥ããæè¿ããŸã;-)
ãã¬ãã
空çœããå§ããŸãããã ãã£ã¹ããªãã¥ãŒã·ã§ã³ãããïŒWindowsã®
MiKTeXãŸãã¯Linux / Macã®åæ§ã®ãã®ïŒãã€ã³ã¹ããŒã«ãããŠãããããªã«æåã®
PsCyrãã©ã³ãã
æ瀺ã«åŸã£ãŠ
èšå®ãããŠãããš
ä»®å®ããŸãã ããªã³ã¶ãã©ã€ãã§è¿œå ããã±ãŒãžã®ã€ã³ã¹ããŒã«ãæå¹ã«ããããšãå¿ããªãã§ãã ãã-ããªãã¯ãããã®å€ããå¿
èŠã«ãªããŸã:)
æšæºã§ã¯ããã¹ãŠã®ããã¹ãã14 Times New Romanãã©ã³ãã§1.5ééã§èšè¿°ããå¿
èŠããããŸãã æåŸã¯Microsoft Wordã®çšèªã§ã:) LaTeXã§é¡äŒŒç©ãäœæããã«ã¯ã
extsizes
ããã±ãŒãžãæ¥ç¶ããŸããããã«ãããããã¥ã¡ã³ãã¯ã©ã¹ã®ãã©ã¡ãŒã¿ãŒã«14ptãè¿œå ããã以äžã§èª¬æããããã«ä»ã®ãã¹ãŠãæ§æãããŸãã
\ documentclass [ a4paper,14pt,russian ]{ extreport }
\usepackage { extsizes }
\usepackage { cmap } % pdf
\usepackage [ T2A ]{ fontenc }
\usepackage [ utf8 ]{ inputenc }
\usepackage [ russian ]{ babel }
\usepackage { pscyr }
\usepackage { graphicx } %
\usepackage { amssymb,amsfonts,amsmath,amsthm } %
\usepackage { indentfirst } %
\usepackage [ usenames,dvipsnames ]{ color } %
\usepackage { makecell }
\usepackage { multirow } %
\usepackage { ulem } %
\linespread { 1.3 } %
\renewcommand { \rmdefault }{ ftm } % Times New Roman
\frenchspacing
\begin { document }
\end { document }
\linespread{1.3}
ã®èšå®ïŒè¡ééã1.3åã«ããïŒã¯ãWordã®äžçã§ã1.5ééããšåŒã°ãããã®ã«ã»ãŒå¯Ÿå¿ããŠããŸãã
cmap
ããã±ãŒãžã«ã¯ãçµæã®PDFïŒpdfLaTeXã䜿çšïŒã«æåããŒãã«ãå«ãŸããŠããããããšã³ã³ãŒããæªããããšãªãPDFã®ããªã«æåããã¹ããã³ããŒããã³æ€çŽ¢ã§ããŸãã ãœãŒã¹ãã¡ã€ã«ã«ã€ããŠã¯ãUTF-8ãšã³ã³ãŒãã§ä¿åããŸã;éåžžã®èšå®ã§ã¯ã
inputenc
䜿çšããŠãã©ã¡ãŒã¿ãŒã®å€ãå€æŽããŸãã æ®ãã®ããã±ãŒãžã®ç®çã«ã€ããŠã¯ããã¶ã€ã³ã®åæã§ã¯ãªããåæ¥èšŒæžã®äœæã«ã€ããŠçŽæ¥è°è«ãããšãã«ãå°ãåŸã§ã³ã¡ã³ãããŸãã
ããŒãžããŒã·ã§ã³
ããŒãžããŒã·ã§ã³ã¯å³äžé
ã«ãªããã°ãªããŸããã ç§ã®å Žåãæåã®4ããŒãžã¯è¡šçŽã課é¡ã·ãŒããã«ã¬ã³ããŒãã©ã³ãããã³ãã®ä»ã®å®åæ©æ§ã§å ããããŠããããã5ããå§ãŸããŸãã ãããã®ãã©ãŒã ã¯doc / docxã§éä¿¡ãããLaTeXã§ãã®èšèšã®ã·ãã¥ã¬ãŒã·ã§ã³ã«æéãè²»ãããããããã®ãŸãŸå°å·ããæ¹ãã¯ããã«ç°¡åã§ã;ïŒ
ããŒãžã®ããããŒãšããã¿ãŒçšã«èšèšããã
fancyhdr
ããã±ãŒãžãæ¥ç¶ãããã®ããã©ã«ããç¡å¹ã«ããŸãã ããŒãžã¯ãããããŒã®
\thepage
ã®æ°åïŒ
\thepage
ïŒãé€ããŠå®å
šã«ç©ºçœã«ãªããŸãã
\usepackage { fancyhdr }
\pagestyle { fancy }
\fancyhf { }
\fancyhead [ R ]{ \thepage }
\fancyheadoffset { 0mm }
\fancyfootoffset { 0mm }
\setlength { \headheight }{ 17pt }
\renewcommand { \headrulewidth }{ 0pt }
\renewcommand { \footrulewidth }{ 0pt }
\fancypagestyle { plain }{
\fancyhf { }
\rhead { \thepage }}
\setcounter { page }{ 5 } % â5
ãã£ãã¿ãŒã®æåã®ããŒãžã§ã¯ãããã©ã«ãã§ãã¬ãŒã³ããŒãžã¹ã¿ã€ã«ã䜿çšãããããšã«æ³šæããŠãã ããã ãŸãã
fancyhdr
芳ç¹ããåå®çŸ©ããå¿
èŠããããŸããããã«ãããç« ã®æåã®ããŒãžã«ãçªå·ãä»ããããŸãïŒ
\fancypagestyle
åç
§ïŒã
ç»åãšè¡šã®ãã£ãã·ã§ã³
眲å圢åŒãæ§æããŸãããã®åœ¢åŒã§ã¯ããŸã
caption
ããã±ãŒãžã
caption
ãŸãã çžäºæ¥ç¶ãããè€æ°ã®ãµãããŒããå«ã詳现ãªã€ã©ã¹ãã奜ããªã®ã§ããµã
subcaption
ããã±ãŒãžãå«ããŸãã èŠæ Œã«ããã°ãå³ã®ååã¯å³ã®äžã«ãããè¡šã®ååã¯è¡šã®äžã«ãããŸãã ãããã®å Žæãèªåã§ç£èŠããå¿
èŠããããŸãïŒä»¥äžãåç
§ïŒãã空ã®ã¹ããŒã¹ã®å²ãåœãŠãæé©åããããã«ããã®æ³åŸã«ã€ããŠããã±ãŒãžã«äŒããããšãã§ããŸãã
\usepackage [ tableposition=top ]{ caption }
\usepackage { subcaption }
\DeclareCaptionLabelFormat { gostfigure }{ #2 }
\DeclareCaptionLabelFormat { gosttable }{ #2 }
\DeclareCaptionLabelSeparator { gost }{ ~---~ }
\captionsetup { labelsep=gost }
\captionsetup [ figure ]{ labelformat=gostfigure }
\captionsetup [ table ]{ labelformat=gosttable }
\renewcommand { \thesubfigure }{ \asbuk { subfigure }}
ããã§ã¯ã
\DeclareCaptionLabelFormat
ã䜿çšããŠ
\DeclareCaptionLabelFormat
æ°ããã«ã¹ã¿ã 眲å圢åŒãæ§æãããããã¥ã¡ã³ãã®ãã¹ãŠã®å³é¢ãšè¡šã«å²ãåœãŠãããŸãã æåã®ãã©ã¡ãŒã¿ãŒïŒ1ã¯æšæºã®ã©ãã«ããã¹ãã§ãïŒå¥ã®è¡ãšããŠæ§æããã®ã§ã¯ãªããïŒ1ã䜿çšããã«æ瀺çã«èšè¿°ããããšããå§ãããŸãïŒã2çªç®ã®ãã©ã¡ãŒã¿ãŒïŒ2ã¯ç»å/ããŒãã«ã®çªå·ã§ãã
\DeclareCaptionLabelSeparator
ã¯ããã£ãã·ã§ã³ã©ãã«ãšæå®ããããã¹ãã®éã«ã»ãã¬ãŒã¿ãèšå®ããŸãã ç§ãã¡ã®å Žåãããã¯å¹³åçãªããã·ã¥ã§ãã
æåŸã®è¡ã«ã€ããŠãã³ã¡ã³ãããå¿
èŠããããŸãã ã€ã©ã¹ãããµãããŒãã«åå²ããããšãããããã
subfigure
ããã±ãŒãžãäœæã§ããããããããã®
subfigure
ã«ã¯çªå·ã
subfigure
å¿
èŠããããŸãã ããããå°ããªæåã§é çªã«çªå·ä»ãããã®ãæ
£ç¿ã§ã-ããããç§ãã¡ã®å Žåããããã¯ã©ãã³æåã§ã¯ãªãããªã«æåã®æåã§ãªããã°ãªããŸããïŒ ã«ãŠã³ã¿ãŒã®ããªã«æåè¡šçŸïŒ
arabic
ã
roman
latin
ã
latin
ãªã©ã®ããç¥ãããè¡šçŸãšã®é¡æšã«ããïŒã¯ãæ¢ã«
babel
ããã±ãŒãžã«å®è£
ãããŠããŸãã å°ããªããªã«æåã®å Žå
\asbuk
ãšåŒã°ãã倧ããªããªã«æåã®å Žåã¯
\asbuk
ãšåŒã°ããŸãã
åçã®å
žåçãªãã¶ã€ã³ã®äŸã瀺ããŸãã
\begin { figure }[ ht ]
\centering
\begin { subfigure }[ b ]{ 0.3 \textwidth }
\centering
$$ \begin { array }{ l }
F \to x \ ;| \ ; y \ ;| \ ; (S) \\
T \to F \ ;| \ ; T \ast F \\
S \to T \ ;| \ ; S + T \\
\end { array } $ $
\ caption { }
\end { subfigure } %
\begin { subfigure }[ b ]{ 0.6 \textwidth }
\centering
\includegraphics [ scale=0.7 ]{ parseTree.png }
\ caption { }
\end { subfigure }
\ caption { (a) $G$ ;
() $x+y \ast y$ $G$ . }
\ label { fig_parsetree }
\end { figure }
ãããŠããŒãã«ïŒ
\begin { table }[ ht ]
\ caption { }
\ label { tab_weight }
\centering
\begin { tabular }{ |c|c|c|c|c|c|c|c|c| }
\ hline \multirow { 2 }{ * }{ $x_i$ } & \multicolumn { 4 }{ c| }{ $x_j$ } &
\multicolumn { 2 }{ c| }{ } & \multicolumn { 2 }{ c| }{ } \\
\cline { 2-9 } & $X_1$ & $X_2$ & $X_3$ & $X_4$ & $w_i$ &
${ K_ \text { }} _i$ & $w_i$ & ${ K_ \text { }} _i$ \\
\ hline $X_1$ & 1 & 1 & 1.5 & 1.5 & 5 & 0.31 & 19 & 0.32 \\
\ hline $X_2$ & 1 & 1 & 1.5 & 1.5 & 5 & 0.31 & 19 & 0.32 \\
\ hline $X_3$ & 0.5 & 0.5 & 1 & 0.5 & 2.5 & 0.16 & 9.25 & 0.16 \\
\ hline $X_4$ & 0.5 & 0.5 & 1.5 & 1 & 3.5 & 0.22 & 12.25 & 0.20 \\
\ hline \multicolumn { 5 }{ |c| }{ : } & 16 & 1 & 59.5 & 1 \\
\ hline
\end { tabular }
\end { table }
\multirow
ããã³
\multicolumn
ã³ãã³ãã䜿çšããŠçŸããããŒãã«ãäœæããããšã¯æ³šç®ã«å€ããŸãã ãããã¯ãããããHTMLã®<table>ãã©ã¡ãŒã¿ãŒã§ãã
rowspan
ããã³
colspan
ã«å¯Ÿå¿ããŠããŸãã
multirow
ã«ãæåã¯
multirow
ããã±ãŒãžãæ¥ç¶ããå¿
èŠããããŸãã
èšèšã®çµæã以äžã«ç€ºããŸãã
æç»ã®å ŽåïŒ
ããŒãã«ã®å ŽåïŒ
èŠåºã
DSTU 3008-95ã®èŠåºãã¯åãªãæã§ãã ããããåthoughtã®å¿µã ããããŒãæŽåããããã®ãã¹ãŠã®èŠä»¶ã¯ãWordã®çšèªã§åµé çãªéã®çš®é¡ã«ãã£ãŠçµã¿ç«ãŠãããŸããããããã¹ããããããš1è¡ã2è¡ãããã1.5ééãããã2åã«ãªããŸããæåã§ããã£ã³ã°ãšã¹ããŒã·ã³ã°ãè¡ãã
ãã¯ã»ã«ãã€ã³ãã«ããŒãã³ãŒãããŸãã ããã¯ãç§ãããã£ãªã¢ãå
šäœãéããŠé Œãã«ããŠããæãå«ãªããã°ã©ãã³ã°ã¹ã¿ã€ã«ã ãšæããŸãã ãã®å ŽåãLaTeXã¯ããã°ã©ãã³ã°ãšã¯é¢ä¿ãããŸããã:)
ããããŒããã©ãŒãããããã«ã¯ã
titlesec
ããã±ãŒãžã䜿çšããŸãã èŠæ Œã«ããã°ãç« ïŒã»ã¯ã·ã§ã³ïŒã¯äžå€®ã«ãChapter Nããšããè¡ãä»ããŠæžããããµãã»ã¯ã·ã§ã³ãšæ®µèœã¯ç« å
ã§çªå·ãä»ããããã€ã³ãã³ããããŠæŽåãããŸãã ãã¹ãŠã倪åã§ãç« ã®èŠåºãã倧æåã§å
¥åãããŠããŸãã
ã¿ã€ãã«ã®
\titleformat
æ§æãããŸãã 圌女ã«ã¯æ¬¡ã®ãªãã·ã§ã³ããããŸãã
- 1ã€ç®ã¯ãã«ã¹ã¿ã ã¿ã€ãã«ã®ã¬ãã«ïŒããšãã°ãç« ãŸãã¯ã»ã¯ã·ã§ã³ïŒã§ãã
- 2çªç®ã®ãªãã·ã§ã³ã¯ããããŒåœ¢åŒã§ãã é
眮ã®ã°ããŒãã«ã¹ã¿ã€ã«ã説æããŸã-äžå€®ã«ãã¶ãäžããããããã¹ãã®åã«éåžžã®å€ªç·ã§å°å·ãããããã¹ããå
¥åãããäœçœã«é
眮ããããªã©ã®ããããã§ãã ãã©ãŒã ã®å®å
šãªãªã¹ãã¯ããã±ãŒãžããã¥ã¢ã«ã«èšèŒãããŠããŸãã ãããã§ã¯ç« ã®ãã¶ã€ã³ã«è¡šç€ºãã©ãŒã ã®ã¿ã䜿çšããŠããŸãã
- 3çªç®ã®ãã©ã¡ãŒã¿ãŒã¯ãããããŒå
šäœãå°å·ããåã«åŒã³åºãããã³ãã³ãã§ãã
- 4çªç®ã®ãã©ã¡ãŒã¿ãŒã¯ã©ãã«ãã¶ã€ã³ã§ãã
- 5çªç®ã®ãã©ã¡ãŒã¿ãŒ-ã©ãã«ãšã¿ã€ãã«ããã¹ãéã®è·é¢ïŒãã©ãŒã ã«å¿ããŠæ°Žå¹³ãŸãã¯åçŽïŒ;
- 6çªç®ã®ãã©ã¡ãŒã¿ãŒ-ããããŒããã¹ããå°å·ãããåã«åŒã³åºãããã³ãã³ãã
- 7çªç®ã®ãªãã·ã§ã³-ããããŒã®ããã¹ããå°å·ããåŸã«åŒã³åºãããã³ãã³ãã
ãããã®ã³ãã³ãã䜿çšãããšãç« ã®ã¿ã€ãã«ã®ããã¹ãã倧æåã«ããå¿
èŠãããå Žåãé€ããå¿
èŠãªãã¹ãŠã®ãã¶ã€ã³ãå®çŸã§ããŸãã
\MakeUppercase
ã¯ã1ã€ã®ãã©ã¡ãŒã¿ãŒã§ã®ã¿æ©èœãã
\bffamily
ããã«äœ¿çšããŠãå°å·åœ¢åŒããã°ã«ãŒãã®æåŸã«
æ°žä¹
ã«ãåãæ¿ããããšã¯ã§ããŸããã ãããã£ãŠãèŠåºãã©ãã«ïŒãChapterããŸãã¯ãAppendixããšããåèªïŒã倧æåã«ããããã«é©çšã§ããŸããããèŠåºãããã¹ãã¯èªåã§å€§æåã§å°å·ããå¿
èŠããããŸããã ãŸããäœããçŠæ¢ããããã¿ã³ãæ°åæŒãããšã¯ããã»ã©æããããŸããã§ãã:)
\usepackage { titlesec }
\titleformat { \chapter }[ display ]
{ \filcenter }
{ \MakeUppercase { \chaptertitlename } \thechapter }
{ 8pt }
{ \bfseries }{ }
\titleformat { \section }
{ \normalsize \bfseries }
{ \thesection }
{ 1em }{ }
\titleformat { \subsection }
{ \normalsize \bfseries }
{ \thesubsection }
{ 1em }{ }
%
\titlespacing* { \chapter }{ 0pt }{ -30pt }{ 8pt }
\titlespacing* { \section }{ \parindent }{ *4 }{ *4 }
\titlespacing* { \subsection }{ \parindent }{ *4 }{ *4 }
ãµãã»ã¯ã·ã§ã³ã®ã€ã³ãã³ãèšå®ã®
\parindent
ã«æ³šæããŠãã ããããµãã»ã¯ã·ã§ã³ã匷å¶çã«æ®µèœã®ã€ã³ãã³ãã«æããŸãã
ãããŠããããéåžžã®
\chapter
ãš
\section
å°å·ãããšãã®å€èŠ³ã§ãïŒ
ãã£ãŒã«ã
ããŒãžããŒãžã³ã®ã«ã¹ã¿ãã€ãºã¯ãä»æ¥ã®æãç°¡åãªã¿ã¹ã¯ã§ãã
\usepackage { geometry }
\geometry { left=3cm }
\geometry { right=1.5cm }
\geometry { top=2.4cm }
\geometry { bottom=2.4cm }
ãªã¹ã
æšæºã®ãªã¹ãã®èŠä»¶ã¯æ¬¡ã®ãšããã§ãã
- æåã®ã¬ãã«ã®çªå·ä»ããªã¹ãã¯ããaïŒãããbïŒãããcïŒããšããŠããŒã¯ãããŸã... 2çªç®ã®ã¬ãã«ã§ã¯ãã1ïŒããã2ïŒããã3ïŒããšããŠããŒã¯ãããŸãã ã¯ããã¯ããããã«ãããžãã¯ã®ããããã¯è¡šç€ºãããŸããã
- é äžåãªã¹ãã¯ãã€ãããŒã·ã§ã³ãããŸãã
æ®å¿µãªãããLaTeXã¯ã
itemize
ãš
enumerate
ç°å¢
itemize
倧éã®ã¹ããŒã¹ã§å²ã¿ããããã«ç¹å¥ãªã€ã³ãã³ããäœæããã®ã倧奜ãã§ãã ãã®éªæªãªç¿æ
£ãå
æããã«ã¯ã
enumitem
ããã±ãŒãžã䜿çšããŠ
enumitem
èšå®ããè¿œå ã®ã€ã³ãã³ãããã¹ãŠç¡å¹ã«ããŸãã
enumitem
ã
enumitem
ã¯ã
enumitem
ãã
asbuk
ã«ãŠã³ã¿ãŒã®æ°ãã衚瀺ã«ã€ããŠäœã
enumitem
ããŠããªãããã
\AddEnumerateCounter
ãããæå®ããå¿
èŠããããŸãã 3çªç®ã®ãã©ã¡ãŒã¿ãŒã¯ãæãåºãè¡šçŸã®äŸã§ãïŒå°å·æã«ããã±ãŒãžã¯ãã®å¹
ã«çŠç¹ãåãããŸãïŒã äœããã®çç±ïŒçç±ãªãïŒã§ãTimes New Romanã®ããªã«æåã®æãåºãæåã¯æ£ç¢ºã«ãmãã§ããããã«æããŸãã ãããã«ããããaããããmã以äžã®é·ãã®çªå·ä»ããªã¹ããäœæãã人ã¯ãç§ã«é¢ããŠã¯ä¿å¥åœå±ã®çŽ°å¿ã®æ³šæã«å€ãã:)
\usepackage { enumitem }
\ makeatletter
\AddEnumerateCounter { \asbuk }{ \@asbuk }{ ) }
\ makeatother
\setlist { nolistsep }
\renewcommand { \labelitemi }{ - }
\renewcommand { \labelenumi }{ \asbuk { enumi } ) }
\renewcommand { \labelenumii }{ \arabic { enumii } ) }
ç®æ¬¡
ç®æ¬¡ã¯ãããªã¢ã³ãã«èšå®ããã»ã¹ã®2çªç®ã«èŠçãªæ®µéã§ãã ã¢ãã«ã«å¿ããŠèª¿æŽããå¿
èŠããããŸããããã®ç¹ã«é¢ããŠæšæºã¯åé·ã§ã¯ãããŸããã ãã¿ãŒã³ã«åŸã£ããã¥ãŒãã³ã°ã®çµæã¯ãééã®éã«ãããéæ³ã®å®æ°ãã®æã§ãã
èæ
®ãã¹ãããŸããŸãªããããªãã®ã®ãªã¹ãã¯æ¬¡ã®ãšããã§ãã
- ããŒãžçªå·ã®ããåã®äžã®ãããŒãžããšããåèªã
- 倪åã§å€§æåã®ç« ïŒããã³äºåã®ã第Nç« ãïŒã匷調衚瀺ããŸãã
- éåžžã®ç« ã®ã¬ãã«ã§ã®ç¹å¥ãªã»ã¯ã·ã§ã³ïŒãã¯ããã«ãããç¥èªã®ãªã¹ããããçµè«ãããåèæç®ã®ãªã¹ãã...ïŒã®ç®æ¬¡ãžã®å
å«ããã ãããç« ããšçªå·ä»ãã¯ãªãã
- ç®æ¬¡ã«ãµãã»ã¯ã·ã§ã³ãšãã©ã°ã©ããå«ãããããµããã©ã°ã©ã以äžã¯å«ãŸãªãã
- ããŸããŸãªçŸããé
眮ã
幞ããªããšã«ã
tocloft
ããã±ãŒãžããããŸãã
ããã¥ã¡ã³ãããã®ããŒãã®ããã¹ãã«ã³ããŒããã€ããã¯ãããŸãããç®æ¬¡ã®ãã¹ãŠã®ãã¯ã»ã«ãæåéãèšå®ããç¡æ°ã®ã³ãã³ããå«ãŸããŠããŸãã ãããã®ã³ãã³ãã¯ãã¹ãŠãããã ãããµãã»ã¯ã·ã§ã³ã®ååã®ããã¹ããšç¹ç·ã®å
é ã®éã«ãããå
¥åããŸãããšããã¹ã¿ã€ã«ã®çœ®æã§ãã åæã§ã¯ãç®æ¬¡ã®å€èŠ³ãã«ã¹ã¿ãã€ãºãããããª9ã€ã®ã³ãã³ãã䜿çšããŠããŸãã
\usepackage { tocloft }
\renewcommand { \cfttoctitlefont }{ \hspace { 0.38 \textwidth } \bfseries \MakeUppercase }
\renewcommand { \cftbeforetoctitleskip }{ -1em }
\renewcommand { \cftaftertoctitle }{ \ mbox { } \hfill \\ \ mbox { } \hfill { \footnotesize . } \vspace { -2.5em }}
\renewcommand { \cftchapfont }{ \normalsize \bfseries \MakeUppercase { \chaptername } }
\renewcommand { \cftsecfont }{ \hspace { 31pt }}
\renewcommand { \cftsubsecfont }{ \hspace { 11pt }}
\renewcommand { \cftbeforechapskip }{ 1em }
\renewcommand { \cftparskip }{ -1mm }
\renewcommand { \cftdotsep }{ 1 }
\setcounter { tocdepth }{ 2 } % â subsection
ãããã®ã³ãã³ãã¯ã1ã€ãé€ããäžèšã®ãªã¹ãããå¿
èŠãªãã¹ãŠã®ãã®ãæ§æããŸãã ç¹å¥ãªã»ã¯ã·ã§ã³ã¯ç¹å¥ãªæ¹æ³ã§åŠçããå¿
èŠããããŸãã
ç¹å¥ãªã»ã¯ã·ã§ã³ïŒèŠçŽã玹ä»ãç¥èªã®ãªã¹ããçµè«ãåèæç®ã®ãªã¹ãïŒ
ãªã¹ããããŠããã»ã¯ã·ã§ã³ã¯ç¹ã«äœæãããŠããŸãã ãŸãããããããæ°ããããŒãžã§å§ãŸããŸãã ããã¯åé¡ã§ã¯ãããŸãã-
\newpage
ã
\newpage
ã³ãã³ããç¥ã£ãŠããŸãã 第äºã«ããããã®ã¿ã€ãã«ã¯ããŒãžã®äžå€®ã«å€ªåã®å€§æåã§æç»ããã...ãš2è¡ã§ããã¹ãããåé¢ãããŸãã æåŸã«ããã®ãã³ã»ã³ã¹ãå®æãããããã«ãç¹å¥ãªã»ã¯ã·ã§ã³ãç« ã¬ãã«ã§ãªã¹ããããŠããŸãããçªå·ã¯ä»ããããŠããããç« ã§ã¯ãããŸããã 誰ããäœã®é¢ä¿ããªãããã«æããŸããïŒ
\chapter*
ã³ãã³ãã¯ãæãããªçç±ããé©åã§ã¯ãããŸãããéå§ããç« ã¯ç®æ¬¡ã«å«ãŸããŠããŸããã ããã«ãããã¹ãã®åã«äœããã®æ¹æ³ã§äºéæ¹è¡ãé
眮ããå¿
èŠããããŸã-ãŸããæ¯å
\newline
æåã§æžããŠã¿ãŸãããïŒ
ç°¡åãªæ¹æ³ãæ¢ããŠããŸããã ç¬èªã®ã»ã¯ã·ã§ã³ãäœæããããšã«ããŸããã çµå±ã®ãšãããããã¯ããã»ã©é£ãããããŸããã
ã»ã¯ã·ã§ã³ãå®çŸ©ããã«ã¯ïŒ
likechapter
ãšåŒã³ãŸãïŒãæåã«é©åãªãã©ãŒãããã³ãã³ãã決å®ããå¿
èŠããããŸãã ã»ã¯ã·ã§ã³åã®äžå€®æããšå€§æååã調æŽããã«ã¯-åã«åãåºããŸãã ç§ããã£ã-
\likechapterheading
ã¯ãæž¡ãããã»ã¯ã·ã§ã³åãå¿
èŠã«
\likechapterheading
åºåããŸãã
\newcommand { \empline }{ \ mbox { } \newline }
\newcommand { \likechapterheading }[ 1 ]{
\begin { center }
\ textbf { \MakeUppercase { #1 }}
\end { center }
\empline }
ãã ãããã®ã»ã¯ã·ã§ã³ãç®æ¬¡ã«å«ããŠãç« ã®ã¬ãã«ã«åãããå¿
èŠããããŸãã ãããŠãããã§ããªãã¯ãã§ã«å°ããããå¿
èŠããããŸãã
çè«çã«ã¯ãç®æ¬¡ã«æ°ããè¡ãè¿œå ããã«ã¯ã
\addcontentsline
ãŸãã 次ã®3ã€ã®ãã©ã¡ãŒã¿ãŒããããŸãã
- è¡ãè¿œå ãããªã¹ãã®ã¿ã€ãã ç§ãã¡ã®å Žåãããã¯toc-ç®æ¬¡ã§ãã
- ç·ãé
眮ããã¬ãã«ã
- è¿œå ããæååããã¹ãã
æåãš3çªç®ã§ã¯ããã¹ãŠãæ確ã§ãã ãããã2çªç®ã«åçŽã«ãç« ããšæžãããšã¯ã§ããŸãããå°ãé«ãèšå®ãã䟿å©ãª
tocloft
ã¯ãè¡ã®åã«ãç« ããšããåèªã衚瀺ããããã§ãã åºå£ã¯1ã€ãããããŸãããæåŸãŸã§è¡ã£ãŠãç¬èªã®ã»ã¯ã·ã§ã³ã¬ãã«ã決å®ããŠãã ããã
LaTeXã¯ç®æ¬¡ã§ç¹å®ã®ã¬ãã«ãå°å·ãããšãã«ãå
éšã³ãã³ã
\l@XXX
åŒã³åºããŸããããã§ãXXXã¯ã¬ãã«ã®ååïŒç« ãã»ã¯ã·ã§ã³ãªã©ïŒã§ãã ãã®ã³ãã³ãã«ã¯ãããããŒããã¹ããšããŒãžçªå·ã®2ã€ã®ãã©ã¡ãŒã¿ãŒããããŸãã ããŒã ã®ç®æšã¯ãç®æ¬¡è¡ãç Žç·ãã€ã³ãã³ããããã³å¿
èŠãªãã¹ãŠã®ãã®ãšãšãã«çŽæ¥å°å·ããããšã§ãã ç¬èªã®çš®é¡ã®ã¬ãã«ãå®çŸ©ããå Žåã¯ãã¬ãã«åã«ãã®ãããªã³ãã³ããå®çŸ©ããã ãã§ãã 次ã«ã
\addcontentsline
ã³ãã³ããåŠçããããã»ã¹ã§ã
\addcontentsline
ã¯2çªç®ã®ãã©ã¡ãŒã¿ãŒã調ã¹ããã®å®çŸ©ã®äžãã察å¿ãã
\l@XXX
èŠã€ããŸãïŒXXXã¯2çªç®ã®ãã©ã¡ãŒã¿ãŒã«çœ®ãæããããç®æ¬¡ã®è¡ãçµäºããŸãïŒã
ã³ãã³ã
\l@likechapter
ã決å®ãïŒ
\l@likechapter
ã«ãç¹ç·ã®ç¹ã®éã®æéãåæã«èšå®ãïŒã
\likechapter
å®çŸ©ãçµäºããŸãïŒ
\ makeatletter
\renewcommand { \@dotsep }{ 2 }
\newcommand { \l @likechapter }[ 2 ]{ { \bfseries \@dottedtocline { 0 }{ 0pt }{ 0pt }{ #1 }{ #2 }}}
\ makeatother
\newcommand { \likechapter }[ 1 ]{
\likechapterheading { #1 }
\addcontentsline { toc }{ likechapter }{ \MakeUppercase { #1 }}}
ããã§ãäœæ¥ã®çµæã確èªã§ããŸãã ç®æ¬¡ã®å§ãŸãã¯æ¬¡ã®ãšããã§ãã
ç¹å¥ãªã»ã¯ã·ã§ã³ã衚瀺ããŠãæå³ããããŸããã
\likechapter{}
ã§å°å·ããããããŒãžã®äžå€®ã«ãã倧èãªå€§æåã®ããã¹ãã§ãã
åç
§è³æ
ãœãŒã¹ãžã®ãªã³ã¯ãäœæãããšããç§ã¯BibTeXã䜿çšããªãããšã«ããŸããã éèªã®æ¬¡ã®å·ã説æãããšããããããã¹ãŠã®ã¹ã©ãã·ã¥ãããªãªããã«ã³ããããã·ã¥ãæ
éã«é
眮ããå¿
èŠã¯ãåã«æ®ºãã ãã§ãã ããããæ®å¿µãªãããç§ã¯ä»¥åã«BibTeXã䜿çšããããšããªãããã®èšèšã®æ§æã«å¯ŸåŠããããšããåžæã¯ãããªã¢ã³ãã«ã®çµãããŸã§ã«ãã§ã«ãªããªã£ãŠããŸããã ãªããŠæ®å¿µã
ãšããã§ãæ¢ã«è¿°ã¹ã
è«æãããžã§ã¯ãã§æ¢ã«æ§æãããŠããBibTeXãã¡ã€ã«ã¯ããã®åé¡ãã»ãŒå®å
šã«è§£æ±ºããŠãããšç¢ºä¿¡ããŠããŸãã
ããããä»ã®ãšãããç§ã¯ç¹ã«ç§ã®åæãæ€èšããŠããŸãã åèæç®ã®ãªã¹ããäœæããããã«ãç§ã¯
\bibitem
å€ãè¯ãç°å¢ãš
\bibitem
ãçŽç²ãªåœ¢åŒã§äœ¿çšããŸããã ããããå°ãæ§æããã«ã¯ã以äžãè¡ãå¿
èŠããããŸããã
\usepackage [ square,numbers,sort&compress ]{ natbib }
\renewcommand { \bibnumfmt }[ 1 ]{ #1. \hfill } % â
\renewcommand { \bibsection }{ \likechapter { }} %
\setlength { \bibsep }{ 0pt }
ããã§ãèŠåºããåç
§ããé¡äŒŒã®ç« ãšããŠäœæãããããã«å¿ããŠç®æ¬¡ã«é
眮ãããŸãã
natbib
ããã±ãŒãžã¯ãã[
natbib
]ãã®ãããªãã®ã«åç
§ããããšãæ°åãããŸãå§çž®ããŸãã
ããŒãžãå³ãè¡šããœãŒã¹ã®ã«ãŠã³ã¿ãŒ
ãã®èŠæ Œã§ã¯ãäœæ¥ã®èŠçŽããè«æïŒ107 pãã14å³ã19ã¿ãã2ä»é²ã28ãœãŒã¹ããšããè¡ã§å§ãŸãããšãèŠæ±ããŠããŸãã åœç¶ã®ããšãªãããLaTeXã¯ãããããã¹ãŠã®æ°éãèªåçã«èšç®ããã³ãã³ãã䜿çšããŠããã¹ãã«ç®çã®æ°å€ãæ¿å
¥ããæ段ããªããã°ãçŸåšã®æé©ãªã¬ã€ã¢ãŠãã·ã¹ãã ã§ã¯ãããŸããã
ããŒãžããå§ããŸãããã ããã§æãç°¡åãªã®ã¯ã
lastpage
ããã±ãŒãžãæ¥ç¶ããããš
lastpage
ããã¹ãã§
LastPage
ã
\pageref*
ã䜿çšããŠ
LastPage
ããæ°ãã
LastPage
ã©ãã«ãåç
§ããŠã
LastPage
ã
\usepackage { lastpage }
% ...
: \pageref * { LastPage } ~., ...
å³ãšè¡šã䜿çšãããšããã®ãããªç®çã®ããã«äœæããã
totcountããã±ãŒãžã¯ãããã¥ã¡ã³ãå
ã®ããŸããŸãªãªããžã§ã¯ãã®æ°ãã«ãŠã³ãããã®ã«åœ¹ç«ã¡ãŸãã æ®å¿µãªãããçŸæç¹ã§ã¯æ·±å»ãªæ¬ ç¹ããããŸãïŒã«ãŠã³ã¿ãŒã¯éåžžãçªå·ä»ããå®äºããŠããªããšãã«åç« ã®çµããã«ãªã»ããããããããèšäºã§ã¯ãªãã¬ããŒãã®ãããªææžã®å Žåãæ°åã®åèšæ°ã§ã¯ãªããæ°åã®æ°ã ããååŸãããŸãæåŸã®ç« ã äœè
ã«ã¯ãã°ãéç¥ãããäœæ¥äžã«åé¿çãèŠã€ããå¿
èŠããããŸããã
ã¬ã·ãã¯StackOverflowã®åºå€§ãã§çºèŠãããŸããã ãªããžã§ã¯ãã®çš®é¡ããšã«ç¬èªã®ã«ãŠã³ã¿ãŒãå®çŸ©ãããã®ã«ãŠã³ã¿ãŒã®å€ãaux-fileã«æžã蟌ã¿ãŸãïŒã³ã³ãã€ã«ã®æåŸã«ã
\AtEndDocument
ïŒã 次ã®ã³ã³ãã€ã«ã§ããã¡ã€ã«ããååŸãããå®çŸ©ããã³ãã³ããããã¹ãå
ã®å¿
èŠãªçªå·ã«çœ®ãæããããŸãã ãããã£ãŠãpdfLaTeXã2åèµ·åãããšãæ£ããã«ãŠã³ã¿ãŒå€ãæã€ããã¹ããååŸãããŸãã
\newcounter { totfigures }
\newcounter { tottables }
\ makeatletter
\AtEndDocument { %
\addtocounter { totfigures }{ \value { figure }} %
\addtocounter { tottables }{ \value { table }} %
\immediate \write \@mainaux { %
\string \gdef \string \totfig { \number \value { totfigures }} %
\string \gdef \string \tottab { \number \value { tottables }} %
} %
}
\ makeatother
% ...
: \pageref * { LastPage } ~., \totfig ~., \tottab ~...
ãã®ãœãªã¥ãŒã·ã§ã³ã«ã¯èŽåœçãªæ¬ é¥ããããŸããåå³ãŸãã¯è¡šã®ã«ãŠã³ã¿å€ãæåã§å¢ããå¿
èŠããããŸãã åç« ã®æåŸã«ã®ã¿ïŒå¯Ÿå¿ããã·ã¹ãã ã«ãŠã³ã¿ãŒããïŒæ°å/ããŒãã«ã®æ°ãã«ãŠã³ã¿ãŒã«è¿œå ããããšã§ãç掻ãå°ãç°¡çŽ åã§ããŸããããšã«ããã³ãŒãã«ããã³ããŒïŒããŒã¹ããååšããŸãã ãã ãããã®ããã»ã¹ã¯èªååã§ããŸãã
èªååã¯
etoolbox
ã ïŒãšãããïŒçŽ æŽããã
\pretocmd
ããããŸããããã«ãããåã®ã³ãã³ãã®å®çŸ©ã«ããã€ãã®è¿œå ã³ãŒããå²ãåœãŠãããšãã§ããŸãã ãã®å Žåã
\chapter
åŒã³åºãåã«ã«ãŠã³ã¿ãŒãå€æŽããå¿
èŠããããŸãã
\usepackage { etoolbox }
\pretocmd { \chapter }{ \addtocounter { totfigures }{ \value { figure }}}{ }{ }
\pretocmd { \chapter }{ \addtocounter { tottables }{ \value { table }}}{ }{ }
æåã§ã«ãŠã³ã¿å€æŽã³ãã³ããããã«2ååŒã³åºãå¿
èŠãããããšã«æ³šæããŠãã ããã ããã¥ã¡ã³ãã®æåŸã«1åïŒäžèšã®
\AtEndDocument
åç
§ïŒã ãããŠããã£ãã¿ãŒãšããŠåé¡ããããããã£ãã¿ãŒã§åŒã³åºãããªãã¢ããªã±ãŒã·ã§ã³ã®éå§åã«äžåºŠïŒäžèšåç
§ïŒã
æåŸã«ããœãŒã¹ã§ãåãããšãã§ããŸããã«ãŠã³ã¿ãŒãå®çŸ©ããèªåçã«ã€ã³ã¯ãªã¡ã³ãããŠãã³ã³ãã€ã«ã®æåŸã«AUXãã¡ã€ã«ã«ãã³ãããŸãã ä»åã ãã
\bibitem
ã³ãã³ãã
\bibitem
ããå¿
èŠããã
\bibitem
ïŒ
\newcounter { totreferences }
\pretocmd { \bibitem }{ \addtocounter { totreferences }{ 1 }}{ }{ }
\AtEndDocument
åæ§ã®è¡ãè¿œå ããããšãå¿ããªãã§ãã ããïŒäžèšåç
§ïŒïŒ
\string \gdef \string \totref { \number \value { totreferences }} %
ããã¹ãã
\totref
...ãã§æžãããšãã§ããŸã
çšé
ã¢ããªã±ãŒã·ã§ã³ããããå¿
èŠããããŸããã ãŸã第äžã«ãç®æ¬¡ãåå ã§ã
\chapter
ãšããŠå®£èšãããŠããã«ããããããããã£ãã¿ãŒã®åèªããã£ãã¿ãŒããšã¢ããªã±ãŒã·ã§ã³ã®åèªãã¢ããªã±ãŒã·ã§ã³ããå°å·ããããã«
tocloft
ãæ§æã§ããŸããã§ããã åæã«ã
titlesec
ããã±ãŒãžã§å®çŸ©ãããŠãã
\chaptertitlename
ãããã§
ãã¿ã€ãã«
èªäœã«å¿
èŠãªåèªãå°å·ããŠãåé¡ãªãååŸã§ããŸãã
èŠåŽããã«æŸèæãäœããŸããã ã¢ããªã±ãŒã·ã§ã³ã...段èœãšããŠãã©ãŒãããããããšã«ããŸããã ãšã«ãããããã¹ãã®
å®éã®æ®µèœã¯ã©ãã«ã䜿çšããŠããŸããã
\chapter
ãšåãã¿ã€ãã«ã§
\paragraph
衚瀺ãèšå®ããlikechapterã¬ãã«ã§ç®æ¬¡ã«å¯Ÿå¿ããè¡ãè¿œå ããããšã¯å°ããªåé¡ã§ããã
\usepackage [ title,titletoc ]{ appendix }
\titleformat { \paragraph }[ display ]
{ \filcenter }
{ \MakeUppercase { \chaptertitlename } \thechapter }
{ 8pt }
{ \bfseries }{ }
\titlespacing* { \paragraph }{ 0pt }{ -30pt }{ 8pt }
\newcommand { \append }[ 1 ]{
\clearpage
\stepcounter { chapter }
\paragraph { \MakeUppercase { #1 }}
\empline
\addcontentsline { toc }{ likechapter }{ \MakeUppercase { \chaptertitlename ~ \Asbuk { chapter }\ ;#1 }}}
ããã§ã次ã®ããã«äœ¿çšã§ããŸãã
\begin { appendices }
\renewcommand \thechapter { \Asbuk { chapter }}
\setcounter { chapter }{ 0 }
\append { }
...
\end { appendices }
ååšã®èããããªã軜ãã«æ³šæããŠãã ããïŒã¢ããªã±ãŒã·ã§ã³ã¯æ¬è³ªçã«ãã©ã°ã©ãã§ãããç®æ¬¡ã«likechapter-sãšããŠæžãããŠããŸãããæ¬è³ªçã«ã¢ããªã±ãŒã·ã§ã³ã¯ãã£ãã¿ãŒã§ããããããã£ãã¿ãŒã«ãŠã³ã¿ãŒã䜿çšããŠã«ãŠã³ãããŸã:)
\Asbuk
ã¢ããªã±ãŒã·ã§ã³ã¯å€§æåã®ããªã«æåã§çªå·ä»ãããã®ãéäŸãªã®ã§ã
\Asbuk
䜿çšãããŸãã
次ã«ãåŠå£«è«æã§æå®ãããŠãã2ã€ã®å¿
é ã¢ããªã±ãŒã·ã§ã³ã®ãããããå®äºããæ¹æ³ã«ã€ããŠè©³ãã説æããŸãã
ä»é²AïŒèª¬æè³æ
æåã«å¿
èŠãªã¢ããªã±ãŒã·ã§ã³ã¯ãã¬ãŒã³ããŒã·ã§ã³ã¹ã©ã€ãã§ãã Microsoft Power Pointã§ãã¬ãŒã³ããŒã·ã§ã³ãäœæããŸãããããã§ã¯ããããŸã§æå¥ã®ãªããã°ããã補åã察象ã«ããŠããŸãã ãããããLaTeXã§ãã¬ãŒã³ããŒã·ã§ã³ãè¡ããšãã«ã人çã®è»¢æç¹ãããã«æ¥ããããããŸãããããããŸã§ã®ãšãããç§ã¯ãã®æ®µéã§ã¯ãããŸããã äž»ãªè«ç¹ã¯ãMicrosoft OfficeããŒãžã§ã³2007以éã«çµã¿èŸŒãŸããŠããLaTeXã®ãããªããŒã¯ã¢ããèšèªã§ãã¬ãŒã³ããŒã·ã§ã³ã«å€æ°ã®æ°åŒãå
¥åããããšã§ãã
ããã§ããã¬ãŒã³ããŒã·ã§ã³ã®æºåãæŽããåæ¥èšŒæžã®ãœãŒã¹ã³ãŒãã®æšªã«ããpptxãã¡ã€ã«ã«ä¿åãããŸããã
ã³ã³ãã€ã«æã«ã©ã®ããã«èªåçã«åæ¥èšŒæžPDFã«æ¿å
¥ãããŸããïŒã¡ãœãããèŠã€ãããŸããããéåžžã«ç°¡åã§ããçŽ æŽãããããã±ãŒãžã®å©ããåããŠããã¬ãŒã³ããŒã·ã§ã³ãPDFã«å€æãããã®PDFãçæããããã®ã«è²Œãä»ããŸãpdfpages
ãããŒãžããšã«2ã€ã®ã¹ã©ã€ãããã¬ãŒã ã§å²ãã§è¡šç€ºããããšã«ããŸããããã®éçšã§ã2ã€ã®ãã€ã³ããèæ
®ããå¿
èŠããããŸããããŸããã¢ããªã±ãŒã·ã§ã³ã®ããŒãžã«ãçªå·ãä»ããå¿
èŠããããŸããfancyhdr
ãããã£ãŠãããã±ãŒãžã«ã³ãã³ããäžããŠãå«ãŸããŠããããŒãžã§ãæ©èœããããã«ããããšãå¿ããªãã§ãã ããã第äºã«ãã¢ããªã±ãŒã·ã§ã³ã®æåã®ããŒãžã«ã¯ããã¬ãŒã³ããŒã·ã§ã³ã®æåã®2ã€ã®ã¹ã©ã€ãã ãã§ãªããèŠåºããä»é²AãããããŸããæåã®åé¡ãš2çªç®ã®åé¡ã®äž¡æ¹pagecommand
ã¯ãã¡ã€ã³ããŒã ã®ãªãã·ã§ã³ã®ãªã¹ãã«ãããã©ã¡ãŒã¿ãŒã«ãã£ãŠè§£æ±ºãããŸã\includepdf
ãããã«äœ¿ãããœãŒã¹ã³ãŒãïŒ\usepackage { pdfpages }
% ...
\includepdfset { nup=1x2,frame=true,delta=10mm 10mm,noautoscale=true }
\includepdf [ pages=1-2,scale=0.55,offset=10mm -20mm,pagecommand={ \append { }} ]{ defence.pdf }
\includepdf [ pages=3-,scale=0.55,offset=10mm 0mm,pagecommand={ \fancyhead [ R ]{ \thepage }}]{ defence.pdf }
ãããŠçµæïŒä»é²BïŒãœãããŠã§ã¢è£œåã³ãŒã
æ¿å
¥ããããœãŒã¹ã³ãŒãããã€ã©ã€ã衚瀺ããŠå°ããªçå¹
ãã©ã³ãã§è²Œãä»ããŠãåæ¥èšŒæžã®ããªãã®ååãå ããªãããã«ããããèªäœã«çŽãç¡é§ã«ããªãããã«ããŸããã¢ããªã±ãŒã·ã§ã³ã§ã¯ãããèš±å¯ãããŠããŸããããã±ãŒãžã¯ãœãŒã¹ã³ãŒãã匷調ããçŽ æŽãããä»äºãããŸãlistings
ã圌ã¯å°ãå©ããå¿
èŠã§ãïŒã³ãŒããå°å·ãããã©ã³ããæå®ããïŒãªãã·ã§ã³basicstyle
ïŒãè¡ã«åèªãæãè¿ãããã«èŠæ±ããïŒãªãã·ã§ã³breaklines
ïŒãããã°ã©ãã³ã°èšèªã®ããŒã¯ãŒãã®ã»ããã調æŽããïŒãªãã·ã§ã³morekeywords
ïŒ-CïŒ2.0ãèªèããCïŒ4.0ã§äœæããŸãããããã±ãŒãžã¯ä»ã®ãã¹ãŠã«å¯Ÿå¿ãããã®é£ã«ãããã¡ã€ã«ãããœãŒã¹ããã¹ããããŒãããŸãã\usepackage { listings }
%...
\append { }
\lstset { language= [ Sharp ] C,
morekeywords= { yield,var,get,set,from,select,partial } ,
breaklines=true,
basicstyle= \footnotesize \ttfamily }
\linespread { 1 } %
\lstinputlisting { MyCoolProjectClass.cs }
ã¯ãŒã¯ã¹ããŒã¹ã®çµç¹
LaTeXã§ã®DSTU 3008-95æšæºã®ç¿»èš³ã¯çµäºããŸãããç§ã®åæã®æåŸã®æ°è¡ã¯ãè«æã®å€æ°ã®ã»ã¯ã·ã§ã³ããµãã»ã¯ã·ã§ã³ã§äœæ¥ãæŽçããã®ãæã䟿å©ã ã£ãããšã«é¢é£ããŠããŸãããã¡ãããããã¥ã¡ã³ãå
šäœãå€ãã®ãã¡ã€ã«ã«åå²ããŸãïŒãµãã»ã¯ã·ã§ã³ïŒã»ã¯ã·ã§ã³ïŒããšã«1ã€ã®texãã¡ã€ã«ïŒãåç« ã¯ããªã©ã®ååã§åå¥ã®ãµããã©ã«ããŒã«ä¿åããŸãchapter_ProgramSynthesis
ããã®ãã©ã«ãã«ã¯chapter_ProgramSynthesis.tex
ãç« ã®ãµãã»ã¯ã·ã§ã³ã®ã¢ã»ã³ããªãsec_XXX.tex
ç¹å®ã®ãµãã»ã¯ã·ã§ã³ãå«ãå®éã®ãã¡ã€ã«ãããã³å¿
èŠãªãã¹ãŠã®è¿œå è³æïŒåçãªã©ïŒãå«ããã¡ã€ã«ããããŸããã¡ã€ã³ããã¥ã¡ã³ãã®æ¬æã«ãã£ãã¿ãŒãã¡ã€ã«ãå«ãããããèš±å¯ããã«ã¯ããµããã¡ã€ã«ãå«ãããã®ãµããã©ã«ããŒã§ãããªã¢ã«ãžã®ãã¹ãæ¢ããŸãããããã±ãŒãžã䜿çšããŸãimport
ã\subimport
äžæçã«ãã¡ã€ã«æ€çŽ¢ã«ãªããã©ã«ããŒãšãçŽæ¥ã€ã³ã¯ã«ãŒãããããã¡ã€ã«ãšãã2ã€ã®ãã©ã¡ãŒã¿ãŒãåãçŽ æŽãããããŒã ããããŸããåæ¥èšŒæžã«ç« ãå«ããããã«ãè£å©ã³ãã³ããå®çŸ©ããååã§ç« ãç°¡åã«åç
§ã§ããããã«ãªããŸãããã¡ã€ã³ãã¡ã€ã«å
diploma.tex
ïŒ\usepackage { import }
\newcommand { \includechapter }[ 1 ]{ \subimport { chapter_#1/ }{ chapter_#1 }}
\newcommand { \inputintro }{ \ input { sec_Intro } \newpage }
% ...
\includechapter { ProgramSynthesis }
ãã¡ã€ã«å
chapter_ProgramSynthesis/chapter_ProgramSynthesis.tex
ïŒ\chapter { PROGRAM SYNTHESIS }
\inputintro
\ input { sec_Basics }
\ input { sec_Stages }
\ input { sec_Example }
\ input { sec_Conclusions }
ãã¡ã€ã«sec_Basics.tex
ãšãã®ä»ã¯åããµããã©ã«ããŒã«ãããŸãchapter_ProgramSynthesis
ãåããµããã©ã«ããŒããã®ç»åãžã®ãªã³ã¯ã¯çŽæ¥çºçããŸã-èšäºã®åé ã®å®çŸ©äŸãåç
§ããŠãã ãããç§ã¯ããŒã \inputintro
ãçŽç²ãªå®ç§äž»çŸ©ãã決å®ããŸããããµãã»ã¯ã·ã§ã³ãåžžã«ãã¯ããã«ãsec_Intro.tex
ãšåŒã³ããã®åŸã«æ°ããããŒãžãéå§ããã®ã§ããªãéè€ããã³ãŒããæžãã®ã§ããïŒ :-)
ãããã«
ããã«é¢ããŠã150è¡ã®ããªã¢ã³ãã«ã®ã¿ã€ã¿ããã¯ãªèšè¿°ã¯å®å
šã§ãããšèããããšãã§ããŸããç¹°ãè¿ããŸããããã®äœæ¥ããã¹ãŠãæšæºã芳å¯ããããã®æšæºãšããŠãçŽç²ãªã圢ã§äœ¿çšããå¿
èŠã¯ãªããšæããŸããæ¢æã®ãœãªã¥ãŒã·ã§ã³ã䜿çšããæ¹ãã¯ããã«ç°¡åã§ãããããããã®èšäºãèªãã§ãå€ãã®LaTeXæ奜家ãå€ãã®æ°ããèå³æ·±ãããŒã«ãæ©èœãåŠã³ã䟿å©ãªããã±ãŒãžã§ããŒã«ããã¯ã¹ãå
å®ããããããã1ã2ã®ã¡ã¢ãåãããšãé¡ã£ãŠããŸããæåŸã«ããã®ç¡éã®ãã¯ãŒã®ããã«LaTeXãæ£ç¢ºã«æããŠããŸãããïŒ;ïŒããªãã®ã¬ã€ã¢ãŠãã§é 匵ã£ãŠãã ããïŒUPDïŒãã¹ãŠäžç·ã«åç
§ããŸãã