-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy pathappendix.sty
More file actions
27 lines (20 loc) · 849 Bytes
/
Copy pathappendix.sty
File metadata and controls
27 lines (20 loc) · 849 Bytes
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
% ---- Format sections ----
% Format section headings
\titleformat{\section}{\centering\large\bfseries}{Appendix~\thesection.}{1em}{}
% Format section labels
\renewcommand{\thesection}{\Alph{section}}
% Insert page break after each section
\newcommand{\sectionbreak}{\clearpage}
% ---- Add "A" in front of labels ----
\renewcommand{\thetheorem}{A\arabic{theorem}}
\renewcommand{\theproposition}{A\arabic{proposition}}
\renewcommand{\thelemma}{A\arabic{lemma}}
\renewcommand{\thecorollary}{A\arabic{corollary}}
\renewcommand{\thedefinition}{A\arabic{definition}}
\renewcommand{\theassumption}{A\arabic{assumption}}
\renewcommand{\theremark}{A\arabic{remark}}
\renewcommand{\thetable}{A\arabic{table}}
\renewcommand{\thefigure}{A\arabic{figure}}
\renewcommand{\theequation}{A\arabic{equation}}
% ---- Enable crossreferences ----
\usepackage{xr}