-
Notifications
You must be signed in to change notification settings - Fork 0
/
digitech_summary.tex
123 lines (95 loc) · 2.57 KB
/
digitech_summary.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
\documentclass[a4paper]{report}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{parskip}
\usepackage{tcolorbox} % for colorboxes
\usepackage{minted} % for code highlighting
\usepackage{xcolor} % for own colors
\usepackage[margin=3.8cm]{geometry} % custom page margin
\usepackage[english]{babel}
\usepackage{graphicx} % using images
\graphicspath{ {./assets/} } % setting the path for images
% LimeGreen!40
% blue!20
% purple!20
% orange!40
% Emerald!40
\definecolor{dcGrayLight}{gray}{0.95}
\definecolor{dcOrange}{RGB}{255, 128, 0}
\definecolor{dcGreen}{RGB}{130, 225, 130}
\definecolor{dcBlue}{RGB}{135, 184, 255}
\definecolor{dcRed}{RGB}{255,120,120}
\definecolor{dcWhite}{RGB}{255, 255, 255}
\colorlet{dcRedLight}{red!5!white}
\newtcolorbox{definition}[1][]{
colframe=dcBlue,
colback = white,
coltitle = black,
title = \textbf{Definition}
}
\newtcolorbox{lemma}[1][]{
colframe=dcGreen,
colback = white,
coltitle = black,
title = \textbf{Lemma}
}
\newtcolorbox{satz}[1][]{
colframe=dcRed,
colback = white,
coltitle = black,
title = \textbf{#1}
}
\setlength{\parindent}{0in} % remove indentation for paragraphs
\title{Digital Design and Computer Architecture}
\author{Danny Camenisch (dcamenisch)}
\begin{document}
\maketitle
\tableofcontents
% --------------------------
% Templates and Examples
% --------------------------
\begin{comment}
\chapter{Template}
\section{tcolorbox}
\begin{definition}
Definition...
\end{definition}
\begin{lemma}
Lemma...
\end{lemma}
\begin{satz}[Satz von Danny]
Satz...
\end{satz}
\begin{tcolorbox}[colback=dcWhite,colframe=dcOrange,title=\textbf{My Heading}]
This is a \textbf{tcolorbox}.
\tcblower
Here, you see the lower part of the box.
\tcbsubtitle{subtitle}
\end{tcolorbox}
\section{minted}
\begin{minted}[frame=lines, framesep=2mm, bgcolor=dcGrayLight, linenos]{java}
// Hello.java
import javax.swing.JApplet;
import java.awt.Graphics;
public class Hello extends JApplet {
public void paintComponent(Graphics g) {
g.drawString("Hello, world!", 65, 95);
}
}
\end{minted}
% minted can also import from file like this:
% \inputminted{java}{main.java}
% Including images
%\begin{figure}[h]
% \centering
% \includegraphics[width=\textwidth]{block_graph.png}
% \caption{Beispiel eines Block-Graphen (links) und der }
%\end{figure}
%
\end{comment}
\input{chapters/introduction.tex}
\input{chapters/basics.tex}
\input{chapters/combinational_logic.tex}
\input{chapters/sequential_logic.tex}
\end{document}