Skip to content

Commit 1b1d141

Browse files
committed
Improved assignments, cut some content, and cleaned up. Added short theory section.
1 parent 707c1bd commit 1b1d141

File tree

6 files changed

+244
-311
lines changed

6 files changed

+244
-311
lines changed

lab-instructions/dodlabs.tex

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
\usepackage{fontspec} % To enable use of ttf fonts
1919
\usepackage{enumitem} % For customizing lists
2020

21+
\usepackage{wasysym} % For smileys :)
22+
2123
% Set section count to -1, so the first section (which is hidden) becomes 0,
2224
% and thus the first section actually becomes 1
2325
\setcounter{section}{-1}
@@ -29,14 +31,15 @@
2931
\newenvironment{Kontrollfragor}%
3032
{\begin{Assignments}[K]\tightlist}{\end{Assignments}}
3133

32-
33-
3434
\newenvironment{Datorarbete}%
3535
{\begin{Assignments}[D]}{\end{Assignments}}
3636

3737
\newenvironment{DatorarbeteCont}%
3838
{\begin{Assignments}[D]\setcounter{Ucount}{\theSavecount}}{\end{Assignments}}
3939

40+
\newenvironment{Extrauppgifter}%
41+
{\begin{Assignments}[E]}{\end{Assignments}}
42+
4043
\newenvironment{Deluppgifter}%
4144
{\begin{enumerate}[a)]\firmlist}{\end{enumerate}}
4245

@@ -48,9 +51,8 @@
4851
\newcommand{\progname}{c3pu}
4952
\newcommand{\progfilename}{c3pu.jar}
5053

51-
% \newcommand{\hint}[1]{\textbf{Hint:} #1}
5254
% Define the hint command
53-
\newcommand{\hint}[1]{\par\halfblankline\textbf{Hint}: #1\par}
55+
\newcommand{\hint}[2][]{\par\halfblankline\textbf{Hint\ifx#1\empty\else\space#1\fi}: #2\par}
5456

5557

5658
% Section styles.
@@ -63,6 +65,7 @@
6365
\renewcommand{\thefigure}{\arabic{figure}}
6466

6567
%*****************************************************************
68+
\author{}
6669
\begin{document}
6770
\courseinfo{Datorer och datoranvändning}{2024}
6871
\maketitle

0 commit comments

Comments
 (0)