Panagiotis Mavrogiorgos avatar Panagiotis Mavrogiorgos committed dc67d15

Add a LaTeX template

Comments (0)

Files changed (1)

templates/template.tex

+\documentclass[a4paper,12pt,fleqn]{scrartcl}
+
+%%------------------------------------------------------------------------------
+% Various
+%%------------------------------------------------------------------------------
+\usepackage{etoolbox}                  % Defines \newrobustcmd{} and other goodies.
+%\usepackage{xparse}
+%\usepackage{xspace}                    % Read the documentation, you may need it when you define new commands
+%\usepackage{import}                    % Sane imports. Much better than \input{}
+%\usepackage{xltxtra}                   % Not really necessary unless you need to use the \XeLaTeX{} command.
+
+%%------------------------------------------------------------------------------
+% Geometry - Layout
+%%------------------------------------------------------------------------------
+\usepackage[a4paper,xetex]{geometry}   % Customize page layout
+%\usepackage{multicol}                  % Use multiple columns
+%\usepackage{parskip}                   % Use it when you want your paragraphsw to be separated by extra space
+
+%%------------------------------------------------------------------------------
+% Graphics - Colors
+%%------------------------------------------------------------------------------
+%\usepackage{graphicx}                  % including figures
+%\usepackage{xcolor}                    % More options with colors
+
+%%------------------------------------------------------------------------------
+% Languages
+%%------------------------------------------------------------------------------
+%% Greek language hyphenation rules
+%\usepackage{xgreek}
+%% Change hyphenation rules automatically when switching from greek to english glyphs.
+%\usepackage[Greek,Latin]{ucharclasses}
+%\setTransitionsForGreek{\setlanguage{greek}}{\setlanguage{english}}
+
+%%------------------------------------------------------------------------------
+% Fonts
+%%------------------------------------------------------------------------------
+%\usepackage{fontspec}
+%\setmainfont[%
+    %Kerning=On,
+    %Mapping=tex-text,
+    %UprightFont = Minion Pro,
+    %ItalicFont = Minion Pro Italic,
+    %SlantedFont = Minion Pro Italic,
+    %BoldFont = Minion Pro Semibold,
+    %BoldItalicFont = Minion Pro Semibold Italic,
+    %BoldSlantedFont = Minion Pro Semibold Italic,
+    %SmallCapsFont = Minion Pro,
+        %]{Minion Pro}
+%\setsansfont[%
+    %Kerning=On,
+    %Mapping=tex-text,
+    %UprightFont = Myriad Pro,
+    %ItalicFont = Myriad Pro Italic,
+    %SlantedFont = Myriad Pro Italic,
+    %BoldFont = Myriad Pro Semibold,
+    %BoldItalicFont = Myriad Pro Semibold Italic,
+    %BoldSlantedFont = Myriad Pro Semibold Italic,
+    %SmallCapsFont = Myriad Pro,
+        %]{Myriad Pro}
+%\setmonofont[%
+    %Kerning=On,
+    %Mapping=tex-text,
+        %]{Consolas}
+
+%\usepackage{microtype}         % advanced kerning rules
+                                % Note: doesn't work fully with XeLaTeX
+
+%%------------------------------------------------------------------------------
+% Math
+%%------------------------------------------------------------------------------
+%\usepackage{amsmath}
+%\usepackage[math-style=ISO]{unicode-math}
+%\usepackage{mathtools}
+%\newtagform{brackets}{[}{]}
+%\usetagform{brackets}
+%% Math fonts
+%\setmathfont{XITS Math}
+%\setmathfont[range=\ell]{Latin Modern Math}
+%% custom math commands
+%\newrobustcmd*{\abs}[1]{\ensuremath{\left|#1\right|}}
+%\newrobustcmd*{\paren}[1]{\ensuremath{\left(#1\right)}}
+%\newrobustcmd*{\brac}[1]{\ensuremath{\left[#1\right]}}
+%\newrobustcmd*{\Brac}[1]{\ensuremath{\left\{#1\right\}}}
+
+%%----------------------------------------------------
+% Tables
+%%----------------------------------------------------
+%\usepackage{longtable}
+%\usepackage{booktabs}
+%\usepackage{multirow}
+%\usepackage{tabu}
+%\usepackage{threeparttable}
+%\usepackage{colortbl}
+%\usepackage{siunitx}
+%\sisetup{table-align-text-post = false,table-format = +1.2}
+%% custom commands
+%\newrobustcmd{\mc}[1]{\multicolumn{1}{c}{#1}}
+%\newrobustcmd{\mr}[1]{\multirow{2}{*}{#1}}
+
+%%----------------------------------------------------
+% Lists
+%%----------------------------------------------------
+%\usepackage{paralist}                  % More options in spacing of:
+                                        %   * enumerate
+                                        %   * itemize
+                                        %   * description
+
+%%----------------------------------------------------
+% Captions
+%%----------------------------------------------------
+%\usepackage[%
+    %margin=10pt,
+    %font={small},
+    %labelfont=bf,
+    %labelsep=endash]
+    %{caption}
+%\usepackage{subcaption}
+
+%%----------------------------------------------------
+% Hyperlinks
+%%----------------------------------------------------
+%\usepackage[final]{hyperref}
+%\usepackage{url}
+%\hypersetup{
+    %bookmarks=true,         % show bookmarks bar?
+    %unicode=true,           % non-Latin characters in Acrobat’s bookmarks
+    %pdftoolbar=true,        % show Acrobat’s toolbar?
+    %pdfmenubar=true,        % show Acrobat’s menu?
+    %pdffitwindow=false,     % window fit to page when opened
+    %pdfstartview={FitH},    % fits the width of the page to the window
+    %pdftitle={title},    % title
+    %pdfauthor={Panagiotis Mavrogiorgos},     % author
+    %pdfsubject={Subject},   % subject of the document
+    %pdfcreator={Panagiotis Mavrogiorgos},   % creator of the document
+    %pdfproducer={Panagiotis Mavrogiorgos}, % producer of the document
+    %pdfkeywords={keyword1} {key2} {key3}, % list of keywords
+    %pdfnewwindow=true,      % links in new window
+    %colorlinks=true,       % false: boxed links; true: colored links
+    %linkcolor=red,          % color of internal links
+    %anchorcolor=blue,           % color of anchors
+    %citecolor=green,        % color of links to bibliography
+    %filecolor=magenta,      % color of file links
+    %urlcolor=cyan,           % color of external links
+    %pdfpagelayout=SinglePage
+%}
+
+%%----------------------------------------------------
+% Headers - Footers
+%%----------------------------------------------------
+%\usepackage{fancyhdr}
+%\fancyhf{} % clear all header and footer fields
+
+%%----------------------------------------------------
+% Custom Commands
+%%----------------------------------------------------
+\newrobustcmd*{\tsup}[1]{\textsuperscript{#1}}
+\newrobustcmd*{\tsub}[1]{\textsubscript{#1}}
+
+\begin{document}
+
+\end{document}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.