This commit is contained in:
Dustin Brunner 2022-08-29 20:20:51 +02:00
commit a735c10f50
8 changed files with 716 additions and 0 deletions

View File

@ -0,0 +1,136 @@
\section{Aufgabenstellung}
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%------------------------------------------------------------------------------------------------
\section{Grundlagen}
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.
\subsection{Bilder}
\begin{figure}[H]
\centering
\includegraphics[scale=0.2]{pictures/platzhalter_bild.png}
\caption{Bild einzeln zentriert}
\label{fig:platzhalter_bild}
\end{figure}
Im Text kann auf Abbildung~\ref{fig:platzhalter_bild} verwiesen werden.
\newpage
Zwei Abbildungen nebeneinander:
\begin{figure}[H]
\centering
\begin{minipage}{0.45\linewidth}
\includegraphics[width=1.0\linewidth]{pictures/platzhalter_bild.png}
\caption{Linkes Bild}
\centering
\label{fig:platzhalter_bild2}
\end{minipage}\hspace{2em}%\hfill%
\begin{minipage}{0.45\linewidth}
\includegraphics[width=1.0\linewidth]{pictures/platzhalter_bild.png}
\caption{Rechtes Bild}
\centering
\label{fig:platzhalter_bild3}
\end{minipage}
\end{figure}
\subsection{Gleichungen}
Eine Gleichung mit Erläuterungen zu den Verwendeten Variablen.
\begin{equation}
\label{eq:Ohmsches_Gesetz}
R = \frac{U}{I}
\end{equation}
\begin{tabular}[H]{lcp{12cm}}
$R$ & $-$ & Widerstand in $\si{\ohm}$ \\
$U$ & $-$ & Spannung in $\si{\volt}$ \\
$I$ & $-$ & Stromstärke in $\si{\ampere}$ \\
\end{tabular}
Im Text kann auf Gleichung~\ref{eq:Ohmsches_Gesetz} verwiesen werden.
Eine Gleichung ohne Erläuterungen:
\begin{equation}
\label{eq:Normalverteilung}
h(x) = \frac{1}{\sigma \sqrt{2\pi}}\cdot e^{-\frac{(x-\mu)^2}{2\sigma^2}}
\end{equation}
Gleichungsumgebung für ausführliche Berechnungen:
\begin{equation*}
\begin{split}
R &= \frac{U}{I} \\
&= \frac{\SI{100}{\milli \volt}}{\SI{5}{\ampere}} \\
&= \frac{100 \cdot 10^{-3} \si{\volt}}{\SI{5}{\ampere}} \\
R &= \SI{0,02}{\ohm} = \underline{\underline{\SI{20}{\milli \ohm}}}.
\end{split}
\end{equation*}
\subsection{Tabellen}
Eine Beispiel-Tabelle für Messwerte:
\begin{table}[H]
\centering
\caption{Messwerte}
\label{tab:Messwerte}
\setlength{\extrarowheight}{3pt}
\begin{tabular}{C{1.8cm}|C{1.8cm}|C{1.8cm}}
\rowcolor[gray]{.9}
$U \:/\: \si{\volt}$ & $U_{2} \:/\:\si{\milli \volt}$ & $I \:/\:\si{\nano \ampere}$ \\
\hline\hline
1,2 & 3,4 & 5,67 \\
\hline
8,910 & 11,12 & 13,14 \\
\hline
1,2 & 3,4 & 5,67 \\
\hline
8,910 & 11,12 & 13,14 \\
\end{tabular}
\end{table}
\subsection{Weitere nützliche Befehle}
Texte in \enquote{Anführungszeichen} mit \verb|\enquote{}|
Quelltext-Formatierung s.o.
Inline-Formel: Der Wert des Widerstandes beträgt: $R = \SI{100}{\ohm}$.
Einheiten ohne Zahlenwert $\si{\ohm}$ und mit Zahlenwert $\SI{100}{\ohm}$.
Zitat einer Quelle: \cite{Versuchsanleitung}.
\subsection*{Unnummerierte Abschnitte, Formeln, etc. mit \enquote{*}}
%------------------------------------------------------------------------------------------------
\section{Versuchsaufbau}
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.
%------------------------------------------------------------------------------------------------
\section{Durchführung und Auswertung}
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%------------------------------------------------------------------------------------------------
\section{Ergebnisse und Diskussion}
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%------------------------------------------------------------------------------------------------
%Literaturverzeichnis
\begin{thebibliography}{}
\bibitem{Versuchsanleitung}
Professur XYZ: \emph{Versuchsanleitung zum Versuch <Versuchsname>}
\bibitem{samplepdf}
africau.edu:
\emph{A Simple PDF File}, \url{http://www.africau.edu/images/default/sample.pdf}, 20.\,Mar.~2022.
\end{thebibliography}

Binary file not shown.

View File

@ -0,0 +1,163 @@
% ---------------------------------------------------
% ------- Praktikum Versuchsprotokoll ---------------
% ---------------------------------------------------
% Erstellt: 2022, Dustin Brunner
% Lizenz: Creative Commons Namensnennung 4.0 International (CC BY 4.0)
% ---------------------------------------------------
% ------ Variaben für jeweiligen Versuch anpassen ---
\def\Versuchsname{<Versuchsname>}
\def\Modulname{<Modulname>}
\def\Versuchsdatum{<Versuchsdatum>}
\def\Abgabedatum{<Abgabedatum>}
% ---------------------------------------------------
% ------- Dokument Konfigurieren --------------------
% ---------------------------------------------------
\documentclass[
paper=a4, % A4 Papier
german, % Dokumentensprache Deutsch
parskip=half, % Europäischer Satz mit Abstand zwischen Absätze
twoside=false, % Papier einseitig bedruckt (auch für Onlineanwendungen)
fontsize=12pt, % Schriftgröße
%headsepline, % Linie nach Kopfzeile
%footsepline, % Linie vor Fusszeile
]{scrartcl}
% ---------------------------------------------------
% ------- Pakete ------------------------------------
% ---------------------------------------------------
% --- Allgemeine Pakekte für Dokumentenkonfiguration ---
\usepackage[utf8]{inputenc} % Codierung der Datei
\usepackage[T1]{fontenc} % Vollen Umfang der Schriftzeichen + Sonderzeichen
\usepackage[ngerman]{babel} % Sprache auf Deutsch (neue Rechtschreibung)
\usepackage{graphicx} % Bilder einbinden
% \begin{figure}[H]
% \centering
% \includegraphics[scale=0.6]{Pfad/zur/Datei}
% \caption{Bildunterschrift}
% \label{fig:Versuchsaufbau} % Kurzname für Verweise im Text: Abbildung~\ref{fig:Versuchsaufbau}
% \end{figure}
\usepackage{float} % Option "H" für Bilder: Bilder an Fester Position im Text
\usepackage{caption} % Bildunterschriften, TabellenÜBERschriften
%\usepackage{subcaption} % Unterabbildungen, Untertabellen (meherere Abblidungen pro Zeile)
% --- Mathematik, Formeln und Einheiten -----------
\usepackage{amsmath} % Mathe-Umgebung
\usepackage{amssymb} % Zusatzsymbole für Formeln
\usepackage[ % SI-Einheiten, Beispiele:
% Wert + Unsicherheit + Einheit: $\SI{4,15+-0,01}{\meter \per \second}$
% Wert + Einheit: $\SI{4,15}{\meter \per \second}$
% nur Einheit: $\si{\meter \per \second}$
locale=DE,
separate-uncertainty, % Unsicherheiten mit ± angeben
]{siunitx}
\usepackage{physics} % Erstellung von Gleichungen vereinfachen
% (http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/physics/physics.pdf)
\usepackage{array} % Mehrzeilige Formeln am "&"-Symbol ausrichten (für = z.B. &=&)
\usepackage{cancel} % Kürzen/Durchstreichen mit \cancel, \bcancel und \xcancel
% --- Gestaltung ----------------------------------
%\usepackage{microtype} % Mikrotypographie (kann man am Ende verwenden)
\usepackage{lmodern} % Schriftart (z.B. lmodern oder mathptmx = Times)
%\usepackage[toc]{multitoc} % mehrspaltiges Inhaltsverzeichnis
\usepackage{csquotes} % Anführungszeichen mit \enquote
\setlength{\parindent}{0em} % Einzüge bei neuem Absatz verhindern
%\usepackage{enumitem} % Abstände zwischen Listenpunkten verringern (beide Zeilen auskommentieren)
%\setlist{itemsep=-10pt}
\usepackage[table]{xcolor} % Farbige Schrift, auch in Tabellen (z.B. {\color{red}Testtext})
%\usepackage{multirow} % Zellen vertikal verbinden z.B. \multirow[t,c,b]{#Zeilen}{Breite der Spalte}{Inhalt}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} %Zentrierte Spalte fester Breite z.B. C{2cm}
\usepackage[hidelinks]{hyperref}% Links, Metadaten und weitere PDF-Features
% PDF-Metadaten setzen
\hypersetup{pdfauthor={<PDF-Autor hier eintragen>}, pdftitle={\Modulname, \Versuchsname}}
\usepackage{pdfpages}
% --- Kopf- und Fußzeilen -------------------------
\usepackage[
automark,
headsepline, % Linie unter Kopfzeile
]{scrlayer-scrpage}
\clearpairofpagestyles % Aktuelle Kopf- und Fußzeilen Konfiguration löschen
% Texte für Kopf- und Fußzeilen
\ihead{Praktikum \Modulname \\\Versuchsname}
\ohead{<PDF-Autor hier eintragen>, Partner 1\\ Partner 2}
\usepackage{lastpage} % Seitenzahl der letzten Seite (für Fußzeile)
\cfoot{Seite \thepage \ von \pageref{LastPage}}
% Alternative Kopf- und Fußzeilen Konfiguration, nicht empfohlen in Verbindung mit scrartcl
%\usepackage{fancyhdr}
%\pagestyle{fancy}
%\fancyhf{}
%\rhead{Dustin Brunner}
%\lhead{Praktikum Elektrische Messtechnik}
%\usepackage{lastpage}
%\cfoot{Seite \thepage \ von \pageref{LastPage}}
% --- Manipulation des Seitenstils ----------------
%\addtolength{\oddsidemargin}{-1in} % Seitenränder in cm setzten
%\addtolength{\textwidth}{1in}
%\addtolength{\oddsidemargin}{2cm}
%\addtolength{\textwidth}{-2cm}
%\addtolength{\topmargin}{-1in}
%\addtolength{\topmargin}{2cm}
%\addtolength{\textheight}{1in}
\newcommand{\paragraphlf}[1]{\paragraph{#1}\mbox{}\\} % Neue Zeile nach Paragraphtitel
\begin{document}
\begin{titlepage} % Titelseite
%\vspace*{1cm}
\begin{center}
\begin{LARGE}
{\fontfamily{cmr}\textsc{\textbf{Universität Musterstadt}}}\\
Fakultät für XYZ\\
Professur für ABC\\
\end{LARGE}
\hrulefill
\vspace{1cm}
{\LARGE Praktikum}\\
{\huge \textbf{\Modulname{}}}\\
\vspace{1cm}
{\LARGE Versuch:}\\
{\huge \textbf{\Versuchsname{}}}\\
\vspace{1cm}
\end{center}
\begin{large}
\begin{tabbing}
Versuchsdatum: \quad\= \Versuchsdatum{} \quad\quad\= Abgabedatum: \quad \Abgabedatum{}\\\\
Laborgruppe: \> <Gruppenname>\\\\
Mitarbeiter: \> <PDF-Autor hier eintragen>\\
\> Partner 1\\
\> Partner 2\\\\
Email: \> \href{mailto:mail@example.com}{<mail@example.com>}\\\\
Betreuer: \> <Betreuer Name> \\
\end{tabbing}
\end{large}
\hrulefill
\end{titlepage}
\input{Inhalt}
\includepdf[pages=1-2]{sample_attachment.pdf}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,198 @@
%PDF-1.3
%âãÏÓ
1 0 obj
<<
/Type /Catalog
/Outlines 2 0 R
/Pages 3 0 R
>>
endobj
2 0 obj
<<
/Type /Outlines
/Count 0
>>
endobj
3 0 obj
<<
/Type /Pages
/Count 2
/Kids [ 4 0 R 6 0 R ]
>>
endobj
4 0 obj
<<
/Type /Page
/Parent 3 0 R
/Resources <<
/Font <<
/F1 9 0 R
>>
/ProcSet 8 0 R
>>
/MediaBox [0 0 612.0000 792.0000]
/Contents 5 0 R
>>
endobj
5 0 obj
<< /Length 1074 >>
stream
2 J
BT
0 0 0 rg
/F1 0027 Tf
57.3750 722.2800 Td
( A Simple PDF File ) Tj
ET
BT
/F1 0010 Tf
69.2500 688.6080 Td
( This is a small demonstration .pdf file - ) Tj
ET
BT
/F1 0010 Tf
69.2500 664.7040 Td
( just for use in the Virtual Mechanics tutorials. More text. And more ) Tj
ET
BT
/F1 0010 Tf
69.2500 652.7520 Td
( text. And more text. And more text. And more text. ) Tj
ET
BT
/F1 0010 Tf
69.2500 628.8480 Td
( And more text. And more text. And more text. And more text. And more ) Tj
ET
BT
/F1 0010 Tf
69.2500 616.8960 Td
( text. And more text. Boring, zzzzz. And more text. And more text. And ) Tj
ET
BT
/F1 0010 Tf
69.2500 604.9440 Td
( more text. And more text. And more text. And more text. And more text. ) Tj
ET
BT
/F1 0010 Tf
69.2500 592.9920 Td
( And more text. And more text. ) Tj
ET
BT
/F1 0010 Tf
69.2500 569.0880 Td
( And more text. And more text. And more text. And more text. And more ) Tj
ET
BT
/F1 0010 Tf
69.2500 557.1360 Td
( text. And more text. And more text. Even more. Continued on page 2 ...) Tj
ET
endstream
endobj
6 0 obj
<<
/Type /Page
/Parent 3 0 R
/Resources <<
/Font <<
/F1 9 0 R
>>
/ProcSet 8 0 R
>>
/MediaBox [0 0 612.0000 792.0000]
/Contents 7 0 R
>>
endobj
7 0 obj
<< /Length 676 >>
stream
2 J
BT
0 0 0 rg
/F1 0027 Tf
57.3750 722.2800 Td
( Simple PDF File 2 ) Tj
ET
BT
/F1 0010 Tf
69.2500 688.6080 Td
( ...continued from page 1. Yet more text. And more text. And more text. ) Tj
ET
BT
/F1 0010 Tf
69.2500 676.6560 Td
( And more text. And more text. And more text. And more text. And more ) Tj
ET
BT
/F1 0010 Tf
69.2500 664.7040 Td
( text. Oh, how boring typing this stuff. But not as boring as watching ) Tj
ET
BT
/F1 0010 Tf
69.2500 652.7520 Td
( paint dry. And more text. And more text. And more text. And more text. ) Tj
ET
BT
/F1 0010 Tf
69.2500 640.8000 Td
( Boring. More, a little more text. The end, and just as well. ) Tj
ET
endstream
endobj
8 0 obj
[/PDF /Text]
endobj
9 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F1
/BaseFont /Helvetica
/Encoding /WinAnsiEncoding
>>
endobj
10 0 obj
<<
/Creator (Rave \(http://www.nevrona.com/rave\))
/Producer (Nevrona Designs)
/CreationDate (D:20060301072826)
>>
endobj
xref
0 11
0000000000 65535 f
0000000019 00000 n
0000000093 00000 n
0000000147 00000 n
0000000222 00000 n
0000000390 00000 n
0000001522 00000 n
0000001690 00000 n
0000002423 00000 n
0000002456 00000 n
0000002574 00000 n
trailer
<<
/Size 11
/Root 1 0 R
/Info 10 0 R
>>
startxref
2714
%%EOF

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

194
README.html Normal file

File diff suppressed because one or more lines are too long

25
README.md Normal file
View File

@ -0,0 +1,25 @@
# Praktikum Versuchsprotokoll Vorlage Latex
Eine Vorlage für ein Versuchsprotokoll.
### Die PDF-Version der Beispieldatei kann [hier](Protokoll_Template/Protokoll.pdf) angesehen werden.
<hr>
<center>
<img src="Protokoll_Template_Screenshot.png" width="70%">
</center>
<hr>
## Quellen/Inspiration für diese Vorlage
- http://www.martin-wolf.org/
- https://www.matthiaspospiech.de/latex/templates/protokolle/
Beispielinhalt:
- https://www.tv-bopfingen.de/beitrag-platzhalter-2/
- http://www.africau.edu/images/default/sample.pdf
<br><br>
<p xmlns:dct="http://purl.org/dc/terms/" xmlns:cc="http://creativecommons.org/ns#" class="license-text">This work by <span property="cc:attributionName">Dustin Brunner</span> is licensed under <a rel="license" href="https://creativecommons.org/licenses/by/4.0">CC BY 4.0<img style="height:15px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" /><img style="height:15px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" /></a></p>
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons Lizenzvertrag" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />Dieses Werk von <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Dustin Brunner</span> ist lizenziert unter einer <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Namensnennung 4.0 International Lizenz</a>.