texstyles 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +50 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +34 -0
- data/Rakefile +10 -0
- data/lib/texstyles.rb +26 -0
- data/lib/texstyles/style.rb +38 -0
- data/styles/a0poster-landscape.tex.erb +84 -0
- data/styles/a0poster-portrait.tex.erb +84 -0
- data/styles/aa.tex.erb +46 -0
- data/styles/aa_onecolumn.tex.erb +45 -0
- data/styles/aa_twocolumn.tex.erb +47 -0
- data/styles/aaai.tex.erb +29 -0
- data/styles/abnt.tex.erb +141 -0
- data/styles/acl.tex.erb +46 -0
- data/styles/acm.tex.erb +77 -0
- data/styles/acm_large.tex.erb +82 -0
- data/styles/acm_sig_alternate.tex.erb +116 -0
- data/styles/acm_sig_strict.tex.erb +90 -0
- data/styles/acs.tex.erb +76 -0
- data/styles/agu.tex.erb +211 -0
- data/styles/aiaa.tex.erb +84 -0
- data/styles/aip_preprint.tex.erb +65 -0
- data/styles/aip_reprint.tex.erb +67 -0
- data/styles/aisb2008.tex.erb +31 -0
- data/styles/aj_manuscript.tex.erb +76 -0
- data/styles/aj_preprint.tex.erb +78 -0
- data/styles/ajps.tex.erb +69 -0
- data/styles/alma.tex.erb +53 -0
- data/styles/ams_one.tex.erb +115 -0
- data/styles/ams_two.tex.erb +119 -0
- data/styles/apa_doc.tex.erb +21 -0
- data/styles/apj_emulate.tex.erb +104 -0
- data/styles/apj_manuscript.tex.erb +76 -0
- data/styles/aps.tex.erb +79 -0
- data/styles/aps_preprint.tex.erb +79 -0
- data/styles/article.tex.erb +28 -0
- data/styles/asp.tex.erb +26 -0
- data/styles/authorea-double-numbered.tex.erb +65 -0
- data/styles/authorea-double.tex.erb +62 -0
- data/styles/authorea-numbered.tex.erb +62 -0
- data/styles/authorea.tex.erb +59 -0
- data/styles/biogeosciences.tex.erb +71 -0
- data/styles/bioinformatics.tex.erb +34 -0
- data/styles/bmc.tex.erb +212 -0
- data/styles/book.tex.erb +22 -0
- data/styles/cernatsnote.tex.erb +28 -0
- data/styles/cernyrep.tex.erb +28 -0
- data/styles/chandra.tex.erb +182 -0
- data/styles/cogsci.tex.erb +43 -0
- data/styles/cornell.tex.erb +75 -0
- data/styles/cv.tex.erb +30 -0
- data/styles/development.tex.erb +55 -0
- data/styles/dfgproposal.tex.erb +103 -0
- data/styles/dod.tex.erb +221 -0
- data/styles/doe.tex.erb +62 -0
- data/styles/econf.tex.erb +174 -0
- data/styles/egu.tex.erb +73 -0
- data/styles/elsevier.tex.erb +138 -0
- data/styles/elsevier_review.tex.erb +140 -0
- data/styles/elsevier_softwarex.tex.erb +132 -0
- data/styles/elsevier_twocolumn.tex.erb +148 -0
- data/styles/empty.tex.erb +29 -0
- data/styles/epjc.tex.erb +78 -0
- data/styles/f1000.tex.erb +38 -0
- data/styles/frontiersENG.tex.erb +66 -0
- data/styles/frontiersFPHY.tex.erb +67 -0
- data/styles/frontiersMED.tex.erb +66 -0
- data/styles/frontiersSCNS.tex.erb +66 -0
- data/styles/g3.tex.erb +57 -0
- data/styles/geophysics.tex.erb +38 -0
- data/styles/gji.tex.erb +51 -0
- data/styles/hess.tex.erb +71 -0
- data/styles/hst.tex.erb +37 -0
- data/styles/iclr.tex.erb +35 -0
- data/styles/ieee_bare_conf.tex.erb +316 -0
- data/styles/ieee_bare_jrnl.tex.erb +459 -0
- data/styles/ieee_bare_jrnl_compsoc.tex.erb +530 -0
- data/styles/ifac.tex.erb +36 -0
- data/styles/ijcai.tex.erb +60 -0
- data/styles/imsart_aas.tex.erb +82 -0
- data/styles/imsart_as.tex.erb +82 -0
- data/styles/iop.tex.erb +93 -0
- data/styles/iram_proposal.tex.erb +93 -0
- data/styles/jacow.tex.erb +77 -0
- data/styles/jfm.tex.erb +43 -0
- data/styles/jhep.tex.erb +57 -0
- data/styles/jinst.tex.erb +46 -0
- data/styles/jrss.tex.erb +32 -0
- data/styles/jxb.tex.erb +56 -0
- data/styles/lncs.tex.erb +75 -0
- data/styles/mdpi.tex.erb +122 -0
- data/styles/mit.tex.erb +186 -0
- data/styles/mnras.tex.erb +41 -0
- data/styles/nasa.tex.erb +111 -0
- data/styles/nature.tex.erb +34 -0
- data/styles/nature_scirep.tex.erb +36 -0
- data/styles/nih.tex.erb +223 -0
- data/styles/nime.tex.erb +82 -0
- data/styles/nips.tex.erb +26 -0
- data/styles/nsf.tex.erb +66 -0
- data/styles/osaexpress.tex.erb +73 -0
- data/styles/osaletters.tex.erb +54 -0
- data/styles/peerj.tex.erb +45 -0
- data/styles/plos.tex.erb +69 -0
- data/styles/plos2015.tex.erb +237 -0
- data/styles/pnas.tex.erb +118 -0
- data/styles/report.tex.erb +17 -0
- data/styles/rsc.tex.erb +99 -0
- data/styles/sciadvances.tex.erb +120 -0
- data/styles/science.tex.erb +127 -0
- data/styles/sigchi.tex.erb +91 -0
- data/styles/sigplan.tex.erb +94 -0
- data/styles/spie.tex.erb +68 -0
- data/styles/spieman.tex.erb +75 -0
- data/styles/springer.tex.erb +92 -0
- data/styles/springer_twocolumn.tex.erb +92 -0
- data/styles/svmono.tex.erb +63 -0
- data/styles/trb.tex.erb +150 -0
- data/styles/tufte-handout.tex.erb +60 -0
- data/styles/uchicago.tex.erb +53 -0
- data/styles/ucriverside.tex.erb +79 -0
- data/styles/uiowa.tex.erb +78 -0
- data/styles/umich.tex.erb +68 -0
- data/styles/uvic.tex.erb +196 -0
- data/styles/uwollongong.tex.erb +149 -0
- data/texstyles.gemspec +25 -0
- metadata +258 -0
@@ -0,0 +1,68 @@
|
|
1
|
+
% Use the University of Michigan thesis class.
|
2
|
+
\documentclass[thesis]{thesis-umich}
|
3
|
+
|
4
|
+
|
5
|
+
<%=@default_packages%>
|
6
|
+
|
7
|
+
<%=@header%>
|
8
|
+
|
9
|
+
% Title of the thesis
|
10
|
+
\title{<%=@long_title%>}
|
11
|
+
|
12
|
+
% Author name
|
13
|
+
\author{<%=@first_author%>}
|
14
|
+
|
15
|
+
% Department
|
16
|
+
\department{Department}
|
17
|
+
|
18
|
+
% Year of completion
|
19
|
+
\year=2016
|
20
|
+
|
21
|
+
% Frontispiece
|
22
|
+
\frontispiece{}
|
23
|
+
|
24
|
+
% Default style for front pages
|
25
|
+
\frontpagestyle{1}
|
26
|
+
|
27
|
+
% Dedication
|
28
|
+
\dedication{ %
|
29
|
+
Dedication}
|
30
|
+
|
31
|
+
% Acknowledgments
|
32
|
+
\acknowledgments[6]{ %
|
33
|
+
Acknowledgments}
|
34
|
+
% This command sets the width of the acknowledgments area as a fraction
|
35
|
+
% of the total width of the text area.
|
36
|
+
\acknowledgmentswidth{0.8}
|
37
|
+
|
38
|
+
% Preface
|
39
|
+
\preface[2]{ %
|
40
|
+
Preface}
|
41
|
+
|
42
|
+
% Committee
|
43
|
+
\committee{ %
|
44
|
+
Committee}
|
45
|
+
|
46
|
+
% Chair must be entered separately for formatting reasons.
|
47
|
+
\chair{Chair}
|
48
|
+
|
49
|
+
% Commands to hide or show lists of figures, tables, etc.
|
50
|
+
%\hidelistoftables
|
51
|
+
\showlistofprograms
|
52
|
+
\showlistofappendices
|
53
|
+
|
54
|
+
% Definition of any abbreviations used.
|
55
|
+
\abbreviations{
|
56
|
+
}
|
57
|
+
|
58
|
+
% Using AIAA bibliography style since I'm in aero.
|
59
|
+
|
60
|
+
% Some abstract text
|
61
|
+
\abstract{<%= @abstract %>}
|
62
|
+
%\hideabstractpagenumber
|
63
|
+
|
64
|
+
%% DOCUMENT AREA
|
65
|
+
\begin{document}
|
66
|
+
|
67
|
+
|
68
|
+
|
data/styles/uvic.tex.erb
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
\documentclass[12pt,oneside]{book}
|
2
|
+
|
3
|
+
\pagestyle{headings}
|
4
|
+
|
5
|
+
% Note that the line below could be modified to suit a
|
6
|
+
% particular system since the "geometry" package behaves
|
7
|
+
% differently in Unix, Windows and Mac, especially for the
|
8
|
+
% top margins.
|
9
|
+
% Adjust the parameter "top" (measuring the height of the
|
10
|
+
% space allocated to a header) and "headsep" (measuring
|
11
|
+
% the distance from the bottom of the header to the
|
12
|
+
% first line of text.
|
13
|
+
\usepackage[top=1.3in,left=1.5in,bottom=1in,right=1in,headsep=0.5in]{geometry}
|
14
|
+
|
15
|
+
\usepackage{setspace}
|
16
|
+
\onehalfspacing
|
17
|
+
%\doublespacing
|
18
|
+
|
19
|
+
% Headers and footers for thesis
|
20
|
+
\usepackage{fancyhdr}
|
21
|
+
|
22
|
+
\markboth{}{}
|
23
|
+
\newcommand\startchapter[1]{\chapter{#1}\thispagestyle{myheadings}}
|
24
|
+
\newcommand\startappendix[1]{\chapter{#1}\thispagestyle{myheadings}}
|
25
|
+
\newcommand\startfirstchapter[1]{\chapter{#1}}
|
26
|
+
|
27
|
+
% Manual addition of section to Table of Contents
|
28
|
+
\newcommand\TOCadd[1]{\newpage\phantomsection\addcontentsline{toc}{chapter}{#1}}
|
29
|
+
|
30
|
+
% Float Customization
|
31
|
+
\renewcommand{\floatpagefraction}{0.01}
|
32
|
+
|
33
|
+
% Customization of Tables of Contents and List of Figures/Tables
|
34
|
+
\usepackage{tocloft}
|
35
|
+
\renewcommand\cfttabpresnum{Table\ }
|
36
|
+
\renewcommand\cfttabnumwidth{0.75in}
|
37
|
+
\renewcommand\cftfigpresnum{Figure\ }
|
38
|
+
\renewcommand\cftfignumwidth{0.80in}
|
39
|
+
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
|
40
|
+
|
41
|
+
% Long Table and decimal aligned columns
|
42
|
+
\usepackage{dcolumn}
|
43
|
+
\usepackage{longtable}
|
44
|
+
|
45
|
+
% Mathematics support
|
46
|
+
\usepackage{amsmath}
|
47
|
+
\usepackage{amsthm}
|
48
|
+
\usepackage{amssymb}
|
49
|
+
|
50
|
+
|
51
|
+
% Text Control
|
52
|
+
\usepackage{xspace}
|
53
|
+
\usepackage{textcase}
|
54
|
+
|
55
|
+
% Graphics
|
56
|
+
\usepackage{wasysym}
|
57
|
+
\usepackage{graphics}
|
58
|
+
\usepackage{graphicx} % A package to allow insertion of
|
59
|
+
% external image files
|
60
|
+
|
61
|
+
|
62
|
+
<%=@header%>
|
63
|
+
|
64
|
+
\begin{document}
|
65
|
+
|
66
|
+
% Front Matter
|
67
|
+
%\input frontmatter/fm
|
68
|
+
|
69
|
+
|
70
|
+
\newcommand\thesistitle{<%=@long_title%>}
|
71
|
+
% One needs to make adjustments for a Master's Thesis
|
72
|
+
\newcommand\nameanddegrees{%
|
73
|
+
<%=@first_author%>\\
|
74
|
+
Degree, Year}
|
75
|
+
\newcommand\panel{%
|
76
|
+
\HRule\\\panelist{Panelist}{Supervisor}{Department of Same As Candidate}
|
77
|
+
\HRule\\\panelist{Panelist}{Departmental Member}{Department of Same As Candidate}
|
78
|
+
\HRule\\\panelist{Panelist}{Departmental Member}{Department of Same As Candidate}
|
79
|
+
\HRule\\\panelist{Panelist}{Outside Member}{Department of Not Same As Candidate}}
|
80
|
+
%\HRule\\\panelist{Dr. \Ans{Current Unknown}}{Additional Member}{Department of \Ans{Current Unknown Department}}}
|
81
|
+
% Titlepage break
|
82
|
+
\newcommand\tpbreak{\\[\baselineskip]}
|
83
|
+
|
84
|
+
\newpage
|
85
|
+
% Suppress numbers on the first page
|
86
|
+
\thispagestyle{empty}
|
87
|
+
|
88
|
+
% Header Footer Setup (for Front matter)
|
89
|
+
\pagestyle{myheadings}
|
90
|
+
\pagenumbering{roman}
|
91
|
+
% We use this in addition to the default \LaTeX page configuration routines
|
92
|
+
% because we have no way of saying \thispagestyle after the glossary and bibliography starts.
|
93
|
+
\fancypagestyle{plain}{%
|
94
|
+
\fancyhf{}
|
95
|
+
\fancyhead[R]{\thepage}
|
96
|
+
\renewcommand{\headrulewidth}{0pt}
|
97
|
+
\renewcommand{\footrulewidth}{0pt}
|
98
|
+
}
|
99
|
+
|
100
|
+
% Front Matter
|
101
|
+
%\input frontmatter/tp
|
102
|
+
%\input frontmatter/sc
|
103
|
+
%\input frontmatter/abs
|
104
|
+
|
105
|
+
\pagebreak
|
106
|
+
{
|
107
|
+
\centering
|
108
|
+
\thesistitle
|
109
|
+
\tpbreak
|
110
|
+
by
|
111
|
+
\tpbreak
|
112
|
+
\nameanddegrees
|
113
|
+
\tpbreak
|
114
|
+
% One needs to make adjustments for a Master's Thesis
|
115
|
+
A Dissertation Submitted in Partial Fulfillment of the \\
|
116
|
+
Requirements for the Degree of
|
117
|
+
\tpbreak
|
118
|
+
DOCTOR OF PHILOSOPHY
|
119
|
+
\tpbreak
|
120
|
+
in the Department of Whichever\\
|
121
|
+
\vfill
|
122
|
+
\begin{tabular}{cl}
|
123
|
+
& \copyright\ <%=@first_author%>, 2008\\
|
124
|
+
& \phantom{\copyright} University of Victoria
|
125
|
+
\end{tabular}
|
126
|
+
\tpbreak
|
127
|
+
All rights reserved. This dissertation may not be reproduced in whole or in part, by \\
|
128
|
+
\hfill photocopying or other means, without the permission of the author.
|
129
|
+
\hfill
|
130
|
+
}
|
131
|
+
\pagebreak
|
132
|
+
|
133
|
+
\newpage
|
134
|
+
\TOCadd{Supervisory Committee}
|
135
|
+
|
136
|
+
{
|
137
|
+
\centering
|
138
|
+
\thesistitle
|
139
|
+
\tpbreak
|
140
|
+
by
|
141
|
+
\tpbreak
|
142
|
+
\nameanddegrees
|
143
|
+
\tpbreak
|
144
|
+
}
|
145
|
+
|
146
|
+
\newcommand\panelist[3]{\noindent #1, #2\\\noindent(#3)\tpbreak}
|
147
|
+
\vfill
|
148
|
+
\noindent Supervisory Committee
|
149
|
+
\tpbreak
|
150
|
+
\panel
|
151
|
+
\vfill
|
152
|
+
\pagebreak
|
153
|
+
|
154
|
+
\newpage
|
155
|
+
\TOCadd{Abstract}
|
156
|
+
|
157
|
+
\noindent \textbf{Supervisory Committee}
|
158
|
+
\tpbreak
|
159
|
+
\panel
|
160
|
+
|
161
|
+
\begin{center}
|
162
|
+
\textbf{ABSTRACT}
|
163
|
+
\end{center}
|
164
|
+
|
165
|
+
<%= @abstract %>
|
166
|
+
|
167
|
+
|
168
|
+
\TOCadd{Table of Contents}\tableofcontents
|
169
|
+
\TOCadd{List of Tables}\listoftables
|
170
|
+
\setcounter{lofdepth}{2}
|
171
|
+
\TOCadd{List of Figures}\listoffigures
|
172
|
+
%\input frontmatter/ack
|
173
|
+
%\input frontmatter/ded
|
174
|
+
|
175
|
+
% Header Footer Setup
|
176
|
+
\newpage
|
177
|
+
\pagestyle{myheadings}
|
178
|
+
\pagenumbering{arabic}
|
179
|
+
% We use this in addition to the default LaTeX page configuration routines
|
180
|
+
% because we have no way of saying \thispagestyle after the bibliography starts.
|
181
|
+
\fancypagestyle{plain}{%
|
182
|
+
\fancyhf{}
|
183
|
+
\fancyhead[R]{\ifnum\thepage=1\relax\else\thepage\fi}
|
184
|
+
\renewcommand{\headrulewidth}{0pt}
|
185
|
+
\renewcommand{\footrulewidth}{0pt}
|
186
|
+
}
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
\newpage
|
196
|
+
|
@@ -0,0 +1,149 @@
|
|
1
|
+
%----------------------- Thesis Master Document -----------------------------------%
|
2
|
+
% %
|
3
|
+
% Hacked together by Thomas Griffiths 2014-03-01 tmg994(at)uowmail.edu.au %
|
4
|
+
% If you get stuck read my comments here and in the preamble (thesispreamble.tex). %
|
5
|
+
% Hopefully they can help you find your answers will be I highly reccomend making %
|
6
|
+
% friends with Google and http://tex.stackexchange.com/, the truth is out there. %
|
7
|
+
% %
|
8
|
+
%----------------------------------------------------------------------------------%
|
9
|
+
|
10
|
+
%------------------------ Preamble and bibliography resources
|
11
|
+
\documentclass[12pt,oneside]{book}
|
12
|
+
|
13
|
+
\usepackage{geometry}
|
14
|
+
\geometry{a4paper,inner=4cm, outer=2cm, top=3cm, bottom=2cm}
|
15
|
+
% Dimensions from UOW thesis guidelines.
|
16
|
+
\pdfpagewidth=\paperwidth
|
17
|
+
\pdfpageheight=\paperheight
|
18
|
+
% This acts as a failsafe to ensure things aren't stretched or moved when it's finally printed as a PDF.
|
19
|
+
|
20
|
+
%\usepackage[parfill]{parskip}
|
21
|
+
% Activate to begin paragraphs with an empty (return) line, comment out the indent below if you chose the return line option.
|
22
|
+
|
23
|
+
\setlength{\parindent}{4ex} % Sets the length of the paragraph indent. Current setup has a an indent. Disable this if you activate the return line above.
|
24
|
+
|
25
|
+
\usepackage{setspace}
|
26
|
+
% Double or one and a half spacing.
|
27
|
+
|
28
|
+
\usepackage{graphicx}
|
29
|
+
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
|
30
|
+
% Graphics. Remove me and you won't have any figures, and that would be very boring.
|
31
|
+
|
32
|
+
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
|
33
|
+
% Adds the ability to make coloured text and lines throughout the document. See documentation for xcolor.
|
34
|
+
|
35
|
+
%-------------------- Tables, figures and captions
|
36
|
+
\usepackage[font={small},labelfont={bf},margin=4ex]{caption}
|
37
|
+
% Makes bold labeled and smaller font captions. Must be loaded before the longtable package to avoid conflicts!
|
38
|
+
|
39
|
+
\usepackage{longtable}
|
40
|
+
% Long tables (more than one page). Different headers and footers for beginning and end pages, etc.
|
41
|
+
|
42
|
+
\usepackage{afterpage}
|
43
|
+
% Make a longtable start on the next clear page, but fills the previous one with text first (no random gaps in the text-from long tables anymore! Man, the day I discovered this...)
|
44
|
+
|
45
|
+
\usepackage{booktabs}
|
46
|
+
% Nice looking tables and lines in tables
|
47
|
+
|
48
|
+
\usepackage{multirow}
|
49
|
+
% Entries in tables over multiple rows
|
50
|
+
|
51
|
+
\usepackage{lscape}
|
52
|
+
% Pages in landscape
|
53
|
+
|
54
|
+
\usepackage{pdflscape}
|
55
|
+
% Landscape pages also rotated in the pdf
|
56
|
+
|
57
|
+
\usepackage{wrapfig}
|
58
|
+
% Allows figures that don't take up the entire width of the page, wrapping the text around the figure
|
59
|
+
|
60
|
+
%\usepackage[position=top,singlelinecheck=false,captionskip=4pt]{subfig}
|
61
|
+
% Multiple figures in an individual figure. Fig. 1 a, b, c, etc. each with, or without, it's own individual caption, and with a global caption for all sub figures.
|
62
|
+
|
63
|
+
%-------------------- Special symbols and fonts
|
64
|
+
\usepackage{amssymb}
|
65
|
+
% Maths symbols
|
66
|
+
|
67
|
+
%-------------------- Document sections, headers, footers, and bibliography
|
68
|
+
\usepackage{fancyhdr}
|
69
|
+
% for creating different headers and footers
|
70
|
+
|
71
|
+
%-------------------- Bibliography
|
72
|
+
%\usepackage[backend=biber,articletitle=true,style=chem-rsc,doi=false]{biblatex}
|
73
|
+
% This is the package that lets you create a bibliography. I recommend reading the biblatex documentation to understand all the options i've specified here. BibLaTeX was created to replace BibTeX. It has lots of extra fields and options. I'm also using the biber backend here rather than the default, it copes with unicode and so can deal with accented characters easily.
|
74
|
+
|
75
|
+
% Currently this is set up to use RSC style references with article titles displayed.
|
76
|
+
|
77
|
+
% Traditionally you would use BibTeX, a special build of TeX, the newer biblatex package is a more powerful bibliograpy management tool for LaTeX. You can make multiple chapter based bibliographies, footnote bibliographes, sort your references by date, author, order cited, essentially by any bit of citation data you happen to have. You can also have a seperate library with a differnet format for say books and articles. Or if you're a PhD student, the thesis references and your publications.
|
78
|
+
|
79
|
+
\usepackage{natbib}
|
80
|
+
\setcitestyle{citesep={;}, aysep={,}}
|
81
|
+
% places citations in square brackets to helps to distinguish between powers and citations
|
82
|
+
%This is the old natbib package that meshes with bibtex (rather than using the newer biblatex). It's here mainly for legacy purposes. Try to shift to biblatex if you can, it is cleaner in it's implementation and creating a custom citation style is easier then with bibtex. Some online tools don't yet support biblatex, so you'll need to use this method.
|
83
|
+
|
84
|
+
\usepackage[unicode=true,colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,breaklinks=true]{hyperref}
|
85
|
+
% The hyperref package allows you to have clickable links in your pdf. It also allows you to have the mailto link associated with your name. It can be a bit finicky, so load it last.
|
86
|
+
|
87
|
+
%-------------------- Command renewals, New commands etc.
|
88
|
+
\renewcommand{\thefootnote}{\alph{footnote}}
|
89
|
+
%letters for footnotes instead of numbers to avoid confusion with references.
|
90
|
+
|
91
|
+
|
92
|
+
\usepackage[]{uowthesistitlepage}
|
93
|
+
% Creates the title page in accordance with UOW guidelines, includes the definition of the extra fields in \maketitle
|
94
|
+
|
95
|
+
% This is where you load your bibliography file. If you use change to BibTeX and natbib in the pramble comment it out.
|
96
|
+
%\addbibresource{your_bibliography.bib}
|
97
|
+
|
98
|
+
<%=@header%>
|
99
|
+
|
100
|
+
%------------------------ Main Document --------------------------
|
101
|
+
\begin{document}
|
102
|
+
\onehalfspace
|
103
|
+
|
104
|
+
%-------------- Information For The Title Page
|
105
|
+
% Title page info (see uowthesistitlepage package)
|
106
|
+
\title{<%=@long_title%>}
|
107
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
108
|
+
<%= @alternative_author_string %>
|
109
|
+
<% else %>
|
110
|
+
\author{<%=@first_author%>}
|
111
|
+
<% end %>
|
112
|
+
% Full name, and any degrees held.
|
113
|
+
|
114
|
+
\date{January 1901}
|
115
|
+
% Month Year, alternatively use the \today macro for Month dd, yyyy.
|
116
|
+
|
117
|
+
\degree{Your Degree}
|
118
|
+
% Write it in full: e.g. Bachelor of Science Medicinal Chemistry Honours
|
119
|
+
|
120
|
+
\supervisor[2]{Dr. J. Bloggs \& Professor J. Citizen}
|
121
|
+
% The optional argument (default 1) in square brackets is the number of supervisors. In the Curly braces list your supervisor(s) seperated by commas.
|
122
|
+
|
123
|
+
%\cosupervisor[1]{Dr. C. O. Supervisor}
|
124
|
+
% The same as the supervisor command above. This command is optional.
|
125
|
+
|
126
|
+
\school{Your School}
|
127
|
+
% e.g Chemistry
|
128
|
+
|
129
|
+
%-------------- Front Matter
|
130
|
+
\frontmatter
|
131
|
+
\maketitle
|
132
|
+
\declaration
|
133
|
+
|
134
|
+
\phantomsection\addcontentsline{toc}{chapter}{Abstract}
|
135
|
+
\chapter*{Abstract} % Starred chapter=chapter with no number.
|
136
|
+
<%=@abstract%>
|
137
|
+
|
138
|
+
%\include{frontmatter/abstract}
|
139
|
+
%\include{frontmatter/acknowledgments}
|
140
|
+
|
141
|
+
%-------------- Table of contents
|
142
|
+
\cleardoublepage
|
143
|
+
\phantomsection \pdfbookmark[0]{Contents}{Contents}
|
144
|
+
\tableofcontents
|
145
|
+
% These \phantomsection are to ensure that the hyperref package hyperlinks to the correct page in the electronic pdf. If you turn hyperref off they don't do anything so they can just stay here.
|
146
|
+
|
147
|
+
%-------------- Chapters
|
148
|
+
\cleardoublepage
|
149
|
+
\mainmatter
|
data/texstyles.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
Gem::Specification.new do |spec|
|
3
|
+
spec.name = "texstyles"
|
4
|
+
spec.version = "0.0.1"
|
5
|
+
|
6
|
+
spec.authors = ["Deyan Ginev"]
|
7
|
+
spec.email = ["deyan@authorea.com"]
|
8
|
+
|
9
|
+
spec.summary = %q{A collection of styling templates for LaTeX documents, with a focus on scholarly manuscripts}
|
10
|
+
spec.description = %q{Hundreds of styles fueling Authorea.com's exporter to PDF. Use with the "exportstylist" gem for a Ruby API.}
|
11
|
+
spec.homepage = "https://github.com/Authorea/texstyles"
|
12
|
+
spec.license = "MIT"
|
13
|
+
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
15
|
+
spec.require_paths = ["lib"]
|
16
|
+
|
17
|
+
spec.add_dependency 'escape_utils', '~> 1.2'
|
18
|
+
spec.add_dependency 'json', '~> 1.8'
|
19
|
+
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
23
|
+
spec.add_development_dependency "minitest-reporters", "~> 1.1"
|
24
|
+
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,258 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: texstyles
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Deyan Ginev
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: escape_utils
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.8'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '5.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '5.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-reporters
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.1'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.1'
|
97
|
+
description: Hundreds of styles fueling Authorea.com's exporter to PDF. Use with the
|
98
|
+
"exportstylist" gem for a Ruby API.
|
99
|
+
email:
|
100
|
+
- deyan@authorea.com
|
101
|
+
executables: []
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".travis.yml"
|
107
|
+
- Gemfile
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.md
|
110
|
+
- Rakefile
|
111
|
+
- lib/texstyles.rb
|
112
|
+
- lib/texstyles/style.rb
|
113
|
+
- styles/a0poster-landscape.tex.erb
|
114
|
+
- styles/a0poster-portrait.tex.erb
|
115
|
+
- styles/aa.tex.erb
|
116
|
+
- styles/aa_onecolumn.tex.erb
|
117
|
+
- styles/aa_twocolumn.tex.erb
|
118
|
+
- styles/aaai.tex.erb
|
119
|
+
- styles/abnt.tex.erb
|
120
|
+
- styles/acl.tex.erb
|
121
|
+
- styles/acm.tex.erb
|
122
|
+
- styles/acm_large.tex.erb
|
123
|
+
- styles/acm_sig_alternate.tex.erb
|
124
|
+
- styles/acm_sig_strict.tex.erb
|
125
|
+
- styles/acs.tex.erb
|
126
|
+
- styles/agu.tex.erb
|
127
|
+
- styles/aiaa.tex.erb
|
128
|
+
- styles/aip_preprint.tex.erb
|
129
|
+
- styles/aip_reprint.tex.erb
|
130
|
+
- styles/aisb2008.tex.erb
|
131
|
+
- styles/aj_manuscript.tex.erb
|
132
|
+
- styles/aj_preprint.tex.erb
|
133
|
+
- styles/ajps.tex.erb
|
134
|
+
- styles/alma.tex.erb
|
135
|
+
- styles/ams_one.tex.erb
|
136
|
+
- styles/ams_two.tex.erb
|
137
|
+
- styles/apa_doc.tex.erb
|
138
|
+
- styles/apj_emulate.tex.erb
|
139
|
+
- styles/apj_manuscript.tex.erb
|
140
|
+
- styles/aps.tex.erb
|
141
|
+
- styles/aps_preprint.tex.erb
|
142
|
+
- styles/article.tex.erb
|
143
|
+
- styles/asp.tex.erb
|
144
|
+
- styles/authorea-double-numbered.tex.erb
|
145
|
+
- styles/authorea-double.tex.erb
|
146
|
+
- styles/authorea-numbered.tex.erb
|
147
|
+
- styles/authorea.tex.erb
|
148
|
+
- styles/biogeosciences.tex.erb
|
149
|
+
- styles/bioinformatics.tex.erb
|
150
|
+
- styles/bmc.tex.erb
|
151
|
+
- styles/book.tex.erb
|
152
|
+
- styles/cernatsnote.tex.erb
|
153
|
+
- styles/cernyrep.tex.erb
|
154
|
+
- styles/chandra.tex.erb
|
155
|
+
- styles/cogsci.tex.erb
|
156
|
+
- styles/cornell.tex.erb
|
157
|
+
- styles/cv.tex.erb
|
158
|
+
- styles/development.tex.erb
|
159
|
+
- styles/dfgproposal.tex.erb
|
160
|
+
- styles/dod.tex.erb
|
161
|
+
- styles/doe.tex.erb
|
162
|
+
- styles/econf.tex.erb
|
163
|
+
- styles/egu.tex.erb
|
164
|
+
- styles/elsevier.tex.erb
|
165
|
+
- styles/elsevier_review.tex.erb
|
166
|
+
- styles/elsevier_softwarex.tex.erb
|
167
|
+
- styles/elsevier_twocolumn.tex.erb
|
168
|
+
- styles/empty.tex.erb
|
169
|
+
- styles/epjc.tex.erb
|
170
|
+
- styles/f1000.tex.erb
|
171
|
+
- styles/frontiersENG.tex.erb
|
172
|
+
- styles/frontiersFPHY.tex.erb
|
173
|
+
- styles/frontiersMED.tex.erb
|
174
|
+
- styles/frontiersSCNS.tex.erb
|
175
|
+
- styles/g3.tex.erb
|
176
|
+
- styles/geophysics.tex.erb
|
177
|
+
- styles/gji.tex.erb
|
178
|
+
- styles/hess.tex.erb
|
179
|
+
- styles/hst.tex.erb
|
180
|
+
- styles/iclr.tex.erb
|
181
|
+
- styles/ieee_bare_conf.tex.erb
|
182
|
+
- styles/ieee_bare_jrnl.tex.erb
|
183
|
+
- styles/ieee_bare_jrnl_compsoc.tex.erb
|
184
|
+
- styles/ifac.tex.erb
|
185
|
+
- styles/ijcai.tex.erb
|
186
|
+
- styles/imsart_aas.tex.erb
|
187
|
+
- styles/imsart_as.tex.erb
|
188
|
+
- styles/iop.tex.erb
|
189
|
+
- styles/iram_proposal.tex.erb
|
190
|
+
- styles/jacow.tex.erb
|
191
|
+
- styles/jfm.tex.erb
|
192
|
+
- styles/jhep.tex.erb
|
193
|
+
- styles/jinst.tex.erb
|
194
|
+
- styles/jrss.tex.erb
|
195
|
+
- styles/jxb.tex.erb
|
196
|
+
- styles/lncs.tex.erb
|
197
|
+
- styles/mdpi.tex.erb
|
198
|
+
- styles/mit.tex.erb
|
199
|
+
- styles/mnras.tex.erb
|
200
|
+
- styles/nasa.tex.erb
|
201
|
+
- styles/nature.tex.erb
|
202
|
+
- styles/nature_scirep.tex.erb
|
203
|
+
- styles/nih.tex.erb
|
204
|
+
- styles/nime.tex.erb
|
205
|
+
- styles/nips.tex.erb
|
206
|
+
- styles/nsf.tex.erb
|
207
|
+
- styles/osaexpress.tex.erb
|
208
|
+
- styles/osaletters.tex.erb
|
209
|
+
- styles/peerj.tex.erb
|
210
|
+
- styles/plos.tex.erb
|
211
|
+
- styles/plos2015.tex.erb
|
212
|
+
- styles/pnas.tex.erb
|
213
|
+
- styles/report.tex.erb
|
214
|
+
- styles/rsc.tex.erb
|
215
|
+
- styles/sciadvances.tex.erb
|
216
|
+
- styles/science.tex.erb
|
217
|
+
- styles/sigchi.tex.erb
|
218
|
+
- styles/sigplan.tex.erb
|
219
|
+
- styles/spie.tex.erb
|
220
|
+
- styles/spieman.tex.erb
|
221
|
+
- styles/springer.tex.erb
|
222
|
+
- styles/springer_twocolumn.tex.erb
|
223
|
+
- styles/svmono.tex.erb
|
224
|
+
- styles/trb.tex.erb
|
225
|
+
- styles/tufte-handout.tex.erb
|
226
|
+
- styles/uchicago.tex.erb
|
227
|
+
- styles/ucriverside.tex.erb
|
228
|
+
- styles/uiowa.tex.erb
|
229
|
+
- styles/umich.tex.erb
|
230
|
+
- styles/uvic.tex.erb
|
231
|
+
- styles/uwollongong.tex.erb
|
232
|
+
- texstyles.gemspec
|
233
|
+
homepage: https://github.com/Authorea/texstyles
|
234
|
+
licenses:
|
235
|
+
- MIT
|
236
|
+
metadata: {}
|
237
|
+
post_install_message:
|
238
|
+
rdoc_options: []
|
239
|
+
require_paths:
|
240
|
+
- lib
|
241
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - ">="
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0'
|
246
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
requirements: []
|
252
|
+
rubyforge_project:
|
253
|
+
rubygems_version: 2.5.1
|
254
|
+
signing_key:
|
255
|
+
specification_version: 4
|
256
|
+
summary: A collection of styling templates for LaTeX documents, with a focus on scholarly
|
257
|
+
manuscripts
|
258
|
+
test_files: []
|