Created
February 28, 2013 22:27
-
-
Save EugeneKud/5060691 to your computer and use it in GitHub Desktop.
LATEX : scrartcl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %%% LaTeX Template | |
| %%% This template is made for project reports | |
| %%% You may adjust it to your own needs/purposes | |
| %%% | |
| %%% Copyright: http://www.howtotex.com/ | |
| %%% Date: March 2011 | |
| %%% Preamble | |
| \documentclass[paper=a4, fontsize=11pt, ]{scrartcl} % Article class of KOMA-script with 11pt font and a4 format | |
| \usepackage[T1]{fontenc} | |
| \usepackage{fourier} | |
| \usepackage[english]{babel} % English language/hyphenation | |
| \usepackage[protrusion=true,expansion=true]{microtype} % Better typography | |
| \usepackage{amsmath,amsfonts,amsthm} % Math packages | |
| \usepackage[pdftex]{graphicx} % Enable pdflatex | |
| \usepackage{url} | |
| %%% Custom sectioning (sectsty package) | |
| \usepackage{sectsty} % Custom sectioning (see below) | |
| \allsectionsfont{\centering \normalfont\scshape} % Change font of al section commands | |
| %%% Custom headers/footers (fancyhdr package) | |
| \usepackage{fancyhdr} | |
| \pagestyle{fancyplain} | |
| \fancyhead{} % No page header | |
| \fancyfoot[L]{\small \url{HowToTeX.com}} % You may remove/edit this line | |
| \fancyfoot[C]{} % Empty | |
| \fancyfoot[R]{\thepage} % Pagenumbering | |
| \renewcommand{\headrulewidth}{0pt} % Remove header underlines | |
| \renewcommand{\footrulewidth}{0pt} % Remove footer underlines | |
| \setlength{\headheight}{13.6pt} | |
| %%% Equation and float numbering | |
| \numberwithin{equation}{section} % Equationnumbering: section.eq# | |
| \numberwithin{figure}{section} % Figurenumbering: section.fig# | |
| \numberwithin{table}{section} % Tablenumbering: section.tab# | |
| %%% Maketitle metadata | |
| \newcommand{\horrule}[1]{\rule{\linewidth}{#1}} % Horizontal rule | |
| \title{ | |
| %\vspace{-1in} | |
| \usefont{OT1}{bch}{b}{n} | |
| \normalfont \normalsize \textsc{School of random department names} \\ [25pt] | |
| \horrule{0.5pt} \\[0.4cm] | |
| \huge This is the title of the template report \\ | |
| \horrule{2pt} \\[0.5cm] | |
| } | |
| \author{ | |
| \normalfont \normalsize | |
| Firstname Lastname\\[-3pt] \normalsize | |
| \today | |
| } | |
| \date{} | |
| %%% Begin document | |
| \begin{document} | |
| \maketitle | |
| \section{Heading on level 1 (section)} | |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus: | |
| \begin{align} | |
| \begin{split} | |
| (x+y)^3 &= (x+y)^2(x+y)\\ | |
| &=(x^2+2xy+y^2)(x+y)\\ | |
| &=(x^3+2x^2y+xy^2) + (x^2y+2xy^2+y^3)\\ | |
| &=x^3+3x^2y+3xy^2+y^3 | |
| \end{split} | |
| \end{align} | |
| Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies | |
| \subsection{Heading on level 2 (subsection)} | |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. | |
| \begin{align} | |
| A = | |
| \begin{bmatrix} | |
| A_{11} & A_{21} \\ | |
| A_{21} & A_{22} | |
| \end{bmatrix} | |
| \end{align} | |
| Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. | |
| \subsubsection{Heading on level 3 (subsubsection)} | |
| Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. | |
| \paragraph{Heading on level 4 (paragraph)} | |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. | |
| \section{Lists} | |
| \subsection{Example for list (3*itemize)} | |
| \begin{itemize} | |
| \item First item in a list | |
| \begin{itemize} | |
| \item First item in a list | |
| \begin{itemize} | |
| \item First item in a list | |
| \item Second item in a list | |
| \end{itemize} | |
| \item Second item in a list | |
| \end{itemize} | |
| \item Second item in a list | |
| \end{itemize} | |
| \subsection{Example for list (enumerate)} | |
| \begin{enumerate} | |
| \item First item in a list | |
| \item Second item in a list | |
| \item Third item in a list | |
| \end{enumerate} | |
| %%% End document | |
| \end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment