You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.1 KiB

\documentclass[6pt,headings=small]{scrartcl}
\usepackage[utf8x]{inputenc}
\usepackage[paper=a4paper,left=10mm,right=10mm,top=10mm,bottom=10mm,landscape]{geometry}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\RedeclareSectionCommand[
beforeskip=-.75\baselineskip,
afterskip=.25\baselineskip]{section}
\RedeclareSectionCommand[
beforeskip=-.5\baselineskip,
afterskip=.25\baselineskip]{subsection}
\RedeclareSectionCommand[
beforeskip=-.25\baselineskip,
afterskip=.25\baselineskip]{subsubsection}
\usepackage{multicol}
\setlength{\columnsep}{0.2cm}
% fancy code highlighting :D
\usepackage{minted}
\definecolor{darkgreen}{rgb}{0.0,0.4,0.0}
\usepackage{enumitem}
\usepackage[Q=yes]{examplep}
\setlength{\parskip}{0.7ex plus 0.5ex minus 0.2ex}
\setlength{\parindent}{0ex}
\usepackage[
pdftitle={Cheatsheet Web-Engineering},
pdfsubject={HTML, PHP \& JSF},
pdfauthor={Thomas Battermann},
pdfkeywords={PHP, HTML, JSF, Cheatsheet, Web-Engineering, DHBW},
pdfborder={0 0 0}
]{hyperref}
\pagenumbering{gobble}
\begin{document}
\begin{multicols}{4}
\section{HTML}
\inputminted[tabsize=3,showtabs=false,breaklines=true]{html}{src/html.html}
\section{PHP}
\subsection{Funktionsreferenz}
\inputminted[tabsize=4,showtabs=false,breaklines=true]{php}{src/befehle.php}
\subsection{CSV}
\inputminted[tabsize=4,showtabs=false,breaklines=true]{php}{src/csv.php}
\subsection{MySQLi}
\inputminted[tabsize=4,showtabs=false,breaklines=true]{php}{src/mysqli.php}
\subsection{Sessions}
\inputminted[tabsize=4,showtabs=false,breaklines=true]{php}{src/sessions.php}
\subsection{OOP}
\inputminted[tabsize=4,showtabs=false,breaklines=true]{php}{src/oop.php}
\subsection{Kontrollstrukturen}
\inputminted[tabsize=4,showtabs=false,breaklines=true]{php}{src/kontrollstrukturen.php}
\section{JSF}
\subsection{Template}
\inputminted[tabsize=2,showtabs=false,breaklines=true]{html}{src/template.xhtml}
\subsection{registerCustomer}
\inputminted[tabsize=2,showtabs=false,breaklines=true]{html}{src/reg.xhtml}
\subsection{ManagedBean Customer.java}
\inputminted[tabsize=2,showtabs=false,breaklines=true]{java}{src/customer.java}
\end{multicols}
\end{document}