-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.tex
186 lines (147 loc) · 5.74 KB
/
test.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
\documentclass[UTF8, punct=kaiming, zihao=-4, a4paper]{ctexbook}
\input{fonts}
\usepackage{multicol}
\pagestyle{empty}
\usepackage[usenames, table, svgnames]{xcolor}
% 黑白色
\definecolor{white}{HTML}{FFFFFF}
\definecolor{black}{HTML}{000000}
\definecolor{darkgray}{HTML}{333333}
\definecolor{gray}{HTML}{5D5D5D}
\definecolor{lightgray}{HTML}{999999}
\definecolor{midgray}{HTML}{666666}
% 基本色
\definecolor{green}{HTML}{C2E15F}
\definecolor{orange}{HTML}{FDA333}
\definecolor{purple}{HTML}{D3A4F9}
\definecolor{red}{HTML}{FB4485}
\definecolor{blue}{HTML}{6CE0F1}
% 日本色
\definecolor{sakura}{HTML}{FEDFE1}
\definecolor{ichigo}{HTML}{B5495B}
\definecolor{momo}{HTML}{F596AA}
\definecolor{kurenai}{HTML}{CB1B45}
\definecolor{butan}{HTML}{C1328E}
\definecolor{usubeni}{HTML}{E87A90}
\definecolor{nanoha}{HTML}{F7D94C}
\definecolor{enji}{HTML}{9F353A}
\definecolor{gusa}{HTML}{7DB9DE}
\definecolor{asagi}{HTML}{33A6B8}
\definecolor{mizu}{HTML}{81C7D4}
\definecolor{chigusa}{HTML}{3A8FB7} % 千草
\definecolor{ruri}{HTML}{005CAF} % 琉璃
% 作品色
\definecolor{saki}{HTML}{FEDFE1} % 咲 -Saki-, 桜
\definecolor{lovelive}{HTML}{91B493} % LoveLive, 薄青
\usepackage{geometry}
\geometry{left=2.4cm, top=2.6cm, headheight=.8cm, right=2.0cm, bottom=3.0cm, footskip=.8cm}
% \usepackage[toc]{multitoc}
\usepackage[math-style=TeX, vargreek-shape=unicode]{unicode-math}
\usepackage{pifont}
% \usepackage{fontawesome}
\usepackage{tabularx}
\usepackage{xhfill}
\newcommand{\xfill}[2][1ex]{{%
\dimen0=#2\advance\dimen0 by #1
\leaders\hrule height \dimen0 depth -#1\hfill%
}}
\newcommand{\xfilll}[2][1ex]{%
\dimen0=#2\advance\dimen0 by #1%
\leaders\hrule height \dimen0 depth -#1\hfill%
}
\usepackage{multirow}
\usepackage{ruby}
\usepackage{enumitem}
\linespread{1.4}
\setlist{partopsep=2pt, itemsep=1pt, parsep=0pt}
\setlist[itemize, 1]{align=left, labelindent*=1em, label={\makebox[1.8em][r]{\color{ichigo}\ding{166}}}, topsep={1pt plus 1pt minus 1pt}, itemsep={3pt plus 1pt minus 2pt}}
\setlist[itemize, 2]{leftmargin=0em, label={\color{gusa}\ding{101}}, topsep={2pt plus 2pt minus 1.5pt}, partopsep={3pt plus 2pt minus 3pt}, itemsep={1pt plus 1pt minus 1pt}, parsep={1pt plus 1pt minus 1pt}}
\setlist[enumerate, 1]{leftmargin=0em, labelindent*=.5em}
\setlist[enumerate, 2]{leftmargin=0em, labelindent*=.5em, topsep=0pt}
\usepackage{fancyhdr}
%\fancyhfoffset{0em}
%\renewcommand{\headrulewidth}{0pt}
%\fancyhf{}
\pagestyle{fancy}
%\fancyfoot{}
%\fancyfoot[R]{}
%\usepackage{tablestyles}
\usepackage{longtable}
\usepackage{colortbl}
\newcommand{\DataTable}[3]{{
\zihao{5}\renewcommand\baselinestretch{1.25}\selectfont
\ctexset{space=true}
\begin{longtable}{#2}% #2 = col
#3
% \centering
% \caption{#1}
% \label{#1}% #1 = caption
\end{longtable}
}}
\newcommand{\thead}{\bfseries \centering}
\newcommand{\codesu}[1]{\multicolumn{3}{l}{#1}}
\newcommand{\kokomade}[1]{\multicolumn{3}{l}{\xrfill{1.5pt}{#1}\xrfill{1.5pt}}}
\newcommand{\VoteFont}{\fontsize{11}{12}\kasho}
\newcommand{\VoteTabled}[1]{{\mincho\begin{tabular}{rrl}#1\end{tabular}}}
\newcommand{\VoteTable}[1]{{\begin{quote}\ctexset{space=true}\VoteFont #1\end{quote}}}
\newcommand{\VoteTables}[2]{{\ctexset{space=true}
\begin{longtable}{ll}
\begin{minipage}[t]{.37\textwidth}\kai 砍票前:\\\VoteFont #1\end{minipage} &
\begin{minipage}[t]{.59\textwidth}\kai 砍票后:\\\VoteFont #2\end{minipage}
\end{longtable}}
}\newcommand{\VoteTablet}[2]{{\ctexset{space=true}
砍票前:\\{\VoteFont #1}\par
砍票后:\\{\VoteFont #2}
}}
\newcommand{\Graph}[1]{\includegraphics[width=0.45\textwidth]{images/graph#1}}
\usepackage[hidelinks,unicode]{hyperref}
\hypersetup{
pdftitle={Saki萌战应援},
pdfauthor={王者自由},
pdfsubject={2014},
pdfkeywords={}
}
\makeatletter
\providecommand\phantomsection{}% for hyperref
\newcommand\listofillustrations{%
\chapter*{引用}%
\phantomsection
\section*{插图}%
\phantomsection
\@starttoc{lof}%
\bigskip
\section*{表格}%
\phantomsection
\@starttoc{lot}}
\makeatother
\newcommand*{\plogo}{\fbox{$\mathcal{CP20}$}} % Generic publisher logo
\usepackage{graphicx} % Required for box manipulation
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\newcommand*{\rotrt}[1]{\rotatebox{90}{#1}} % Command to rotate right 90 degrees
\newcommand*{\rotlft}[1]{\rotatebox{-90}{#1}} % Command to rotate left 90 degrees
\newcommand*{\titleBC}{\begingroup % Create the command for including the title page in the document
\centering % Center all text
\def\CP{\textit{\Huge\zhongs Saki萌战应援}} % Title
\settowidth{\unitlength}{\CP\CP} % Set the width of the curly brackets to the width of the title
{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotrt{$\}$}}} \\[\baselineskip] % Print top curly bracket
\textcolor{Sienna}{\CP} \\[\baselineskip] % Print title
{\color{RosyBrown}\Large\kasho\bfseries SAKI SAIMOE 2014} \\ % Tagline or further description
{\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotlft{$\}$}}} % Print bottom curly bracket
\vfill % Whitespace between the title and the author name
{\Large\kasho{王者自由\\[.5em](咲衣憧)}}\\ % Author name
\vfill % Whitespace between the author name and the publisher logo
\plogo\\[0.5\baselineskip] % Publisher logo
2017·5·1 % Year published
\endgroup}
\newcommand{\Madomagi}{劇場版~魔法少女まどか$\!\!$☆$\!\!$マギカ$\!\!$[$\!\!$新編$\!\!$]$\!\!$叛逆の物語}
\newcommand{\Mado}{魔法少女まどか$\!\!$☆$\!\!$マギカ}
\newcommand{\Saki}{咲-Saki-~全国編}
\newcommand{\Railgan}{とある科学の超電磁砲$\!$S}
\newcommand{\Kaminomi}{神のみぞ知るセカイ~女神篇}
\begin{document}
\zihao{5}
\tableofcontents
\input{kashi}
\end{document}