main.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Large Colored Title Article % LaTeX Template % Version 1.1 (25/11/12) % % This template has been downloaded from: % http://www.LaTeXTemplates.com % % Original author: % Frits Wenneker (http://www.howtotex.com) % % License: % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %---------------------------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS %---------------------------------------------------------------------------------------- \documentclass[DIV=calc, paper=a4, fontsize=11pt, twocolumn]{scrartcl} % A4 paper and 11pt font size \usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template \usepackage[english]{babel} % English language/hyphenation \usepackage[protrusion=true,expansion=true]{microtype} % Better typography \usepackage{amsmath,amsfonts,amsthm} % Math packages \usepackage[svgnames]{xcolor} % Enabling colors by their 'svgnames' \usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats in tables or figures \usepackage{booktabs} % Horizontal rules in tables \usepackage{fix-cm} % Custom font sizes - used for the initial letter in the document \usepackage{sectsty} % Enables custom section titles \allsectionsfont{\usefont{OT1}{phv}{b}{n}} % Change the font of all section commands \usepackage{fancyhdr} % Needed to define custom headers/footers \pagestyle{fancy} % Enables the custom headers/footers \usepackage{lastpage} % Used to determine the number of pages in the document (for "Page X of Total") % Headers - all currently empty \lhead{} \chead{} \rhead{} % Footers \lfoot{} \cfoot{} \rfoot{\footnotesize Page \thepage\ of \pageref{LastPage}} % "Page 1 of 2" \renewcommand{\headrulewidth}{0.0pt} % No header rule \renewcommand{\footrulewidth}{0.4pt} % Thin footer rule \usepackage{lettrine} % Package to accentuate the first letter of the text \newcommand{\initial}[1]{ % Defines the command and style for the first letter \lettrine[lines=3,lhang=0.3,nindent=0em]{ \color{DarkGoldenrod} {\textsf{#1}}}{}} %---------------------------------------------------------------------------------------- % TITLE SECTION %---------------------------------------------------------------------------------------- \usepackage{titling} % Allows custom title configuration \newcommand{\HorRule}{\color{DarkGoldenrod} \rule{\linewidth}{1pt}} % Defines the gold horizontal rule around the title \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule \fontsize{50}{50} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont} % Horizontal rule before the title \title{Article Title} % Your article title \posttitle{\par\end{flushleft}\vskip 0.5em} % Whitespace under the title \preauthor{\begin{flushleft}\large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}} % Author font configuration \author{John Smith, } % Your name \postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black} % Configuration for the institution name University of California % Your institution \par\end{flushleft}\HorRule} % Horizontal rule after the title \date{} % Add a date here if you would like one to appear underneath the title block %---------------------------------------------------------------------------------------- \begin{document} \maketitle % Print the title \thispagestyle{fancy} % Enabling the custom headers/footers for the first page %---------------------------------------------------------------------------------------- % ABSTRACT %---------------------------------------------------------------------------------------- % The first character should be within \initial{} \initial{H}\textbf{ere is some sample text to show the initial in the introductory paragraph of this template article. The color and lineheight of the initial can be modified in the preamble of this document.} %---------------------------------------------------------------------------------------- % ARTICLE CONTENTS %---------------------------------------------------------------------------------------- \section*{Section 1} \lipsum[1-3] % Dummy text \begin{align} A = \begin{bmatrix} A_{11} & A_{21} \\ A_{21} & A_{22} \end{bmatrix} \end{align} \lipsum[4] % Dummy text %------------------------------------------------ \subsection*{Subsection 1} \lipsum[5] % Dummy text \begin{itemize} \item First item in a list \item Second item in a list \item Third item in a list \end{itemize} \lipsum[6] % Dummy text %------------------------------------------------ \subsection*{Subsection 2} \lipsum[7] % Dummy text \begin{table} \caption{Random table} \centering \begin{tabular}{llr} \toprule \multicolumn{2}{c}{Name} \\ \cmidrule(r){1-2} First name & Last Name & Grade \\ \midrule John & Doe & $7.5$ \\ Richard & Miles & $2$ \\ \bottomrule \end{tabular} \end{table} %------------------------------------------------ \section*{Section 2} \lipsum[8] % Dummy text \begin{description} \item[First] This is the first item \item[Last] This is the last item \end{description} \lipsum[9] % Dummy text %---------------------------------------------------------------------------------------- % REFERENCE LIST %---------------------------------------------------------------------------------------- \begin{thebibliography}{99} % Bibliography - this is intentionally simple in this template \bibitem[Figueredo and Wolf, 2009]{Figueredo:2009dg} Figueredo, A.~J. and Wolf, P. S.~A. (2009). \newblock Assortative pairing and life history strategy - a cross-cultural study. \newblock {\em Human Nature}, 20:317--330. \end{thebibliography} %---------------------------------------------------------------------------------------- \end{document}
Other files
main.tex