This repository has been archived by the owner on Apr 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tex
84 lines (73 loc) · 1.98 KB
/
config.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
81
82
83
84
\geometry{top=21mm,bottom=21mm}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\batchmode
\bibliography{bibliography}
\pgfplotsset{compat=newest}
\pagestyle{fancy}
\SetAlgorithmName{Algoritmo}{Algoritmo}
\newcommand{\M}[1]{$\mathrm{#1}$}
\newcommand{\pyref}[1]{\href{https://docs.python.org/3/library/#1.html}{#1}}
\newcommand\Tau{\mathcal{T}}
\newcommand{\pypi}[1]{\href{https://pypi.org/project/#1}{#1}}
% Adenina
\def \adenina{
\let\substfont=\sffamily
\let\substfontsize=\footnotesize
%\changeunitlength{0.1pt}
\purinev{4==NH\M{_2};6==H;2==H;1==H}
}
% Guanina
\def \guanina{
\let\substfont=\sffamily
\let\substfontsize=\footnotesize
%\changeunitlength{0.1pt}
\purinev{4D==O;5==H;6==NH\M{_2};2==H;1==H}
}
% Citosina
\def \citosina{
\let\substfont=\sffamily
\let\substfontsize=\footnotesize
%\changeunitlength{0.1pt}
\pyrimidinevi[e]{1==H;2D==O;4D==NH\M{_2};5==H;6==H}
}
% Timina
\def \timina{
\let\substfont=\sffamily
\let\substfontsize=\footnotesize
%\changeunitlength{0.1pt}
\pyrimidinevi[e]{1==H;2D==O;3==H;4D==O;5==CH\M{_3};6==H}
}
% rotates text by #4 degrees
\newcommand{\mcrot}[4]{\multicolumn{#1}{#2}{\rlap{\rotatebox{#3}{#4}~}}}
\SetKwComment{Comment}{$\triangleright$\ }{}
% refer to "forest" package for forked edges
\forestset{
declare dimen={fork sep}{0.5em},
forked edge'/.style={
edge={rotate/.option=!parent.grow},
edge path'={(!u.parent anchor) -- ++(\forestoption{fork sep},0) |- (.child anchor)},
},
forked edge/.style={
on invalid={fake}{!parent.parent anchor=children},
child anchor=parent,
forked edge',
},
forked edges/.style={for nodewalk={#1}{forked edge}},
forked edges/.default=tree,
aligned terminal/.style={if n children=0{
tier=terminal
}{}},
germline/.style={
for tree = {grow'=south,draw,aligned terminal}, forked edges
}
}
% Colors
\definecolor{ao(english)}{rgb}{0.0, 0.5, 0.0}
\lstset{
basicstyle=\ttfamily,
columns=fullflexible,
frame=single,
breaklines=true,
postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space},
}