Skip to content

Commit f76ca67

Browse files
committed
Use automatically localized quotation marks with csquotes package.
1 parent 1de68c1 commit f76ca67

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

elteiktdk.cls

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
\RequirePackage[utf8]{inputenc}
6161
\RequirePackage[T1]{fontenc}
6262
\fi
63-
\RequirePackage[english,magyar]{babel}
63+
\RequirePackage[english,hungarian]{babel}
6464
\RequirePackage{indentfirst}
6565
% ------------------------------
6666

@@ -96,7 +96,7 @@
9696
\selectlanguage{#1}
9797

9898
% Magyar
99-
\ifthenelse{\equal{\detokenize{#1}}{\detokenize{magyar}}}
99+
\ifthenelse{\equal{\detokenize{#1}}{\detokenize{hungarian}}}
100100
{
101101
\newcommand{\authorlabel}{Szerző}
102102
\newcommand{\authorslabel}{Szerzők}
@@ -380,7 +380,7 @@
380380

381381
% ------------------------------
382382
% Irodalomjegyzék
383-
\RequirePackage[style=english]{csquotes}
383+
\RequirePackage[autostyle=true]{csquotes}
384384
\RequirePackage[
385385
backend=bibtex,
386386
style=numeric, % irodalomjegyzék stílusa
@@ -465,14 +465,14 @@
465465
% Fedőlap
466466
\newcommand{\makecover}{
467467
\phantomsection
468-
\thispagestyle{empty}
468+
\thispagestyle{empty}
469469
\begin{center}
470470
\vspace*{\fill}
471-
471+
472472
{\Large \bf TDK-dolgozat}
473-
473+
474474
\vfill
475-
475+
476476
\ifdefined\coauthorname
477477
\begin{minipage}{0.45\textwidth}
478478
\begin{flushleft}
@@ -484,10 +484,10 @@
484484
{\large \coauthorname}
485485
\end{flushright}
486486
\end{minipage}
487-
\else
488-
{\large \authorname}
487+
\else
488+
{\large \authorname}
489489
\fi
490-
490+
491491
\vspace*{\fill}
492492
\end{center}
493493
}
@@ -497,18 +497,18 @@
497497
% Címlap
498498
\renewcommand{\maketitle}{
499499
\begin{titlepage}
500-
500+
501501
\begin{center}
502-
502+
503503
\begin{spacing}{2.0}
504504
{\bf \huge \thesistitle}\\[1.5cm]
505505
\end{spacing}
506-
506+
507507
{\sc \LARGE \univname}\\[0.7cm]
508508
{\sc \Large \facname}\\[0.7cm]
509509
{\sc \large \deptname}\\[1.0cm]
510510
\includegraphics[width=0.3\textwidth]{\logofilename}\\[1.0cm]
511-
511+
512512
\ifdefined\coauthorname
513513
{\it \large \authorslabel:}\\[0.7cm]
514514
\begin{minipage}{0.45\textwidth}
@@ -525,15 +525,15 @@
525525
\coperiodname
526526
\end{flushright}
527527
\end{minipage}
528-
\else
528+
\else
529529
{\it \large \authorlabel:}\\[0.7cm]
530530
{\large \authorname}\\
531531
\degreename\\
532532
\periodname
533533
\fi
534-
534+
535535
\vspace{1.5cm}
536-
536+
537537
\ifdefined\cosupname
538538
{\it \large \supslabel:}\\[0.7cm]
539539
\begin{minipage}{0.45\textwidth}
@@ -548,25 +548,25 @@
548548
\cosupaff
549549
\end{flushright}
550550
\end{minipage}
551-
\else
551+
\else
552552
{\it \large \suplabel:}\\[0.7cm]
553553
{\large \supname}\\
554554
\supaff
555555
\fi
556-
556+
557557
\vfill
558-
558+
559559
\cityname, \thesisyear
560-
560+
561561
\end{center}
562-
562+
563563
\end{titlepage}
564564
}
565565
% ------------------------------
566566

567567
\AtBeginDocument{
568568
% If the minted package is loaded, then provide a default for the formatting,
569-
% and set the labels for the listings
569+
% and set the labels for the listings
570570
\@ifpackageloaded{minted}{
571571
\setminted{
572572
style=tango,
@@ -586,15 +586,15 @@
586586
listname=\lstcodelabel, % Forráskódjegyzék elnevezése
587587
}
588588
}
589-
589+
590590
% Az oldalszámozás a tartalomjegyzékkel kezdődik, de ott nem látható
591591
\let\oldtableofcontents\tableofcontents
592592
\renewcommand{\tableofcontents}{
593593
\pagenumbering{gobble}
594594
\oldtableofcontents
595595
\cleardoublepage
596596
% Oldalszám mentése és betöltése, mert a \pagenumbering visszállítja
597-
\newcounter{conpageno}
597+
\newcounter{conpageno}
598598
\defcounter{conpageno}{\value{page}}
599599
\pagenumbering{arabic}
600600
\setcounter{page}{\value{conpageno}}

0 commit comments

Comments
 (0)