-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault-template.tex
More file actions
84 lines (73 loc) · 2.02 KB
/
default-template.tex
File metadata and controls
84 lines (73 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{% autoescape off %}
\documentclass[a4paper,{% if fontsize %}{{fontsize}}{% else %}10pt{% endif %},oneside]{amsart}
\usepackage{textalpha} % For unicode greek letters in normal text
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{url}
\usepackage{graphicx}
\usepackage{xcolor}
\definecolor{svlinks}{rgb}{.0,0.3,0.6} %tmavě modrá
\catcode`\&=11
\usepackage[bookmarks,colorlinks=true,pdfhighlight=/O,linkcolor=svlinks,urlcolor=svlinks,citecolor=svlinks,
pdftitle={{'{'}}{{ title }}{{'}'}},
pdfauthor={{'{'}}{{ author }}{{'}'}},
pdfsubject={{'{'}}{{ subject }}{{'}'}},
pdfkeywords={{'{'}}{{ keywords }}{{'}'}}
]{hyperref}
\catcode`\&=4
{% if margin %}
\usepackage[margin={{margin}}]{geometry}
{% else %}
\usepackage[margin=3cm]{geometry}
{% endif %}
\usepackage[utf8]{inputenc}
\usepackage{attachfile}
% \usepackage{palatino}
\usepackage{fouriernc}
% \usepackage[charter]{mathdesign}
\relpenalty=9999
\binoppenalty=9999
\newcommand{\incfile}[3]{%
\IfFileExists{{'{'}}{% if resources_location %}{{resources_location}}/{% endif %}#2}{%
\marginpar{%
\attachfile[author={{'{'}}{{author}}{{'}'}},
description={#2},
mimetype={#3},
print=false,
icon={Paperclip}]{%
{% if resources_location %}{{resources_location}}/{% endif %}#2}
}
}{}
}
%---------numbering of the theorems------------
{{ headings }}
% \swapnumbers
%-------------opening--------------------------
\parindent=0cm
\parskip=2mm
\begin{document}
\catcode`\&=11
{% if title %}
\title{{'{'}}{{ title }}{{'}'}}
{% if date %}
\date{{'{'}}{{ date }}{{'}'}}
{% endif %}{% if author %}
\author{{'{'}}{{ author }}{{'}'}}
{% endif %}{% if email %}
\email{{'{'}}{{ email }}{{'}'}}
{% endif %}{% if abstract %}
\begin{abstract}
{{ abstract }}
\end{abstract}
{% endif %}
\catcode`\&=4
\maketitle
{% endif %}
{{ content }}
\bibliographystyle{amsplain}
\bibliography{{ '{' }}{{ basename }}{{ '}' }}
\end{document}
{% endautoescape %}