-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlatex_template.tex
37 lines (37 loc) · 1.14 KB
/
latex_template.tex
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
\documentclass[a4paper, oneside]{article}
\usepackage[T1, T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}
\usepackage[protrusion=true, expansion, tracking=true, kerning=true, spacing, babel=true]{microtype}
\righthyphenmin=2
\usepackage{indentfirst}
\usepackage[unicode, pdfusetitle]{hyperref}
\pdfinfo{
/CreationDate (D:19700101000000)
/ModDate (D:19700101000000)}
\usepackage[top=17mm, bottom=17mm, left=21mm, right=21mm]{geometry}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{longtable}
\usepackage{tabularx}
% From https://tex.stackexchange.com/questions/211386/use-letters-and-numbers-in-numerate-simultaneously
\usepackage{enumitem}
\AddEnumerateCounter{\asbuk}{\russian@alph}{щ}
% \usepackage[color=red, text={DRAFT \& COPY\\\today}]{draftwatermark} % Enable only with "draft" in optional agrs in documentclass
\usepackage{fancyhdr}
\headheight=14pt
\fancyhead{}
\pagestyle{fancy}
\title{Latex Template}
\author{Riderius}
\date{\today}
\makeatletter
\let\runauthor\@author
\let\runtitle\@title
\makeatother
\fancyhead[L]{\rightmark}
\fancyhead[R]{\runtitle}
\begin{document}
\maketitle
\tableofcontents
\end{document}