📚 The CoCalc Library - books, templates and other resources
License: OTHER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1% Large Colored Title Article2% LaTeX Template3% Version 1.1 (25/11/12)4%5% This template has been downloaded from:6% http://www.LaTeXTemplates.com7%8% Original author:9% Frits Wenneker (http://www.howtotex.com)10%11% License:12% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)13%14%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%1516%----------------------------------------------------------------------------------------17% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS18%----------------------------------------------------------------------------------------1920\documentclass[DIV=calc, paper=a4, fontsize=11pt, twocolumn]{scrartcl} % A4 paper and 11pt font size2122\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template23\usepackage[english]{babel} % English language/hyphenation24\usepackage[protrusion=true,expansion=true]{microtype} % Better typography25\usepackage{amsmath,amsfonts,amsthm} % Math packages26\usepackage[svgnames]{xcolor} % Enabling colors by their 'svgnames'27\usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats in tables or figures28\usepackage{booktabs} % Horizontal rules in tables29\usepackage{fix-cm} % Custom font sizes - used for the initial letter in the document3031\usepackage{sectsty} % Enables custom section titles32\allsectionsfont{\usefont{OT1}{phv}{b}{n}} % Change the font of all section commands3334\usepackage{fancyhdr} % Needed to define custom headers/footers35\pagestyle{fancy} % Enables the custom headers/footers36\usepackage{lastpage} % Used to determine the number of pages in the document (for "Page X of Total")3738% Headers - all currently empty39\lhead{}40\chead{}41\rhead{}4243% Footers44\lfoot{}45\cfoot{}46\rfoot{\footnotesize Page \thepage\ of \pageref{LastPage}} % "Page 1 of 2"4748\renewcommand{\headrulewidth}{0.0pt} % No header rule49\renewcommand{\footrulewidth}{0.4pt} % Thin footer rule5051\usepackage{lettrine} % Package to accentuate the first letter of the text52\newcommand{\initial}[1]{ % Defines the command and style for the first letter53\lettrine[lines=3,lhang=0.3,nindent=0em]{54\color{DarkGoldenrod}55{\textsf{#1}}}{}}5657%----------------------------------------------------------------------------------------58% TITLE SECTION59%----------------------------------------------------------------------------------------6061\usepackage{titling} % Allows custom title configuration6263\newcommand{\HorRule}{\color{DarkGoldenrod} \rule{\linewidth}{1pt}} % Defines the gold horizontal rule around the title6465\pretitle{\vspace{-30pt} \begin{flushleft} \HorRule \fontsize{50}{50} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont} % Horizontal rule before the title6667\title{Article Title} % Your article title6869\posttitle{\par\end{flushleft}\vskip 0.5em} % Whitespace under the title7071\preauthor{\begin{flushleft}\large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}} % Author font configuration7273\author{John Smith, } % Your name7475\postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black} % Configuration for the institution name76University of California % Your institution7778\par\end{flushleft}\HorRule} % Horizontal rule after the title7980\date{} % Add a date here if you would like one to appear underneath the title block8182%----------------------------------------------------------------------------------------8384\begin{document}8586\maketitle % Print the title8788\thispagestyle{fancy} % Enabling the custom headers/footers for the first page8990%----------------------------------------------------------------------------------------91% ABSTRACT92%----------------------------------------------------------------------------------------9394% The first character should be within \initial{}95\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.}9697%----------------------------------------------------------------------------------------98% ARTICLE CONTENTS99%----------------------------------------------------------------------------------------100101\section*{Section 1}102103\lipsum[1-3] % Dummy text104105\begin{align}106A =107\begin{bmatrix}108A_{11} & A_{21} \\109A_{21} & A_{22}110\end{bmatrix}111\end{align}112113\lipsum[4] % Dummy text114115%------------------------------------------------116117\subsection*{Subsection 1}118119\lipsum[5] % Dummy text120121\begin{itemize}122\item First item in a list123\item Second item in a list124\item Third item in a list125\end{itemize}126127\lipsum[6] % Dummy text128129%------------------------------------------------130131\subsection*{Subsection 2}132133\lipsum[7] % Dummy text134135\begin{table}136\caption{Random table}137\centering138\begin{tabular}{llr}139\toprule140\multicolumn{2}{c}{Name} \\141\cmidrule(r){1-2}142First name & Last Name & Grade \\143\midrule144John & Doe & $7.5$ \\145Richard & Miles & $2$ \\146\bottomrule147\end{tabular}148\end{table}149150%------------------------------------------------151152\section*{Section 2}153154\lipsum[8] % Dummy text155156\begin{description}157\item[First] This is the first item158\item[Last] This is the last item159\end{description}160161\lipsum[9] % Dummy text162163%----------------------------------------------------------------------------------------164% REFERENCE LIST165%----------------------------------------------------------------------------------------166167\begin{thebibliography}{99} % Bibliography - this is intentionally simple in this template168169\bibitem[Figueredo and Wolf, 2009]{Figueredo:2009dg}170Figueredo, A.~J. and Wolf, P. S.~A. (2009).171\newblock Assortative pairing and life history strategy - a cross-cultural172study.173\newblock {\em Human Nature}, 20:317--330.174175\end{thebibliography}176177%----------------------------------------------------------------------------------------178179\end{document}180181