-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.tex
81 lines (63 loc) · 1.7 KB
/
settings.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
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
\documentclass[11pt,pdf,hyperref={unicode},aspectratio=43]{beamer}
% подключаем кириллицу
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage{algorithm}
\usepackage{algpseudocode}
%листинг кода
\usepackage{multicol}
\setlength\columnsep{25pt}
\usepackage{listingsutf8}
\usepackage{adjustbox}
\usepackage{svg}
\setsvg{inkscape = inkscape -z -D}
\lstdefinestyle{base_listing}{
extendedchars = {true},
inputencoding = {utf8},
basicstyle = {\ttfamily \tiny},
keywordstyle = {\rmfamily \bfseries},
commentstyle = {\rmfamily \itshape},
tabsize = {2},
flexiblecolumns = {false},
frame = {single},
showstringspaces = {false},
breaklines = {true},
breakatwhitespace = {true}
}
\lstdefinelanguage{LLVM-asm}
{
morekeywords = {
load, store, malloc, alloca, free, getelementptr,
add, sub, insertvalue, extractvalue, icmp, call,
define, void, global, ret, common
},
sensitive = false,
morecomment = [l]{;}
}
\lstdefinelanguage{PS}
{
morekeywords = {
true, false, <nullptr>
},
basicstyle = {\ttfamily \scriptsize},
sensitive = true,
morecomment = [l]{---}
}
\lstdefinestyle{crs_llvm}{
style = {base_listing},
language = {LLVM-asm}
}
\lstdefinestyle{crs_cpp}{
style = {base_listing},
language = {C++}
}
% отключить клавиши навигации
\setbeamertemplate{navigation symbols}{
\insertframenumber\,/\,\inserttotalframenumber
}
% тема оформления
\usetheme{default}
% цветовая схема
\usecolortheme{default}
\setbeamercovered{transparent}
\beamersetuncovermixins{\opaqueness<1>{25}}{\opaqueness<2->{15}}