SHOW:
|
|
- or go back to the newest paste.
| 1 | \documentclass[a4paper,12pt,fleqn]{scrartcl}
| |
| 2 | ||
| 3 | %%------------------------------------------------------------------------------ | |
| 4 | % Various | |
| 5 | %%------------------------------------------------------------------------------ | |
| 6 | %\usepackage{fixltx2e} % Various fixes.
| |
| 7 | %\usepackage{xltxtra} % Not really necessary unless you need to use the \XeLaTeX{}.
| |
| 8 | - | %\usepackage{import} % sane imports. Much better than \input{}
|
| 8 | + | |
| 9 | - | %\usepackage{xltxtra} % Not really necessary unless you need to use the \XeLaTeX{} command.
|
| 9 | + | |
| 10 | %\usepackage{import} % sane imports. Much better than \input{} command.
| |
| 11 | ||
| 12 | %%------------------------------------------------------------------------------ | |
| 13 | % Geometry - Layout | |
| 14 | %%------------------------------------------------------------------------------ | |
| 15 | %\usepackage[a4paper,xetex]{geometry} % Customize page layout
| |
| 16 | - | %\usepackage{parskip} % Use it when you want your paragraphsw to be separated by extra space
|
| 16 | + | |
| 17 | %\usepackage{parskip} % Use it when you want your paragraphs
| |
| 18 | % to be separated by an extra space. | |
| 19 | ||
| 20 | ||
| 21 | %%------------------------------------------------------------------------------ | |
| 22 | % Graphics - Colors | |
| 23 | %%------------------------------------------------------------------------------ | |
| 24 | %\usepackage{graphicx} % including figures
| |
| 25 | %\usepackage{xcolor} % More options with colors
| |
| 26 | ||
| 27 | %%------------------------------------------------------------------------------ | |
| 28 | % Languages | |
| 29 | %%------------------------------------------------------------------------------ | |
| 30 | %% Greek language hyphenation rules | |
| 31 | %\usepackage{xgreek}
| |
| 32 | %% Change hyphenation rules automatically when switching from greek to english glyphs. | |
| 33 | %\usepackage[Greek,Latin]{ucharclasses}
| |
| 34 | %\setTransitionsForGreek{\setlanguage{greek}}{\setlanguage{english}}
| |
| 35 | ||
| 36 | %%------------------------------------------------------------------------------ | |
| 37 | % Fonts | |
| 38 | %%------------------------------------------------------------------------------ | |
| 39 | %\usepackage{fontspec}
| |
| 40 | %\setmainfont[% | |
| 41 | %Kerning=On, | |
| 42 | %Mapping=tex-text, | |
| 43 | %UprightFont = Minion Pro, | |
| 44 | %ItalicFont = Minion Pro Italic, | |
| 45 | %SlantedFont = Minion Pro Italic, | |
| 46 | %BoldFont = Minion Pro Semibold, | |
| 47 | %BoldItalicFont = Minion Pro Semibold Italic, | |
| 48 | %BoldSlantedFont = Minion Pro Semibold Italic, | |
| 49 | %SmallCapsFont = Minion Pro, | |
| 50 | %]{Minion Pro}
| |
| 51 | %\setsansfont[% | |
| 52 | %Kerning=On, | |
| 53 | %Mapping=tex-text, | |
| 54 | %UprightFont = Myriad Pro, | |
| 55 | %ItalicFont = Myriad Pro Italic, | |
| 56 | %SlantedFont = Myriad Pro Italic, | |
| 57 | %BoldFont = Myriad Pro Semibold, | |
| 58 | %BoldItalicFont = Myriad Pro Semibold Italic, | |
| 59 | %BoldSlantedFont = Myriad Pro Semibold Italic, | |
| 60 | %SmallCapsFont = Myriad Pro, | |
| 61 | %]{Myriad Pro}
| |
| 62 | %\setmonofont[% | |
| 63 | %Kerning=On, | |
| 64 | %Mapping=tex-text, | |
| 65 | %]{Consolas}
| |
| 66 | %\usepackage{microtype} % advanced kerning rules
| |
| 67 | % Note: doesn't work fully with XeLaTeX | |
| 68 | ||
| 69 | %%------------------------------------------------------------------------------ | |
| 70 | % Math | |
| 71 | %%------------------------------------------------------------------------------ | |
| 72 | %\usepackage{amsmath}
| |
| 73 | %\usepackage[math-style=ISO]{unicode-math}
| |
| 74 | %\usepackage{mathtools}
| |
| 75 | %\newtagform{brackets}{[}{]}
| |
| 76 | %\usetagform{brackets}
| |
| 77 | %% Math fonts | |
| 78 | %\setmathfont{XITS Math}
| |
| 79 | %\setmathfont[range=\ell]{Latin Modern Math}
| |
| 80 | %% custom math commands | |
| 81 | %\newcommand{\abs}[1]{\ensuremath{\left|#1\right|}}
| |
| 82 | %\newcommand{\paren}[1]{\ensuremath{\left(#1\right)}}
| |
| 83 | %\newcommand{\brac}[1]{\ensuremath{\left[#1\right]}}
| |
| 84 | %\newcommand{\Brac}[1]{\ensuremath{\left\{#1\right\}}}
| |
| 85 | ||
| 86 | %%------------------------------------------------------------------------------ | |
| 87 | % Tables | |
| 88 | %%------------------------------------------------------------------------------ | |
| 89 | %\usepackage{longtable}
| |
| 90 | %\usepackage{booktabs}
| |
| 91 | %\usepackage{multirow}
| |
| 92 | %\usepackage{tabu}
| |
| 93 | %\usepackage{threeparttable}
| |
| 94 | %\usepackage{colortbl}
| |
| 95 | %\usepackage{siunitx}
| |
| 96 | %\sisetup{table-align-text-post = false,table-format = +1.2}
| |
| 97 | %% custom commands | |
| 98 | %\newcommand{\mc}[1]{\multicolumn{1}{c}{#1}}
| |
| 99 | %\newcommand{\mr}[1]{\multirow{2}{*}{#1}}
| |
| 100 | ||
| 101 | %%------------------------------------------------------------------------------ | |
| 102 | - | %\usepackage{paralist} % More options in spacing of:
|
| 102 | + | |
| 103 | %%------------------------------------------------------------------------------ | |
| 104 | %\usepackage{paralist} % Adds flexibility to the spacing of the standard environments:
| |
| 105 | % * enumerate | |
| 106 | % * itemize | |
| 107 | % * description | |
| 108 | ||
| 109 | %%------------------------------------------------------------------------------ | |
| 110 | % Captions | |
| 111 | %%------------------------------------------------------------------------------ | |
| 112 | %\usepackage[% | |
| 113 | %margin=10pt, | |
| 114 | %font={small},
| |
| 115 | %labelfont=bf, | |
| 116 | %labelsep=endash] | |
| 117 | %{caption}
| |
| 118 | %\usepackage{subcaption}
| |
| 119 | ||
| 120 | %%------------------------------------------------------------------------------ | |
| 121 | % Hyperlinks | |
| 122 | %%------------------------------------------------------------------------------ | |
| 123 | %\usepackage[final]{hyperref}
| |
| 124 | %\usepackage{url}
| |
| 125 | %\hypersetup{
| |
| 126 | %bookmarks=true, % show bookmarks bar? | |
| 127 | %unicode=true, % non-Latin characters in Acrobat’s bookmarks | |
| 128 | %pdftoolbar=true, % show Acrobat’s toolbar? | |
| 129 | %pdfmenubar=true, % show Acrobat’s menu? | |
| 130 | %pdffitwindow=false, % window fit to page when opened | |
| 131 | %pdfstartview={FitH}, % fits the width of the page to the window
| |
| 132 | %pdftitle={title}, % title
| |
| 133 | %pdfauthor={FirstName SecondName}, % author
| |
| 134 | %pdfsubject={Subject}, % subject of the document
| |
| 135 | %pdfcreator={FirstName SecondName}, % creator of the document
| |
| 136 | %pdfproducer=FirstName SecondName}, % producer of the document | |
| 137 | %pdfkeywords={keyword1} {key2} {key3}, % list of keywords
| |
| 138 | %pdfnewwindow=true, % links in new window | |
| 139 | %colorlinks=true, % false: boxed links; true: colored links | |
| 140 | %linkcolor=red, % color of internal links | |
| 141 | %anchorcolor=blue, % color of anchors | |
| 142 | %citecolor=green, % color of links to bibliography | |
| 143 | %filecolor=magenta, % color of file links | |
| 144 | %urlcolor=cyan, % color of external links | |
| 145 | %pdfpagelayout=SinglePage | |
| 146 | %} | |
| 147 | ||
| 148 | %%------------------------------------------------------------------------------ | |
| 149 | % Headers - Footers | |
| 150 | %%------------------------------------------------------------------------------ | |
| 151 | %\usepackage{fancyhdr}
| |
| 152 | %\fancyhf{} % clear all header and footer fields
| |
| 153 | ||
| 154 | %%------------------------------------------------------------------------------ | |
| 155 | % Custom Commands | |
| 156 | %%------------------------------------------------------------------------------ | |
| 157 | %\newrobustcmd*{\tsup}[1]{\textsuperscript{#1}}
| |
| 158 | %\newrobustcmd*{\tsub}[1]{\textsubscript{#1}}
| |
| 159 | ||
| 160 | \begin{document}
| |
| 161 | ||
| 162 | \end{document} |