-
Notifications
You must be signed in to change notification settings - Fork 6
/
workbook.tex
129 lines (107 loc) · 3.14 KB
/
workbook.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
124
125
126
127
128
\pdfobjcompresslevel=0
\pdfcompresslevel=0
\documentclass[a5paper, DIV=14, headings=openany, twoside=true,fontsize=10pt, titlepage]{scrreprt}
\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}
\usepackage{indentfirst}
\usepackage{subfig}
\usepackage{graphicx}
\usepackage{float}
\usepackage{import}
\usepackage[rgb]{xcolor}
\usepackage{svg}
\usepackage{listingsutf8}
\usepackage{scrhack}
\usepackage{enumitem}
\usepackage{bm}
\usepackage{verbatimbox}
\usepackage{upquote}
\usepackage{tabularx}
\usepackage{longtable}
% \usepackage[bottom]{footmisc}
\raggedbottom
%\usepackage{float}
%\usepackage{pxfonts}
\usepackage{caption}%[2013/01/01]
%\usepackage{inconsolata}
\usepackage{dejavu}
\usepackage[justification=centering]{caption}
%\lstset{basicstyle=\ttfamily}
\usepackage{varwidth}
\definecolor{light-gray}{gray}{0.97}
\renewcommand*\chapterformat{}
\renewcommand\textbullet{\ensuremath{\bullet}}
\usepackage{tikz-timing}
%\usetikztiminglibrary[rising arrows]{clockarrows}
\tikzset{timing/z/.style={black}}
\tikzset{timing/Z/.style={black}}
\usetikztiminglibrary[arrow tip=latex, rising arrows]{clockarrows}
\usetikztiminglibrary{nicetabs}
\usepackage{xparse} % NewDocumentCommand, IfValueTF, IFBooleanTF
\lstset{inputencoding=utf8, extendedchars=\true, basicstyle=\ttfamily}
\lstset{language=Verilog,
numbers=left,
firstnumber=1,
xleftmargin=2em,
numberfirstline=true,
captionpos=b,
backgroundcolor = \color{light-gray},
aboveskip=1em,
belowskip=1em,
columns=flexible,keepspaces}
\setkomafont{disposition}{\normalfont}
\setkomafont{subsubsection}{\MakeUppercase}
%\addtokomafont{chapter}{\large}
\captionsetup{belowskip=0pt,aboveskip=8pt}
%\captionsetup[lstlisting]{justification=centering}
%\lstloadlanguages{Verilog}
%\pretolerance=2000
%\hyphenpenalty=2000
\usepackage{layouts}
\setlength{\intextsep}{0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip}
\usepackage{scrlayer-scrpage}
\let\tempmargin\oddsidemargin
\let\oddsidemargin\evensidemargin
\let\evensidemargin\tempmargin
\reversemarginpar
\newcommand{\nsig}[1]{$\overline{\mbox{#1}}$}
\newcommand*\xor{\mathbin{\oplus}}
\newcommand{\quotes}[1]{«#1»}
\newcommand{\eng}[1]{\foreignlanguage{english}{#1}}
\newcommand{\qeng}[1]{\quotes{\eng{#1}}}
\newcommand{\kword}[1]{\eng{\textbf{#1}}}
\usepackage{parskip}
\setlength{\parindent}{15pt}
\setlength{\parskip}{2pt}
%Patch for Tikz
\makeatletter
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pgfutil@addpdfresource@extgs\endcsname\relax
\else
\AtBeginDocument{ \pgfutil@addpdfresource@extgs{ \TRP@list } }
\let\TRP@addresource\relax
\fi
\makeatother
\begin{document}
\rofoot*{\pagemark}
\lofoot*{}
\refoot*{}
\lefoot*{\pagemark}
\sloppy
\title{Лабораторный практикум}
\author{}
\subject{}
\subtitle{\quotes{Проектирование цифровых устройств с помощью \eng{Verilog HDL}}}
\titlehead{}
\publishers{}
\date{}
\maketitle{}
\input{lab_1.tex}
\input{lab_2.tex}
\input{lab_3.tex}
\input{lab_4.tex}
\input{lab_5.tex}
\input{lab_6.tex}
\input{lab_7.tex}
\end{document}