-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmanuscript.tex
73 lines (58 loc) · 1.6 KB
/
manuscript.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
% Master file
% Documentclass
\def\style{0}
\if\style0 % My own publication template
\documentclass[9pt, twocolumn, toc, lineno]{templates/pi/pi-article}
\fi\if\style1 % Elsevier publications
\documentclass[12pt, preprint]{elsarticle}
\fi\if\style2 % RSC publications
\documentclass[9pt, twoside, twocolumn]{article}
\fi\if\style3 % ACS publications
\documentclass[journal=cmatex,manuscript=article]{achemso}
\fi
% Graphics
\graphicspath{ {figs/} }
% SI
\externaldocument{manuscript-SI}
% Metadata
\input{templates/metadata}
% Preamble
\if\style0
\input{templates/pi/pi-preamble}
\fi\if\style1
\input{templates/els/els-preamble}
\fi\if\style2
\input{templates/rsc/rsc-preamble}
\fi\if\style3
\input{templates/acs/acs-preamble}
\fi
% Defining a 2 col figure (due to pandoc incompat)
\newenvironment{widefigure}{\begin{figure*}}{\end{figure*}}
% Defining a 2 col table (due to pandoc incompat)
\newenvironment{widetable}{\begin{table*}}{\end{table*}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% Doc input
\if\style0
\input{templates/pi/pi-doc}
\fi\if\style1
\input{templates/els/els-doc}
\fi\if\style2
\input{templates/rsc/rsc-doc}
\fi\if\style3
\input{templates/acs/acs-doc}
\fi
\input{docs/.content}
% Doc end input
\if\style3
\input{templates/acs/acs-doc-end}
\else
\section*{Acknowledgements}
\input{docs/x-acknowledgements}
\section*{Author contributions}
\input{docs/y-contributions}
\fi
\bibliography{refs/biblio}
% End doc
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%