From 9170fdf9d5ccaa94aefe4e791cb11e43ad376c66 Mon Sep 17 00:00:00 2001 From: Tom Marcoen Date: Mon, 4 Sep 2023 20:49:58 +0200 Subject: [PATCH] Blah --- chapters/introduction.tex | 2 +- main-new.tex | 8 ++---- slides.tex | 7 ++++++ temp/.latexmkrc | 18 ++++++++++++++ temp/aux/manual-teacher-a5.xdv | Bin 0 -> 7600 bytes temp/aux/manual-teacher-a5.xsim | 42 ++++++++++++++++++++++++++++++++ temp/chapters/introduction.tex | 23 +++++++++++++++++ temp/main.tex | 7 ++++++ temp/manual-teacher-a5.tex | 9 +++++++ temp/slides.tex | 7 ++++++ temp/tex/preamble.tex | 4 +++ tex/headings.tex | 13 ++++++++++ tex/preamble.tex | 2 ++ 13 files changed, 135 insertions(+), 7 deletions(-) create mode 100644 slides.tex create mode 100644 temp/.latexmkrc create mode 100644 temp/aux/manual-teacher-a5.xdv create mode 100644 temp/aux/manual-teacher-a5.xsim create mode 100644 temp/chapters/introduction.tex create mode 100644 temp/main.tex create mode 100644 temp/manual-teacher-a5.tex create mode 100644 temp/slides.tex create mode 100644 temp/tex/preamble.tex 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 0000000000000000000000000000000000000000..a3808c74c734e0248c610a29e66bd93a9c08feb5 GIT binary patch literal 7600 zcmcIp3viUx6~4QhWZ&7{WJyBI;}2joQ1akW9%_mqBmspG5+YdWOh`5l!ED@zr7}9$ z4%2CMLpRkxfgvdB*g9p}scju*oHAPMOs9_H)Di7N$9Bd-b((fMw#u;5@7!}X`;+j9 zG@PCJ@Bg^>o^#LRJLlg0uif&kky9nNDUj`Ksj(&05!zyeEUR9MH_L`%iSa6o=??D-N20N=?wtdJ12Ln{pgD}5fk>!3X53n9^cl5AbJcJn zG4{)oe@P@pE{5a39&1@sHeNyu!#nOXRt@#ZEJI!0p{Q~D?e+EJOSCvx)T&4*8jeT! zgHf}Z*tJu~DdRAzeqz*=ISr!*?}j3MJB+W^Z0w4~LXknErZM#3KzC?UbHjGSsIMOe z9kcxKzWIq`pVuE>o=7DBrqp;qFVPr^NBfPwNY^)v+5}c}p|=OUM=V9?;glZXAsYXD zpc&)uQ|bz%$2KXIxB#P6sX+4yrB>H$j)o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}H)zMK&ww{A7IeYomEqlD&msmT2-|()4Pfo#2mona$A26=~Pee{B z-H1n1Qg3Msp4emBDr8%^wsW4+{gp?U1s3x@FDQja8{CL=~nNm0X-Tpq&{{Z}F$o2pL literal 0 HcmV?d00001 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}