Skip to content

Commit 64a3f38

Browse files
committed
Adapt headers
1 parent 874ea29 commit 64a3f38

10 files changed

Lines changed: 4336 additions & 592 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex 2023.1.20) 31 MAY 2025 00:09
2+
entering extended mode
3+
restricted \write18 enabled.
4+
%&-line parsing enabled.
5+
**callout-boxes.tex
6+
(./callout-boxes.tex
7+
LaTeX2e <2022-11-01> patch level 1
8+
L3 programming layer <2023-01-16>
9+
10+
! LaTeX Error: File `scrartcl.cls' not found.
11+
12+
Type X to quit or <RETURN> to proceed,
13+
or enter new name. (Default extension: cls)
14+
15+
Enter file name:
16+
! Emergency stop.
17+
<read *>
18+
19+
l.10 ^^M
20+
21+
Here is how much of TeX's memory you used:
22+
31 strings out of 478750
23+
575 string characters out of 5848503
24+
1841991 words of memory out of 5000000
25+
20157 multiletter control sequences out of 15000+600000
26+
512287 words of font info for 32 fonts, out of 8000000 for 9000
27+
14 hyphenation exceptions out of 8191
28+
19i,0n,29p,111b,17s stack positions out of 10000i,1000n,20000p,200000b,200000s
29+
30+
No pages of output.

AEET_2025/exercises/callout-boxes.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Callout boxes"
3-
format: html
3+
format: pdf
44
---
55

66
::: callout-note
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
% Options for packages loaded elsewhere
2+
\PassOptionsToPackage{unicode}{hyperref}
3+
\PassOptionsToPackage{hyphens}{url}
4+
\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
5+
%
6+
\documentclass[
7+
letterpaper,
8+
DIV=11,
9+
numbers=noendperiod]{scrartcl}
10+
11+
\usepackage{amsmath,amssymb}
12+
\usepackage{iftex}
13+
\ifPDFTeX
14+
\usepackage[T1]{fontenc}
15+
\usepackage[utf8]{inputenc}
16+
\usepackage{textcomp} % provide euro and other symbols
17+
\else % if luatex or xetex
18+
\usepackage{unicode-math}
19+
\defaultfontfeatures{Scale=MatchLowercase}
20+
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
21+
\fi
22+
\usepackage{lmodern}
23+
\ifPDFTeX\else
24+
% xetex/luatex font selection
25+
\fi
26+
% Use upquote if available, for straight quotes in verbatim environments
27+
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
28+
\IfFileExists{microtype.sty}{% use microtype if available
29+
\usepackage[]{microtype}
30+
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
31+
}{}
32+
\makeatletter
33+
\@ifundefined{KOMAClassName}{% if non-KOMA class
34+
\IfFileExists{parskip.sty}{%
35+
\usepackage{parskip}
36+
}{% else
37+
\setlength{\parindent}{0pt}
38+
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
39+
}{% if KOMA class
40+
\KOMAoptions{parskip=half}}
41+
\makeatother
42+
\usepackage{xcolor}
43+
\setlength{\emergencystretch}{3em} % prevent overfull lines
44+
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
45+
% Make \paragraph and \subparagraph free-standing
46+
\ifx\paragraph\undefined\else
47+
\let\oldparagraph\paragraph
48+
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
49+
\fi
50+
\ifx\subparagraph\undefined\else
51+
\let\oldsubparagraph\subparagraph
52+
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
53+
\fi
54+
55+
56+
\providecommand{\tightlist}{%
57+
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}\usepackage{longtable,booktabs,array}
58+
\usepackage{calc} % for calculating minipage widths
59+
% Correct order of tables after \paragraph or \subparagraph
60+
\usepackage{etoolbox}
61+
\makeatletter
62+
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
63+
\makeatother
64+
% Allow footnotes in longtable head/foot
65+
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
66+
\makesavenoteenv{longtable}
67+
\usepackage{graphicx}
68+
\makeatletter
69+
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
70+
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
71+
\makeatother
72+
% Scale images if necessary, so that they will not overflow the page
73+
% margins by default, and it is still possible to overwrite the defaults
74+
% using explicit options in \includegraphics[width, height, ...]{}
75+
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
76+
% Set default figure placement to htbp
77+
\makeatletter
78+
\def\fps@figure{htbp}
79+
\makeatother
80+
81+
\KOMAoption{captions}{tableheading}
82+
\makeatletter
83+
\@ifpackageloaded{tcolorbox}{}{\usepackage[skins,breakable]{tcolorbox}}
84+
\@ifpackageloaded{fontawesome5}{}{\usepackage{fontawesome5}}
85+
\definecolor{quarto-callout-color}{HTML}{909090}
86+
\definecolor{quarto-callout-note-color}{HTML}{0758E5}
87+
\definecolor{quarto-callout-important-color}{HTML}{CC1914}
88+
\definecolor{quarto-callout-warning-color}{HTML}{EB9113}
89+
\definecolor{quarto-callout-tip-color}{HTML}{00A047}
90+
\definecolor{quarto-callout-caution-color}{HTML}{FC5300}
91+
\definecolor{quarto-callout-color-frame}{HTML}{acacac}
92+
\definecolor{quarto-callout-note-color-frame}{HTML}{4582ec}
93+
\definecolor{quarto-callout-important-color-frame}{HTML}{d9534f}
94+
\definecolor{quarto-callout-warning-color-frame}{HTML}{f0ad4e}
95+
\definecolor{quarto-callout-tip-color-frame}{HTML}{02b875}
96+
\definecolor{quarto-callout-caution-color-frame}{HTML}{fd7e14}
97+
\makeatother
98+
\makeatletter
99+
\@ifpackageloaded{caption}{}{\usepackage{caption}}
100+
\AtBeginDocument{%
101+
\ifdefined\contentsname
102+
\renewcommand*\contentsname{Table of contents}
103+
\else
104+
\newcommand\contentsname{Table of contents}
105+
\fi
106+
\ifdefined\listfigurename
107+
\renewcommand*\listfigurename{List of Figures}
108+
\else
109+
\newcommand\listfigurename{List of Figures}
110+
\fi
111+
\ifdefined\listtablename
112+
\renewcommand*\listtablename{List of Tables}
113+
\else
114+
\newcommand\listtablename{List of Tables}
115+
\fi
116+
\ifdefined\figurename
117+
\renewcommand*\figurename{Figure}
118+
\else
119+
\newcommand\figurename{Figure}
120+
\fi
121+
\ifdefined\tablename
122+
\renewcommand*\tablename{Table}
123+
\else
124+
\newcommand\tablename{Table}
125+
\fi
126+
}
127+
\@ifpackageloaded{float}{}{\usepackage{float}}
128+
\floatstyle{ruled}
129+
\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]}
130+
\floatname{codelisting}{Listing}
131+
\newcommand*\listoflistings{\listof{codelisting}{List of Listings}}
132+
\makeatother
133+
\makeatletter
134+
\makeatother
135+
\makeatletter
136+
\@ifpackageloaded{caption}{}{\usepackage{caption}}
137+
\@ifpackageloaded{subcaption}{}{\usepackage{subcaption}}
138+
\makeatother
139+
\ifLuaTeX
140+
\usepackage{selnolig} % disable illegal ligatures
141+
\fi
142+
\usepackage{bookmark}
143+
144+
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
145+
\urlstyle{same} % disable monospaced font for URLs
146+
\hypersetup{
147+
pdftitle={Callout boxes},
148+
colorlinks=true,
149+
linkcolor={blue},
150+
filecolor={Maroon},
151+
citecolor={Blue},
152+
urlcolor={Blue},
153+
pdfcreator={LaTeX via pandoc}}
154+
155+
\title{Callout boxes}
156+
\author{}
157+
\date{}
158+
159+
\begin{document}
160+
\maketitle
161+
162+
\begin{tcolorbox}[enhanced jigsaw, coltitle=black, opacityback=0, toptitle=1mm, rightrule=.15mm, colback=white, colframe=quarto-callout-note-color-frame, breakable, left=2mm, opacitybacktitle=0.6, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Note}, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, bottomrule=.15mm, arc=.35mm, titlerule=0mm, toprule=.15mm, leftrule=.75mm]
163+
164+
Note that there are five types of callouts, including: \texttt{note},
165+
\texttt{warning}, \texttt{important}, \texttt{tip}, and
166+
\texttt{caution}.
167+
168+
\end{tcolorbox}
169+
170+
\begin{tcolorbox}[enhanced jigsaw, coltitle=black, opacityback=0, toptitle=1mm, rightrule=.15mm, colback=white, colframe=quarto-callout-tip-color-frame, breakable, left=2mm, opacitybacktitle=0.6, title=\textcolor{quarto-callout-tip-color}{\faLightbulb}\hspace{0.5em}{Tip}, colbacktitle=quarto-callout-tip-color!10!white, bottomtitle=1mm, bottomrule=.15mm, arc=.35mm, titlerule=0mm, toprule=.15mm, leftrule=.75mm]
171+
172+
This should be an example of a callout with a caption. So add a caption!
173+
174+
\end{tcolorbox}
175+
176+
\begin{tcolorbox}[enhanced jigsaw, coltitle=black, opacityback=0, toptitle=1mm, rightrule=.15mm, colback=white, colframe=quarto-callout-caution-color-frame, breakable, left=2mm, opacitybacktitle=0.6, title=\textcolor{quarto-callout-caution-color}{\faFire}\hspace{0.5em}{Expand To Learn About Collapse}, colbacktitle=quarto-callout-caution-color!10!white, bottomtitle=1mm, bottomrule=.15mm, arc=.35mm, titlerule=0mm, toprule=.15mm, leftrule=.75mm]
177+
178+
This should be an example of a ``folded'' caution callout that can be
179+
expanded by the user. You can use \texttt{collapse="true"} to collapse
180+
it by default or \texttt{collapse="false"} to make a collapsible callout
181+
that is expanded by default. Try adding these to attributes.
182+
183+
\end{tcolorbox}
184+
185+
186+
187+
\end{document}

AEET_2025/exercises/markdown-syntax.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ format: html
99

1010
3. Add an image link to a web image you have chosen and a local image.
1111

12-
4. Use any markdown syntax that you can recall from the slides or refresh your memory from <https://quarto.org/docs/authoring/markdown-basics.html>.
12+
4. Use any markdown syntax that you can recall from the document or refresh your memory from <https://quarto.org/docs/authoring/markdown-basics.html>.

0 commit comments

Comments
 (0)