diff --git a/chapters/introduction.tex b/chapters/introduction.tex index 0768414..dced2e7 100644 --- a/chapters/introduction.tex +++ b/chapters/introduction.tex @@ -1,4 +1,4 @@ -\Chapter{Introduction} +\chapter{Introduction} \label{chap:introduction} \mode
{ diff --git a/main-new.tex b/main-new.tex index 9ece89a..bba12f8 100644 --- a/main-new.tex +++ b/main-new.tex @@ -22,13 +22,9 @@ \input{chapters/preface} \printglossary[type=abbreviations,style=mcolindexgroup] - \mainmatter - \chapter{test} - Hello world - - \mode{This is a test.} + %\include{chapters/introduction} - Here is another test. + \chapter{Introduction} \end{document} \ No newline at end of file diff --git a/slides.tex b/slides.tex new file mode 100644 index 0000000..7292fb3 --- /dev/null +++ b/slides.tex @@ -0,0 +1,7 @@ +\documentclass{beamer} + +\geometry{papersize={112mm,70mm}} % 16:10 +\setbeamersize{text margin left=5mm,text margin right=5mm} +\setbeamertemplate{navigation symbols}{} + +\input{main-new} \ No newline at end of file diff --git a/temp/.latexmkrc b/temp/.latexmkrc new file mode 100644 index 0000000..10959ce --- /dev/null +++ b/temp/.latexmkrc @@ -0,0 +1,18 @@ +@default_files = ('manual-teacher-a5.tex'); + +# Output directly to PDF (5 = XeLaTeX) +$pdf_mode = 1; +$emulate_aux = 1; +$aux_dir = 'aux/'; +$ENV{'TEXINPUTS'}='./tex//:' . $ENV{'TEXINPUTS'}; + +add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' ); +add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' ); +$clean_ext .= " acr acn alg glo gls glg"; + +sub makeglossaries { + my ($base_name, $path) = fileparse( $_[0] ); + my @args = ( "-q", "-d", $path, $base_name ); + if ($silent) { unshift @args, "-q"; } + return system "makeglossaries", "-d", $path, $base_name; +} diff --git a/temp/aux/manual-teacher-a5.xdv b/temp/aux/manual-teacher-a5.xdv new file mode 100644 index 0000000..a3808c7 Binary files /dev/null and b/temp/aux/manual-teacher-a5.xdv differ diff --git a/temp/aux/manual-teacher-a5.xsim b/temp/aux/manual-teacher-a5.xsim new file mode 100644 index 0000000..16af8c0 --- /dev/null +++ b/temp/aux/manual-teacher-a5.xsim @@ -0,0 +1,42 @@ +\providecommand\numberofexercises{} +\XSIM{solution-body}{} +\XSIM{exercise-body}{exercise-1=={This is our very first question. It is an easy question and thus only worth one point.}} +\XSIM{goal}{exercise}{points}{1} +\XSIM{totalgoal}{points}{1} +\XSIM{goal}{exercise}{bonus-points}{0} +\XSIM{totalgoal}{bonus-points}{0} +\XSIM{order}{1} +\XSIM{use}{} +\XSIM{use!}{} +\XSIM{used}{exercise-1=={true}} +\XSIM{print}{} +\XSIM{print!}{} +\XSIM{printed}{exercise-1=={true}} +\XSIM{total-number}{1} +\XSIM{exercise}{1} +\XSIM{types}{exercise} +\XSIM{idtypes}{1=={exercise}} +\XSIM{collections}{exercise-1=={all exercises}} +\XSIM{collection:all exercises}{exercise-1} +\setcounter{totalexerciseinall exercises}{1} +\XSIM{id}{exercise-1=={1}} +\XSIM{ID}{exercise-1=={1}} +\XSIM{counter}{exercise-1=={1}} +\XSIM{counter-value}{exercise-1=={1}} +\XSIM{solution}{} +\XSIM{chapter-value}{exercise-1=={1}} +\XSIM{chapter}{exercise-1=={1}} +\XSIM{section-value}{exercise-1=={1}} +\XSIM{section}{exercise-1=={1.1}} +\XSIM{sectioning}{exercise-1=={{1}{1}{0}{0}{0}}} +\XSIM{subtitle}{} +\XSIM{points}{exercise-1=={1}} +\XSIM{bonus-points}{} +\XSIM{page-value}{exercise-1=={1}} +\XSIM{page}{exercise-1=={1}} +\XSIM{tags}{} +\XSIM{topics}{} +\XSIM{userpoints}{exercise-1=={1}} +\XSIM{bodypoints}{} +\XSIM{userbonus-points}{} +\XSIM{bodybonus-points}{} diff --git a/temp/chapters/introduction.tex b/temp/chapters/introduction.tex new file mode 100644 index 0000000..b1156e8 --- /dev/null +++ b/temp/chapters/introduction.tex @@ -0,0 +1,23 @@ +\chapter{Introduction} +\label{chap:introduction} + +This course is focused on the subject of computer networks. +It is safe to presume that all participants have a basic understanding of what a computer is, despite the fact that many devices contain a computer without the user being aware of it. +%For example, the \SC{ATM}% +% \footnote{Here \SC{ATM} stands for automated teller machine; in the rest of the notes it stands for \acl{ATM}.} +%used to withdraw money from a bank account, the computer systems present in modern vehicles, and even studio mixers% +% \footnote{For example, \href{https://www.presonus.com/learn/technical-articles/How-To-Network-Studiolive-Digital-Mixers-for-Remote-Control}{this article} explains how to connect a PreSonus StudioLive 16 to the network for remote control. But it is also possible to send the audio over the network to the mixer.} +%, which often feature a network interface, are all examples of computers. +% Dante for AV systems: https://www.audinate.com/meet-dante/what-is-dante +% Art-Net for lighting systems: https://art-net.org.uk + +When you connect these computers together using network cables or using wireless network adapters, they form a network. +A computer network is used to exchange information between different computers. + + +\section{Exercises} + +\begin{exercise} +This is our very first question. +It is an easy question and thus only worth one point. +\end{exercise} \ No newline at end of file diff --git a/temp/main.tex b/temp/main.tex new file mode 100644 index 0000000..b90bf84 --- /dev/null +++ b/temp/main.tex @@ -0,0 +1,7 @@ +\input{tex/preamble} + +\begin{document} + +\include{chapters/introduction} + +\end{document} \ No newline at end of file diff --git a/temp/manual-teacher-a5.tex b/temp/manual-teacher-a5.tex new file mode 100644 index 0000000..d1750e2 --- /dev/null +++ b/temp/manual-teacher-a5.tex @@ -0,0 +1,9 @@ +% The teacher's manual - A5 format +\documentclass[a5paper,10pt,british]{memoir} + +\isopage +\checkandfixthelayout + +%\usepackage[noamssymb,noamsthm,envcountsect]{beamerarticle} + +\input{main} \ No newline at end of file diff --git a/temp/slides.tex b/temp/slides.tex new file mode 100644 index 0000000..8711251 --- /dev/null +++ b/temp/slides.tex @@ -0,0 +1,7 @@ +\documentclass{beamer} + +\geometry{papersize={112mm,70mm}} % 16:10 +\setbeamersize{text margin left=5mm,text margin right=5mm} +\setbeamertemplate{navigation symbols}{} + +\input{main} \ No newline at end of file diff --git a/temp/tex/preamble.tex b/temp/tex/preamble.tex new file mode 100644 index 0000000..235c75e --- /dev/null +++ b/temp/tex/preamble.tex @@ -0,0 +1,4 @@ +\usepackage{libertine} + +\usepackage{xsim} % New version of 'exsheets' +%\xsimsetup[points/name={p.}} \ No newline at end of file diff --git a/tex/headings.tex b/tex/headings.tex index 8ece0c3..48265b6 100644 --- a/tex/headings.tex +++ b/tex/headings.tex @@ -1,3 +1,16 @@ +\let\oldchapter\chapter +\renewcommand{\chapter}[1]{ + \chapter{#1} + \only{\section{#1}} + {\setbeamercolor{background canvas}{bg=backgroundchapter} + \mode{ + \begin{frame} + \begin{center} + \Large\textbf{#1} + \end{center} + \end{frame}} +}} + \newcommand{\Chapter}[1]{ \only
{\chapter{#1}} \only{\section{#1}} diff --git a/tex/preamble.tex b/tex/preamble.tex index 04dce37..3147e24 100644 --- a/tex/preamble.tex +++ b/tex/preamble.tex @@ -1,3 +1,5 @@ +\usepackage[utf8]{inputenc} + % Fonts \usepackage[T1]{fontenc} \usepackage[supstfm=libertinesups]{superiors}