This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cuaderno de laboratorio LDH.tex
97 lines (80 loc) · 2.56 KB
/
Cuaderno de laboratorio LDH.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
85
86
87
88
89
90
91
92
93
94
95
96
97
\documentclass[12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{amsmath}
\usepackage[hidelinks]{hyperref}
\usepackage[skip=10pt plus1pt, indent=20pt]{parskip}
\usepackage[spanish]{babel}
\usepackage[a4paper, margin=2.5cm]{geometry}
\usepackage{graphicx}
\usepackage{comment}
\newcommand{\questionb}[1]{\bigskip {\large \item \emph{#1}}\bigskip}
\renewcommand\lstlistingname{Código}
\renewcommand\lstlistlistingname{Códigos}
\lstdefinelanguage{Rust}{%
sensitive%
, morecomment=[l]{//}%
, morecomment=[s]{/*}{*/}%
, moredelim=[s][{\itshape\color[rgb]{0,0,0.75}}]{\#[}{]}%
, morestring=[b]{"}%
, alsodigit={}%
, alsoother={}%
, alsoletter={!}%
, morekeywords={break, continue, else, for, if, in, loop, match, return, while} % control flow keywords
, morekeywords={as, const, let, move, mut, ref, static} % in the context of variables
, morekeywords={dyn, enum, fn, impl, Self, self, struct, trait, type, union, use, where} % in the context of declarations
, morekeywords={crate, extern, mod, pub, super} % in the context of modularisation
, morekeywords={unsafe} % markers
, morekeywords={abstract, alignof, become, box, do, final, macro, offsetof, override, priv, proc, pure, sizeof, typeof, unsized, virtual, yield} % reserved identifiers
}%
\lstdefinestyle{colouredRust}%
{ keywordstyle=[2]\color[rgb]{0.75, 0, 0}% traits
, keywordstyle=[3]\color[rgb]{0, 0.5, 0}% primitive types
, keywordstyle=[4]\color[rgb]{0, 0.5, 0}% type and value constructors
, keywordstyle=[5]\color[rgb]{0, 0, 0.75}% macros
}%
\lstdefinestyle{boxed}{
numbers=left%
, firstnumber=auto%
, numberblanklines=true%
, frame=trbL%
, numberstyle=\tiny%
, frame=leftline%
, numbersep=7pt%
, framesep=5pt%
, framerule=10pt%
, xleftmargin=15pt%
, backgroundcolor=\color[gray]{0.97}%
, rulecolor=\color[gray]{0.90}%
}
\lstset{
basicstyle=\ttfamily\small,
columns=fullflexible,
keepspaces=true,
showstringspaces=false,
commentstyle=\color[gray]{0.4},
stringstyle=\color[rgb]{0, 0, 0.5},
frame=single,
breakatwhitespace=true,
breaklines=true,
tabsize=4
}
\title{
{Cuaderno de laboratorio}\\
{\normalsize Laboratorio de Desarrollo de Hardware}
}
\author{Alejandro Domínguez Muñoz}
\date{Enero 2023}
\begin{document}
\maketitle
\tableofcontents
\part{Plataformas de desarrollo}
\input{1}
\part{Prácticas basadas en MySensors}
\input{2}
\part{Diseño y creación de PCBs}
\input{3}
\end{document}