118 lines
2.9 KiB
TeX
118 lines
2.9 KiB
TeX
\documentclass[a4paper, fontsize = 8pt, landscape]{scrartcl}
|
|
\usepackage[german]{babel}
|
|
\usepackage[landscape, margin=0.5cm]{geometry}
|
|
\usepackage[dvipsnames]{xcolor}
|
|
% Hyperref links, pdf metadata
|
|
\usepackage{hyperref}
|
|
\usepackage{amscd, amsmath, amssymb, blindtext, empheq, enumitem, multicol}
|
|
\usepackage{mathtools}
|
|
\usepackage{graphicx}
|
|
\usepackage{tikz}
|
|
\usepackage{array} %for bigger tabular spacings
|
|
\usepackage{multirow} % for multirow cells in tabular
|
|
\usepackage{booktabs}
|
|
\usepackage{comment}
|
|
%% Formal tables
|
|
\usepackage{booktabs}
|
|
|
|
% make document compact
|
|
|
|
\parindent 0pt
|
|
\pagestyle{empty}
|
|
\setlength{\unitlength}{1cm}
|
|
\setlist{leftmargin = *}
|
|
|
|
% define some colors
|
|
\definecolor{title}{RGB}{229,140,140}
|
|
\definecolor{subtitle}{RGB}{239,185,185}
|
|
\definecolor{text}{RGB}{0,0,0}
|
|
\definecolor{formulabox}{RGB}{182,225,189}
|
|
|
|
% section color box
|
|
\setkomafont{section}{\mysection}
|
|
\newcommand{\mysection}[1]{%
|
|
\Large\normalfont \sffamily \bfseries%
|
|
\setlength{\fboxsep}{0cm}%already boxed
|
|
\colorbox{title}{%
|
|
\begin{minipage}{\linewidth}%
|
|
\vspace*{2pt}%Space before
|
|
\leftskip2pt %Space left
|
|
\rightskip\leftskip %Space right
|
|
{\color{text} #1}
|
|
\vspace*{1pt}%Space after
|
|
\end{minipage}%
|
|
}}
|
|
%subsection color box
|
|
\setkomafont{subsection}{\mysubsection}
|
|
\newcommand{\mysubsection}[1]{%
|
|
\normalsize \normalfont \sffamily \bfseries%
|
|
\setlength{\fboxsep}{0cm}%already boxed
|
|
\colorbox{subtitle}{%
|
|
\begin{minipage}{\linewidth}%
|
|
\vspace*{2pt}%Space before
|
|
\leftskip2pt %Space left
|
|
\rightskip\leftskip %Space right
|
|
{\color{text} #1}
|
|
\vspace*{1pt}%Space after
|
|
\end{minipage}%
|
|
}}
|
|
|
|
|
|
% equation box
|
|
\newcommand{\eqbox}[1]{\fcolorbox{black}{white}{\hspace{0.5em}#1\hspace{0.5em}}}
|
|
% equation box
|
|
\newcommand{\eqboxf}[1]{\fcolorbox{black}{formulabox}{\hspace{0.5em}#1\hspace{0.5em}}}
|
|
|
|
%Laplace Operator
|
|
\newcommand{\LAPB}[1]{\text{\textbf{L}}\left\{ #1 \right\}}
|
|
\newcommand{\LAPZ}[1]{\text{\textbf{L}}^{-1}\left\{ #1 \right\}}
|
|
|
|
|
|
% tabular collum types
|
|
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
|
|
|
|
%macro for vectors
|
|
\newcommand{\vect}[1]{\mathbf{\underline{#1}}}
|
|
\renewcommand{\d}[1]{\text{ d}#1}
|
|
|
|
|
|
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
|
|
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
|
|
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
\setcounter{secnumdepth}{0} %no enumeration of sections
|
|
\begin{multicols*}{3}
|
|
\begin{center}
|
|
\Large{Technische Mechanik} \\
|
|
\tiny{von Jirayu Ruh, \href{mailto:jirruh@ethz.ch}{jirruh@ethz.ch}}
|
|
\end{center}
|
|
|
|
\input{sections/Kinematik.tex}
|
|
\pagebreak
|
|
\input{sections/Statik.tex}
|
|
\pagebreak
|
|
\input{sections/Dynamik.tex}
|
|
\pagebreak
|
|
\end{multicols*}
|
|
\end{document}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|