|
18 | 18 | \usepackage{fontspec} % To enable use of ttf fonts
|
19 | 19 | \usepackage{enumitem} % For customizing lists
|
20 | 20 |
|
| 21 | +\usepackage{wasysym} % For smileys :) |
| 22 | + |
21 | 23 | % Set section count to -1, so the first section (which is hidden) becomes 0,
|
22 | 24 | % and thus the first section actually becomes 1
|
23 | 25 | \setcounter{section}{-1}
|
|
29 | 31 | \newenvironment{Kontrollfragor}%
|
30 | 32 | {\begin{Assignments}[K]\tightlist}{\end{Assignments}}
|
31 | 33 |
|
32 |
| - |
33 |
| - |
34 | 34 | \newenvironment{Datorarbete}%
|
35 | 35 | {\begin{Assignments}[D]}{\end{Assignments}}
|
36 | 36 |
|
37 | 37 | \newenvironment{DatorarbeteCont}%
|
38 | 38 | {\begin{Assignments}[D]\setcounter{Ucount}{\theSavecount}}{\end{Assignments}}
|
39 | 39 |
|
| 40 | +\newenvironment{Extrauppgifter}% |
| 41 | +{\begin{Assignments}[E]}{\end{Assignments}} |
| 42 | + |
40 | 43 | \newenvironment{Deluppgifter}%
|
41 | 44 | {\begin{enumerate}[a)]\firmlist}{\end{enumerate}}
|
42 | 45 |
|
|
48 | 51 | \newcommand{\progname}{c3pu}
|
49 | 52 | \newcommand{\progfilename}{c3pu.jar}
|
50 | 53 |
|
51 |
| -% \newcommand{\hint}[1]{\textbf{Hint:} #1} |
52 | 54 | % 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} |
54 | 56 |
|
55 | 57 |
|
56 | 58 | % Section styles.
|
|
63 | 65 | \renewcommand{\thefigure}{\arabic{figure}}
|
64 | 66 |
|
65 | 67 | %*****************************************************************
|
| 68 | +\author{} |
66 | 69 | \begin{document}
|
67 | 70 | \courseinfo{Datorer och datoranvändning}{2024}
|
68 | 71 | \maketitle
|
|
0 commit comments