61 lines
1.7 KiB
TeX
61 lines
1.7 KiB
TeX
\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}
|