blob: c131efed41c8ed53abb3b9cd21a50a6ffb9a684a (
plain) (
blame)
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
|
---
title: Basic LaTeX document
custom_css:
- syntax.css
---
A more-or-less complete, but still very basic LaTeX document follows.
```tex
\documentclass[11pt]{article}
% Basic setup
\usepackage{cmap}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[russian]{babel}
% Completely arbitrary settings follow:
% Sans serif font by default
\renewcommand\familydefault{\sfdefault}
% Document margins
\usepackage[margin=2.5cm]{geometry}
% Paragraph indents
\usepackage{parskip}
\setlength\parindent{0cm}
\setlength\parskip{0cm}
% URLs
\usepackage[colorlinks=true,urlcolor=blue]{hyperref}
\begin{document}
Привет, \LaTeX!
Ссылка на репозиторий: \href{https://github.com/egor-tensin/notes}{https://github.com/egor-tensin/notes}.
\end{document}
```
|