Hausaufgabe template
Auteur
Nagy Dániel, Agócs Norbert
Last Updated
il y a 5 ans
License
Creative Commons CC BY 4.0
Résumé
Template project for our homeworks
Template project for our homeworks
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{svg}
\usepackage{float}
\usepackage{caption}
\usepackage{amsmath,amsthm,amsfonts,amssymb,amscd}
\usepackage{fancyhdr}
\usepackage{titlesec}
\pagestyle{empty}
\titleformat*{\section}{\large\bfseries}
%
\geometry{
a4paper,
total={170mm,240mm},
left=20mm,
top=30mm,
}
\date{}
%Bitte ausfüllen
\newcommand\course{Fach}
\newcommand\hwnumber{Zahl}
\newcommand\Name{Name Name}
\newcommand\Neptun{Neptun}
%Matheinheiten
\newcommand\m{\:\textrm{m}}
\newcommand\M{\:\Big[\textrm{m}\Big]}
\newcommand\mm{\:\textrm{mm}}
\newcommand\MM{\:\Big[\textrm{mm}\Big]}
\newcommand\un{\underline}
\newcommand\s{\:\textrm{s}}
\newcommand\bS{\:\Big[\textrm{S}\Big]}
\newcommand\ms{\:\frac{\textrm{m}}{\textrm{s}}}
\newcommand\MS{\:\Big[\frac{\textrm{m}}{\textrm{s}}\Big]}
\newcommand\mss{\:\frac{\textrm{m}}{\textrm{s}^2}}
\newcommand\MSS{\:\Big[\frac{\textrm{m}}{\textrm{s}^2}\Big]}
%Bitte nicht einstellen
\renewcommand{\figurename}{Abbildung}
\renewcommand{\tablename}{Tabelle}
\pagestyle{fancyplain}
\headheight 35pt
\lhead{\Name\\\Neptun}
\chead{\textbf{\Large Hausaufgabe \hwnumber}}
\rhead{\course \\ \today}
\lfoot{}
\cfoot{}
\rfoot{\small\thepage}
\headsep 1.5em
\begin{document}
\section*{Angaben}
%tables
\begin{table}[h]
\centering
\begin{tabular}{c c c}
$\un{a_0} = 10 \mss$ & $\un{v_0} = \begin{bmatrix} 5 \\ 10 \end{bmatrix} \ms$ & 3 \\
4 & $\un{r_0} = \begin{bmatrix} 3 \\ -4.4234 \end{bmatrix} \m$ & 6 \\
\end{tabular}
\end{table}
\section{Zeichnung}
%include svg files
\begin{figure}[H]
\centering
\includesvg[width=1.0\linewidth]{abbildung.svg}
\caption{Hier schreiben.. }
\label{fig:abb}
\end{figure}
\section{Berechnung}
%equations
\begin{equation}
E = mc^2
\end{equation}
\section{Weitere...}
%text
fefcdfe \textbf{Fcdfef} feffefef
\end{document}