-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.tex
63 lines (53 loc) · 1.37 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
\documentclass{word}
\usepackage[luatex]{graphicx}
\usepackage{framed}
\usepackage[svgnames,luatex]{xcolor}
\usepackage{listings}
\usepackage{fancybox}
\usepackage[%
luatex,%
hypertexnames=false%
]{hyperref}
% 参考文献
\usepackage[
backend=bibtex,%
bibstyle=numeric,%
sortcites=true,%
]{biblatex}
\addbibresource{main.bib}
\defbibheading{subbibnumbered}{%
\section{参考文献}%
}
\usepackage{tikz}
\usepackage{luacolor}
\usepackage[soul]{lua-ul}
\usepackage{pdfpages}
% CJKフォントを使いたい場合、dockerにNotoSerifCJKをインストールするよう設定した後
% 以下をコメントアウト
%\newfontfamily{\cjkfont}{Noto Serif CJK}
\begin{document}
% Listingsの番号再定義です。
% この命令はdocumentがはじまってからでないとダメなのでここにあります。
\renewcommand{\thelstlisting}{\arabic{lstlisting}}
% 表紙
\frontmatter
\cover{./articles/cover}
\newpage
% 目次(チャプターレベルしか目次に表示しない)
\setcounter{tocdepth}{0}
\thispagestyle{empty}
\tableofcontents
\newpage
\mainmatter
\pagestyle{fancy}
% 記事(サンプル)
\article{./articles/hinagata}
% 記事(markdownサンプル)
\article{./articles/hinagata-markdown}
% 編集後記用プレースホルダ
\phantomsection
\addcontentsline{toc}{chapter}{編集後記}
\newpage
% 裏表紙
\article{./articles/back_cover}
\end{document}