Skip to content

Commit

Permalink
Blah
Browse files Browse the repository at this point in the history
  • Loading branch information
tommarcoen committed Sep 4, 2023
1 parent 9d0e696 commit 9170fdf
Show file tree
Hide file tree
Showing 13 changed files with 135 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chapters/introduction.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\Chapter{Introduction}
\chapter{Introduction}
\label{chap:introduction}

\mode<article>{
Expand Down
8 changes: 2 additions & 6 deletions main-new.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@
\input{chapters/preface}
\printglossary[type=abbreviations,style=mcolindexgroup]


\mainmatter
\chapter{test}
Hello world

\mode<presentation>{This is a test.}
%\include{chapters/introduction}

Here is another test.
\chapter{Introduction}

\end{document}
7 changes: 7 additions & 0 deletions slides.tex
Original file line number Diff line number Diff line change
@@ -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}
18 changes: 18 additions & 0 deletions temp/.latexmkrc
Original file line number Diff line number Diff line change
@@ -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;
}
Binary file added temp/aux/manual-teacher-a5.xdv
Binary file not shown.
42 changes: 42 additions & 0 deletions temp/aux/manual-teacher-a5.xsim
Original file line number Diff line number Diff line change
@@ -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}{}
23 changes: 23 additions & 0 deletions temp/chapters/introduction.tex
Original file line number Diff line number Diff line change
@@ -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}
7 changes: 7 additions & 0 deletions temp/main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
\input{tex/preamble}

\begin{document}

\include{chapters/introduction}

\end{document}
9 changes: 9 additions & 0 deletions temp/manual-teacher-a5.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
% The teacher's manual - A5 format
\documentclass[a5paper,10pt,british]{memoir}

\isopage
\checkandfixthelayout

%\usepackage[noamssymb,noamsthm,envcountsect]{beamerarticle}

\input{main}
7 changes: 7 additions & 0 deletions temp/slides.tex
Original file line number Diff line number Diff line change
@@ -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}
4 changes: 4 additions & 0 deletions temp/tex/preamble.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
\usepackage{libertine}

\usepackage{xsim} % New version of 'exsheets'
%\xsimsetup[points/name={p.}}
13 changes: 13 additions & 0 deletions tex/headings.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
\let\oldchapter\chapter
\renewcommand{\chapter}[1]{
\chapter{#1}
\only<beamer>{\section{#1}}
{\setbeamercolor{background canvas}{bg=backgroundchapter}
\mode<beamer>{
\begin{frame}
\begin{center}
\Large\textbf{#1}
\end{center}
\end{frame}}
}}

\newcommand{\Chapter}[1]{
\only<article>{\chapter{#1}}
\only<beamer>{\section{#1}}
Expand Down
2 changes: 2 additions & 0 deletions tex/preamble.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
\usepackage[utf8]{inputenc}

% Fonts
\usepackage[T1]{fontenc}
\usepackage[supstfm=libertinesups]{superiors}
Expand Down

0 comments on commit 9170fdf

Please sign in to comment.