Skip to content

Commit

Permalink
Added some SVGs
Browse files Browse the repository at this point in the history
Improved the readme
  • Loading branch information
Iceteavanill committed Feb 2, 2025
1 parent dde61fd commit 8c1ef3e
Show file tree
Hide file tree
Showing 17 changed files with 1,758 additions and 23 deletions.
307 changes: 307 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,307 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb

## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf

## Generated if empty string is given at "Please type another file name for output:"
.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bbl-SAVE-ERROR
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
*.rubbercache
rubber.cache

## Build tool directories for auxiliary files
# latexrun
latex.out/

## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa

# achemso
acs-*.bib

# amsthm
*.thm

# beamer
*.nav
*.pre
*.snm
*.vrb

# changes
*.soc

# comment
*.cut

# cprotect
*.cpt

# elsarticle (documentclass of Elsevier journals)
*.spl

# endnotes
*.ent

# fixme
*.lox

# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm

#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.lzo
*.lzs
*.slg
*.slo
*.sls

# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist

# gnuplot
*.gnuplot
*.table

# gnuplottex
*-gnuplottex-*

# gregoriotex
*.gaux
*.glog
*.gtex

# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref

# hypdoc
*.hd

# hyperref
*.brf

# knitr
*-concordance.tex
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
# *.tikz
*-tikzDictionary

# listings
*.lol

# luatexja-ruby
*.ltjruby

# makeidx
*.idx
*.ilg
*.ind

# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*

# minted
_minted*
*.pyg

# morewrites
*.mw

# newpax
*.newpax

# nomencl
*.nlg
*.nlo
*.nls

# pax
*.pax

# pdfpcnotes
*.pdfpc

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# scrwfile
*.wrt

# svg
svg-inkscape/

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# pdfcomment
*.upa
*.upb

# pythontex
*.pytxcode
pythontex-files-*/

# tcolorbox
*.listing

# thmtools
*.loe

# TikZ & PGF
*.dpth
*.md5
*.auxlock

# titletoc
*.ptc

# todonotes
*.tdo

# vhistory
*.hst
*.ver

# easy-todo
*.lod

# xcolor
*.xcp

# xmpincl
*.xmpi

# xindy
*.xdy

# xypic precompiled matrices and outlines
*.xyc
*.xyd

# endfloat
*.ttt
*.fff

# Latexian
TSWLatexianTemp*

## Editors:
# WinEdt
*.bak
*.sav

# Texpad
.texpadtmp

# LyX
*.lyx~

# Kile
*.backup

# gummi
.*.swp

# KBibTeX
*~[0-9]*

# TeXnicCenter
*.tps

# auto folder when using emacs and auctex
./auto/*
*.el

# expex forward references with \gathertags
*-tags.tex

# standalone packages
*.sta

# Makeindex log files
*.lpz

# xwatermark package
*.xwm

# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib
Binary file added Prog_c.pdf
Binary file not shown.
12 changes: 11 additions & 1 deletion Prog_c.tex
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@
}
\lstset{style=mystyle}

\usepackage{ifthen} % ifthen to let others use this document, based on their setup

\newboolean{svgWorks}
\setboolean{svgWorks}{true} % false = svg package NOT installed

\ifthenelse{\boolean{svgWorks}}{
\usepackage{svg}
\svgpath{{svg/}}
}{}

%automate Columnbreak
\newcommand{\nextcol}{%
\vfill\null%
Expand Down Expand Up @@ -81,7 +91,7 @@
\title{\vspace{-1cm}Prog C}
\subtitle{HS 2023, Prof. Dr. Christian Werner}
\author{Fabian Steiner, \today}
\date{{\small V2.1.0}}
\date{{\small V2.1.1}}

%Header & footer
\fancyhf{}
Expand Down
35 changes: 31 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,37 @@
Zusammenfassung Vorlesung Prog C

# Zusammenfassung Vorlesung Prog C
## Modulinfo
Herbstsemester 2023

Dozent: Prof. Dr. Christian Werner

OST Rapperswil

Die Zusammenfassung wurde zwar sorgfältig erstellt, allerdings kann keine Garantie für den Inhalt gegeben werden.
Einige Inhalte wurden aus den Unterrichtsmaterialien entnommen.
## Disclaimer

Die Zusammenfassung wurde sorgfältig erstellt. Es kann allerdings keine Garantie für den Inhalt gegeben werden.

Gefundene Fehler bitte per Issue melden.

Damit die Zusammenfassung einfacher adaptiert werden kann wurde das Flag "svgWorks" implementiert. Falls das SVG Package nicht funktioniert kann auf PNG's zurückgefallen werden.

# Quellen

Einige Inhalte wurden aus den Unterrichtsmaterialien entnommen oder Stammen aus dem zur Verfügung gestelltem Buch.

Die folgenden Nassi Schneidermann Diagramme wurden von Wikipedia kopiert:

Struktogramm Beispiel:
Florian Philipp, [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0), via Wikimedia Commons

Struktogramm Case:
Homer Landskirty, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0), via Wikimedia Commons

## Template

Das Template ist an der [AMIV/ETHZ Summaries Template Landscape](https://www.overleaf.com/latex/templates/amiv-slash-ethz-summaries-template-landscape/trggddjtjhqr) angelehnt.

# Lizenz-Info

Dieses Werk steht, sofern nicht anders angegeben, unter der [Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA) 4.0-Lizenz](https://creativecommons.org/licenses/by-sa/4.0/).

Ausnahmen -> obige Quellen
9 changes: 7 additions & 2 deletions Sections/01_Grundlagen.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ \subsection{Trivia}
\subsection{Rechnersystem system}

Grundaufbau eines Rechnersystem:

\includegraphics[width=1\columnwidth]{Pictures/PC_system_basicssystem.png}
\begin{center}
\ifthenelse{\boolean{svgWorks}}{
\includesvg[width =\linewidth, inkscapelatex=false]{svg/PC_system_basics.svg}
}{
\includegraphics[width=\columnwidth]{Pictures/PC_system_basicssystem.png}
}
\end{center}

\begin{center}
\begin{tabular}{|c|c|c|} \hline
Expand Down
Loading

0 comments on commit 8c1ef3e

Please sign in to comment.