From 1a2cb009aa0dbd9ce620122a45ccd5828b203c6a Mon Sep 17 00:00:00 2001 From: Felix Spanier Date: Fri, 4 Mar 2022 16:40:16 +0100 Subject: [PATCH] =?UTF-8?q?C++=20Blockkurs=20B=C3=BCro=2004.03.22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c++-ss22/vortrag.tex | 92 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 81 insertions(+), 11 deletions(-) diff --git a/c++-ss22/vortrag.tex b/c++-ss22/vortrag.tex index cbf07ef..6b32779 100644 --- a/c++-ss22/vortrag.tex +++ b/c++-ss22/vortrag.tex @@ -55,6 +55,76 @@ + +\usepackage{tikz} +\usetikzlibrary{patterns} +\usetikzlibrary{decorations.pathmorphing,fit,shapes,arrows,intersections,calc,trees,positioning,math,calc} +\usepackage{dirtree} +\usepackage{pgfplots,adjustbox} +\pgfplotsset{compat=1.12} + + +\usetikzlibrary{arrows.meta,positioning} + +\usetikzlibrary{external}% +%\tikzexternalize[up to date check=md5]% +\tikzsetexternalprefix{tikz/cache/}% + +\tikzset{ + invisible/.style={opacity=0}, + visible on/.style={alt={#1{}{invisible}}}, + alt/.code args={<#1>#2#3}{% + \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path + }, +} + +\tikzset{ + highlighted/.style={color=red}, + nonhighlighted/.style={color=black}, + highlight on/.style={alt={#1{highlighted}{nonhighlighted}}}, +} + +\usepackage{tcolorbox} +\tcbuselibrary{minted} +\tcbuselibrary{xparse} + +\definecolor{codebg}{rgb}{.85,.85,.85} + +\newminted{cpp}{autogobble,linenos,mathescape,bgcolor=codebg} +\newminted{bash}{autogobble,linenos} + +\NewTCBListing{bash}{O{}}{% + listing only, + minted language=bash, + minted options={autogobble,#1}, + colframe=black!10!white, + arc=.5mm, + boxsep=1mm, + top=0mm, + bottom=0mm, + flush left, + grow to left by=\leftmargin, +} + +\NewTCBListing{cpp}{O{}}{% + listing only, + minted language=cpp, + minted options={autogobble,mathescape,#1}, + colframe=black!10!white, + arc=.5mm, + boxsep=1mm, + top=0mm, + bottom=0mm, + flush left, + grow to left by=\leftmargin, +} + + +\newmintinline{bash}{} +\newmintinline{cpp}{} + + + \newcommand{\attentionbox}[3]{\begin{center}\begin{minipage}[c]{#1\columnwidth}\begin{alertblock}{#2}#3\end{alertblock}\end{minipage}\end{center}} \newcommand{\textbox}[3]{\begin{center}\begin{minipage}[c]{#1\columnwidth}\begin{block}{#2}#3\end{block}\end{minipage}\end{center}} \newcommand{\weidingerblock}[5]{ @@ -78,7 +148,7 @@ %\newcommand{\sdiff}{\mathrm{d}} %\newcommand{\del}{\partial} - +\newcommand{\copyrightinfo}{\center\small Original Authors: Dr. Ole Klein, Dr. Steffen Müthing} \title[]{Programmierkurs} @@ -86,8 +156,8 @@ {F. Spanier} \institute[ITA]{Institut für Theoretische Astrophysik} -\date[Astroplasma] % (optional, sollte der abgekürzte Konferenzname sein) -{Lecture Summer term 2021} +\date[IPK] % (optional, sollte der abgekürzte Konferenzname sein) +{Blockkurs Sommer 2022} \definecolor{d-green}{rgb}{0,0.8,0} \newcommand{\dpr}{^{\prime\prime}} @@ -111,6 +181,7 @@ \begin{frame}[plain] \titlepage + \copyrightinfo \end{frame} @@ -120,22 +191,21 @@ -\section{Administration} +\section{Administratives} \begin{frame}[plain] - \centering \Huge Administration + \centering \Huge Administratives \end{frame} -\begin{frame}{Schedule} +\begin{frame}{Vorlesung} \begin{itemize} - \item Lecture: Friday, 14:15 - 15:45 - \item Exercise group: Tuesday, 09:15 - 10:45 - \item Homework handout: Friday, 14:00 (via Moodle) - \item Homework hand-in: Friday, 13:59 (via Moodle) + \item 31. März - 13. April + \item Montag - Freitag + \item jeweils 09:15 -12:00 \end{itemize} \end{frame} -\begin{frame}{Homework and final exam} +\begin{frame}{Tutorium} \begin{itemize} \item Homework will be graded \item No final exam - homework grades will make up your final grade