Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132932 views
License: OTHER
1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
% Journal Article
3
% LaTeX Template
4
% Version 1.3 (9/9/13)
5
%
6
% This template has been downloaded from:
7
% http://www.LaTeXTemplates.com
8
%
9
% Original author:
10
% Frits Wenneker (http://www.howtotex.com)
11
%
12
% License:
13
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
14
%
15
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16
17
%----------------------------------------------------------------------------------------
18
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
19
%----------------------------------------------------------------------------------------
20
21
\documentclass[twoside]{article}
22
23
\usepackage{lipsum} % Package to generate dummy text throughout this template
24
25
\usepackage[sc]{mathpazo} % Use the Palatino font
26
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
27
\linespread{1.05} % Line spacing - Palatino needs more space between lines
28
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
29
30
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt]{geometry} % Document margins
31
\usepackage{multicol} % Used for the two-column layout of the document
32
\usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats in tables or figures
33
\usepackage{booktabs} % Horizontal rules in tables
34
\usepackage{float} % Required for tables and figures in the multi-column environment - they need to be placed in specific locations with the [H] (e.g. \begin{table}[H])
35
\usepackage{hyperref} % For hyperlinks in the PDF
36
37
\usepackage{lettrine} % The lettrine is the first enlarged letter at the beginning of the text
38
\usepackage{paralist} % Used for the compactitem environment which makes bullet points with less space between them
39
40
\usepackage{abstract} % Allows abstract customization
41
\renewcommand{\abstractnamefont}{\normalfont\bfseries} % Set the "Abstract" text to bold
42
\renewcommand{\abstracttextfont}{\normalfont\small\itshape} % Set the abstract itself to small italic text
43
44
\usepackage{titlesec} % Allows customization of titles
45
\renewcommand\thesection{\Roman{section}} % Roman numerals for the sections
46
\renewcommand\thesubsection{\Roman{subsection}} % Roman numerals for subsections
47
\titleformat{\section}[block]{\large\scshape\centering}{\thesection.}{1em}{} % Change the look of the section titles
48
\titleformat{\subsection}[block]{\large}{\thesubsection.}{1em}{} % Change the look of the section titles
49
50
\usepackage{fancyhdr} % Headers and footers
51
\pagestyle{fancy} % All pages have headers and footers
52
\fancyhead{} % Blank out the default header
53
\fancyfoot{} % Blank out the default footer
54
\fancyhead[C]{Running title $\bullet$ November 2012 $\bullet$ Vol. XXI, No. 1} % Custom header text
55
\fancyfoot[RO,LE]{\thepage} % Custom footer text
56
57
%----------------------------------------------------------------------------------------
58
% TITLE SECTION
59
%----------------------------------------------------------------------------------------
60
61
\title{\vspace{-15mm}\fontsize{24pt}{10pt}\selectfont\textbf{Article Title}} % Article title
62
63
\author{
64
\large
65
\textsc{John Smith}\thanks{A thank you or further information}\\[2mm] % Your name
66
\normalsize University of California \\ % Your institution
67
\normalsize \href{mailto:john@smith.com}{john@smith.com} % Your email address
68
\vspace{-5mm}
69
}
70
\date{}
71
72
%----------------------------------------------------------------------------------------
73
74
\begin{document}
75
76
\maketitle % Insert title
77
78
\thispagestyle{fancy} % All pages have headers and footers
79
80
%----------------------------------------------------------------------------------------
81
% ABSTRACT
82
%----------------------------------------------------------------------------------------
83
84
\begin{abstract}
85
86
\noindent \lipsum[1] % Dummy abstract text
87
88
\end{abstract}
89
90
%----------------------------------------------------------------------------------------
91
% ARTICLE CONTENTS
92
%----------------------------------------------------------------------------------------
93
94
\begin{multicols}{2} % Two-column layout throughout the main article text
95
96
\section{Introduction}
97
98
\lettrine[nindent=0em,lines=3]{L} orem ipsum dolor sit amet, consectetur adipiscing elit.
99
\lipsum[2-3] % Dummy text
100
101
%------------------------------------------------
102
103
\section{Methods}
104
105
Maecenas sed ultricies felis. Sed imperdiet dictum arcu a egestas.
106
\begin{compactitem}
107
\item Donec dolor arcu, rutrum id molestie in, viverra sed diam
108
\item Curabitur feugiat
109
\item turpis sed auctor facilisis
110
\item arcu eros accumsan lorem, at posuere mi diam sit amet tortor
111
\item Fusce fermentum, mi sit amet euismod rutrum
112
\item sem lorem molestie diam, iaculis aliquet sapien tortor non nisi
113
\item Pellentesque bibendum pretium aliquet
114
\end{compactitem}
115
\lipsum[4] % Dummy text
116
117
%------------------------------------------------
118
119
\section{Results}
120
121
\begin{table}[H]
122
\caption{Example table}
123
\centering
124
\begin{tabular}{llr}
125
\toprule
126
\multicolumn{2}{c}{Name} \\
127
\cmidrule(r){1-2}
128
First name & Last Name & Grade \\
129
\midrule
130
John & Doe & $7.5$ \\
131
Richard & Miles & $2$ \\
132
\bottomrule
133
\end{tabular}
134
\end{table}
135
136
\lipsum[5] % Dummy text
137
138
\begin{equation}
139
\label{eq:emc}
140
e = mc^2
141
\end{equation}
142
143
\lipsum[6] % Dummy text
144
145
%------------------------------------------------
146
147
\section{Discussion}
148
149
\subsection{Subsection One}
150
151
\lipsum[7] % Dummy text
152
153
\subsection{Subsection Two}
154
155
\lipsum[8] % Dummy text
156
157
%----------------------------------------------------------------------------------------
158
% REFERENCE LIST
159
%----------------------------------------------------------------------------------------
160
161
\begin{thebibliography}{99} % Bibliography - this is intentionally simple in this template
162
163
\bibitem[Figueredo and Wolf, 2009]{Figueredo:2009dg}
164
Figueredo, A.~J. and Wolf, P. S.~A. (2009).
165
\newblock Assortative pairing and life history strategy - a cross-cultural
166
study.
167
\newblock {\em Human Nature}, 20:317--330.
168
169
\end{thebibliography}
170
171
%----------------------------------------------------------------------------------------
172
173
\end{multicols}
174
175
\end{document}
176
177