initial commit

This commit is contained in:
Kjistóf 2017-10-14 11:48:04 +02:00
commit 2370dfc7f0
1 changed files with 60 additions and 0 deletions

60
handout-generator.tex Normal file
View File

@ -0,0 +1,60 @@
\documentclass[a5paper]{article}
\usepackage[left=10mm,right=10mm,bottom=20mm,top=20mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\usepackage[magyar]{babel}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{DejaVuSansMono}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[unicode]{hyperref}
\usepackage{parskip}
\usepackage{ragged2e}
\usepackage{sectsty}
\usepackage{microtype}
\usepackage{textcomp}
%%%%%%%%%%%%% CONFIGURATION %%%%%%%%%%%%%
\newcommand{\spacing}{24mm} % space for answers
\newcommand{\lab}{Oracle, mint rendszer -- beugró} % name of lab session
% exercises
\newcommand{\eone}{Milyen információt tartalmaz a \emph{Redo-log} állomány?}
\newcommand{\etwo}{Mi a \emph{szinonima}? Mire használható?}
\newcommand{\ethree}{Mik a \emph{szerep}ek (\emph{role}ok) és mire használhatók az Oracle jogosultsági rendszerében?}
\newcommand{\efour}{Mi a különbség az Oracle \emph{CHAR(n)} és \emph{VARCHAR2(n)} adattípusai között?}
\newcommand{\efive}{Mi az \emph{indexek} szerepe? Hogyan lehet a tartalmukat frissíteni?}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\fancyhead{}
\fancyfoot{}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{1px}
\renewcommand{\footrulewidth}{1px}
\fancyhead[L]{Név:}
\fancyhead[R]{Neptun: \hspace{20mm}}
\fancyfoot[L]{\lab}
\fancyfoot[R]{Adatbázisok labor}
\renewcommand\thesubsection{\arabic{subsection}}
\subsectionfont{\normalsize}
\newcommand{\exercisespace}{\vspace{\spacing}}
\newcommand{\exercise}[1]
{
\subsection{#1}
\exercisespace
}
\begin{document}
\exercise{\eone}
\exercise{\etwo}
\exercise{\ethree}
\exercise{\efour}
\exercise{\efive}
\end{document}