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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
|
%\usepackage{dw}
%\usepackage[sfdefault]{AlegreyaSans}
%\geometry{a5paper,twocolumn}
%\geometry{a4paper,twocolumn}
\usepackage[margin=1.2cm,bottom=1.7cm,a4paper,twocolumn]{geometry}
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.1em}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{1}
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\hbadness=10000
\usepackage{Alegreya}
\usepackage{AlegreyaSans}
\ifluatex
\usepackage{fontspec}
\directlua{luaotfload.add_fallback
("emojifallback",
{
"Noto Color Emoji:mode=harf;"
}
)}
\setmainfont{Alegreya Sans}[
RawFeature={fallback=emojifallback}
]
\else
\usepackage{hwemoji}
% \usepackage{twemojis}
% \DeclareUnicodeCharacter{2605}{$\bigstar$}
% \DeclareUnicodeCharacter{1F311}{\texttwemoji{1f311}}
% \DeclareUnicodeCharacter{1F312}{\texttwemoji{1f312}}
% \DeclareUnicodeCharacter{1F313}{\texttwemoji{1f313}}
% \DeclareUnicodeCharacter{1F314}{\texttwemoji{1f314}}
% \DeclareUnicodeCharacter{1F315}{\texttwemoji{1f315}}
% \DeclareUnicodeCharacter{1F311}{\texttwemoji{1f311}}
\fi
\pagestyle{empty}
\usepackage{multicol}
\setlength{\multicolsep}{3.0pt plus 2.0pt minus 1.5pt}% 50% of original values
%\usepackage{multicol}
%\AtBeginDocument{\begin{multicols*}{2}}
%\AtEndDocument{\end{multicols*}}
%%\setlength{\columnseprule}{0.1pt}
\setlength{\columnsep}{1.5em}
\renewcommand{\maketitle}{
{\large%
{\scshape\bfseries\@title}%
\ifx\@date\empty%
\else%
-- \@date%
\fi%
}%
}
%\cfoot{}
%\makeatletter
%\renewcommand{\section}{\@startsection
% {section}% % the name
% {1}% % the level
% {\z@}% % the indent / 0mm
% {-0.5\baselineskip}% % the before skip
% {0.05\baselineskip}% % the after skip
% {\Large\selectfont\scshape\bfseries}} % the style
%\renewcommand{\subsection}{\@startsection
% {subsection}% % the name
% {2}% % the level
% {\z@}% % the indent / 0mm
% {-0.005\baselineskip}% % the before skip
% {0mm}%{\baselineskip}% % the after skip
% {\large\bfseries}} % the style
%\renewcommand{\subsubsection}{\@startsection
% {subsubsection}% % the name
% {3}% % the level
% {\z@}% % the indent / 0mm
% {-0.2\baselineskip}% % the before skip
% {0.005\baselineskip}% % the after skip
% {\itshape}} % the style
%\makeatother
\usepackage{enumitem}
\setlist{nosep,leftmargin=1.2em}
\renewcommand{\labelitemi}{$\bullet$}
\renewcommand{\labelitemii}{$\diamond$}
\renewcommand{\labelitemiii}{$\cdot$}
\renewcommand{\labelitemiv}{$\ast$}
\renewenvironment{quote}
{\small\list{}{\rightmargin=1em \leftmargin=1em}%
\item\relax}
{\endlist}
\usepackage{titlesec}
%\titlespacing\section{0pt}{4pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
%\titlespacing\subsection{0pt}{0pt plus 0pt minus 0pt}{0pt plus 0pt minus 0pt}
%\titlespacing\section{0pt}{4pt plus 5pt minus 5pt}{-\parskip}
%\titlespacing\section{0pt}{4pt plus 5pt minus 10pt}{-5pt plus 3pt minus 0pt}
%\titlespacing\subsection{0pt}{0pt plus 0pt minus 3pt}{-0.3em plus 0pt minus 0pt}
%\titlespacing\subsubsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\titlespacing\section{0pt}{1em plus 5em minus 0.5em}{0.2em plus 0pt minus 0pt}
\titlespacing\subsection{0pt}{0.3em plus 1em minus 0.1em}{0.3em plus 1em minus 0pt}
\titlespacing\subsubsection{0pt}{0.3em plus 1em minus 0pt}{0.3em plus 1em minus 0pt}
\titlespacing\paragraph{0pt}{0.3em plus 1em minus 0pt}{0.2em plus 0pt minus 0pt}
%\titlespacing*\section{0pt}{*2}{*0}
%\titlespacing*\subsection{0pt}{*1}{*0}
%\titlespacing*\paragraph{0pt}{*1}{*0}
% section
%\titleformat
%{\section} % command
%[display] % shape
%{\bfseries\Large} % format
%{} % label
%{0pt} % sep
%{%
% %\vspace{-1em}%
% %\rule{\linewidth}{1pt}\\%
% %\vspace{-1em}\\%
% %\centering
% %{\titlerule\newline}
% \vspace{-1em}%
% \rule{\linewidth}{1pt}%
% \vspace{-0.3em}\\
%} % before-code
%[] % after-code
\titleformat{\section}{\titlerule[1pt]\vspace{0.1em}\normalfont\Large\bfseries}{\thesection}{1em}{}
% subsection
\titleformat
{\subsection} % command
[display] % shape
{\bfseries\large} % format
{} % label
{0pt} % sep
{%
\rule[0ex]{1.2ex}{1.2ex}\hspace{0.2ex}
} % before-code
[] % after-code
% subsubsection
\titleformat
{\subsubsection} % command
[display] % shape
{\bfseries\large} % format
{} % label
{0pt} % sep
{} % before-code
[] % after-code
% paragraph
\titleformat
{\paragraph} % command
[display] % shape
{\itshape} % format
{} % label
{0pt} % sep
{} % before-code
[] % after-code
%\clubpenalty10000
%\widowpenalty10000
\usepackage[table]{xcolor}
\definecolor{linkcolor}{RGB}{20,50,100}
\hypersetup{
colorlinks=true,
linkcolor=linkcolor,
urlcolor=linkcolor,
filecolor=linkcolor,
linkbordercolor=linkcolor,
filebordercolor=linkcolor,
urlbordercolor=linkcolor
}
\usepackage{kinote-frames}
\usepackage{placeins}
\makeatletter
\def\WFfill{\par
\ifx\parshape\WF@fudgeparshape
\nobreak
\ifnum\c@WF@wrappedlines>\@ne
\advance\c@WF@wrappedlines\m@ne
\vskip\c@WF@wrappedlines\baselineskip
\global\c@WF@wrappedlines\z@
\fi
\allowbreak
\WF@finale
\fi
}
\makeatother
\let\Oldsection\section
\renewcommand{\section}{\FloatBarrier\WFfill\WFclear\Oldsection}
\let\Oldsubsection\subsection
\renewcommand{\subsection}{\FloatBarrier\WFfill\WFclear\Oldsubsection}
\let\Oldsubsubsection\subsubsection
\renewcommand{\subsubsection}{\FloatBarrier\WFfill\WFclear\Oldsubsubsection}
|