forked from artempolyvyanyy/ReuseLaTeX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcore.style.tex
186 lines (185 loc) · 7.64 KB
/
core.style.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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Style
%
% First created on: Jan 5, 2023
% Last updated on: Dec 30, 2023
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% CONFIGURE DOCUMENTCLASS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\icpm{%
\documentclass[conference]{./tpl/icpm/IEEEtran} % ICPM
\bibliographystyle{./tpl/icpm/IEEEtran}
\usepackage[noadjust]{cite} % fix citations form [1],[2],[3] to [1-3].
\renewcommand{\citepunct}{,\penalty\citepunctpenalty\,}
\renewcommand{\citedash}{--}% optionally
\usepackage[firstpage]{draftwatermark}
\SetWatermarkAngle{0}
\SetWatermarkFontSize{12pt}
\SetWatermarkHorCenter{170.5mm}
\SetWatermarkVerCenter{264mm}
\SetWatermarkLightness{0.6}
\SetWatermarkText{Draft{,} \monthyeardate\today}
\usepackage[pdfsubject={},
pdftitle={},
pdfauthor={},
pdfkeywords={},
colorlinks=false,
pdfborder={0.25 0.25 0.25}]{hyperref}
\hypersetup{bookmarksdepth}
}
\def\lncs{% lnbip
\documentclass[runningheads,orivec]{./tpl/lncs/llncs} % LNCS, LNBIP
\setlength{\paperheight}{232.8mm}
\setlength{\paperwidth}{151.5mm}
\setlength\voffset {-21mm}
\setlength\hoffset {-34mm}
\bibliographystyle{./tpl/lncs/splncs04nat}
\usepackage[firstpage]{draftwatermark}
\SetWatermarkAngle{0}
\SetWatermarkFontSize{10pt}
\SetWatermarkHorCenter{153mm}
\SetWatermarkVerCenter{240mm}
\SetWatermarkLightness{0.6}
\SetWatermarkText{Draft{,} \monthyeardate\today}
\usepackage[pdfsubject={},
pdftitle={},
pdfauthor={},
pdfkeywords={},
colorlinks=false,
pdfborder={0.25 0.25 0.25}]{hyperref}
\hypersetup{bookmarksdepth}
}
\def\article{%
\documentclass{article} % article
\setlength{\paperheight} {232.8mm}
\setlength{\paperwidth} {151.5mm}
\setlength\voffset {-26mm}
\setlength\hoffset {-32mm}
\bibliographystyle{plain}
\usepackage[firstpage]{draftwatermark}
\SetWatermarkAngle{0}
\SetWatermarkFontSize{10pt}
\SetWatermarkHorCenter{153mm}
\SetWatermarkVerCenter{247mm}
\SetWatermarkLightness{0.6}
\SetWatermarkText{Draft{,} {\monthyeardate\today}}
\usepackage[pdfsubject={},
pdftitle={},
pdfauthor={},
pdfkeywords={},
colorlinks=false,
pdfborder={0.25 0.25 0.25}]{hyperref}
\hypersetup{bookmarksdepth}
}
\def\tkde{%
\documentclass[10pt,journal,compsoc]{./tpl/tkde/IEEEtran} % TKDE
\bibliographystyle{./tpl/tkde/IEEEtran}
\renewcommand{\citepunct}{,\penalty\citepunctpenalty\,}
\renewcommand{\citedash}{--}% optionally
\ifCLASSOPTIONcompsoc
% The IEEE Computer Society needs nocompress option
% requires cite.sty v4.0 or later (November 2003)
\usepackage[nocompress]{cite}
\else
% normal IEEE
\usepackage{cite}
\fi
\usepackage[firstpage]{draftwatermark}
\SetWatermarkAngle{0}
\SetWatermarkFontSize{12pt}
\SetWatermarkHorCenter{182mm}
\SetWatermarkVerCenter{269mm}
\SetWatermarkLightness{0.6}
\SetWatermarkText{Draft{,} \monthyeardate\today}
\usepackage[pdfsubject={},
pdftitle={},
pdfauthor={},
pdfkeywords={},
colorlinks=false,
pdfborder={0.25 0.25 0.25}]{hyperref}
\hypersetup{bookmarksdepth}
}
\def\aaai{%
\documentclass[letterpaper]{article} % DO NOT CHANGE THIS
%\bibliographystyle{./tpl/aaai/aaai23}
\usepackage[submission]{./tpl/aaai/aaai23} % DO NOT CHANGE THIS
\usepackage{times} % DO NOT CHANGE THIS
\usepackage{helvet} % DO NOT CHANGE THIS
\usepackage{courier} % DO NOT CHANGE THIS
\usepackage[hyphens]{url} % DO NOT CHANGE THIS
\usepackage{graphicx} % DO NOT CHANGE THIS
\urlstyle{rm} % DO NOT CHANGE THIS
\def\UrlFont{\rm} % DO NOT CHANGE THIS
\usepackage{natbib} % DO NOT CHANGE THIS AND DO NOT ADD ANY OPTIONS TO IT
\usepackage{caption} % DO NOT CHANGE THIS AND DO NOT ADD ANY OPTIONS TO IT
\frenchspacing % DO NOT CHANGE THIS
\setlength{\pdfpagewidth}{8.5in} % DO NOT CHANGE THIS
\setlength{\pdfpageheight}{11in} % DO NOT CHANGE THIS
%
% These are are recommended to typeset listings but not required. See the subsubsection on listing. Remove this block if you don't have listings in your paper.
%\usepackage{newfloat}
%\usepackage{listings}
%\DeclareCaptionStyle{ruled}{labelfont=normalfont,labelsep=colon,strut=off} % DO NOT CHANGE THIS
%\lstset{%
%basicstyle={\footnotesize\ttfamily},% footnotesize acceptable for monospace
%numbers=left,numberstyle=\footnotesize,xleftmargin=2em,% show line numbers, remove this entire line if you don't want the numbers.
%aboveskip=0pt,belowskip=0pt,%
%showstringspaces=false,tabsize=2,breaklines=true}
%\floatstyle{ruled}
%\newfloat{listing}{tb}{lst}{}
%\floatname{listing}{Listing}
%
% Keep the \pdfinfo as shown here. There's no need
% for you to add the /Title and /Author tags.
%\pdfinfo{
%/TemplateVersion (2023.1)
%}
% DISALLOWED PACKAGES
% \usepackage{authblk} -- This package is specifically forbidden
% \usepackage{balance} -- This package is specifically forbidden
% \usepackage{color (if used in text)
% \usepackage{CJK} -- This package is specifically forbidden
% \usepackage{float} -- This package is specifically forbidden
% \usepackage{flushend} -- This package is specifically forbidden
% \usepackage{fontenc} -- This package is specifically forbidden
% \usepackage{fullpage} -- This package is specifically forbidden
% \usepackage{geometry} -- This package is specifically forbidden
% \usepackage{grffile} -- This package is specifically forbidden
% \usepackage{hyperref} -- This package is specifically forbidden
% \usepackage{navigator} -- This package is specifically forbidden
% (or any other package that embeds links such as navigator or hyperref)
% \indentfirst} -- This package is specifically forbidden
% \layout} -- This package is specifically forbidden
% \multicol} -- This package is specifically forbidden
% \nameref} -- This package is specifically forbidden
% \usepackage{savetrees} -- This package is specifically forbidden
% \usepackage{setspace} -- This package is specifically forbidden
% \usepackage{stfloats} -- This package is specifically forbidden
% \usepackage{tabu} -- This package is specifically forbidden
% \usepackage{titlesec} -- This package is specifically forbidden
% \usepackage{tocbibind} -- This package is specifically forbidden
% \usepackage{ulem} -- This package is specifically forbidden
% \usepackage{wrapfig} -- This package is specifically forbidden
% DISALLOWED COMMANDS
% \nocopyright -- Your paper will not be published if you use this command
% \addtolength -- This command may not be used
% \balance -- This command may not be used
% \baselinestretch -- Your paper will not be published if you use this command
% \clearpage -- No page breaks of any kind may be used for the final version of your paper
% \columnsep -- This command may not be used
% \newpage -- No page breaks of any kind may be used for the final version of your paper
% \pagebreak -- No page breaks of any kind may be used for the final version of your paperr
% \pagestyle -- This command may not be used
% \tiny -- This is not an acceptable font size.
% \vspace{- -- No negative value may be used in proximity of a caption, figure, table, section, subsection, subsubsection, or reference
% \vskip{- -- No negative value may be used to alter spacing above or below a caption, figure, table, section, subsection, subsubsection, or reference
%\setcounter{secnumdepth}{0} %May be changed to 1 or 2 if section numbers are desired.
\usepackage[firstpage]{draftwatermark}
\SetWatermarkAngle{0}
\SetWatermarkFontSize{12pt}
\SetWatermarkHorCenter{182mm}
\SetWatermarkVerCenter{269mm}
\SetWatermarkLightness{0.6}
\SetWatermarkText{Draft{,} \monthyeardate\today}
}
\csname\mode\endcsname
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%