Move the include of language packages earlier in the class file, before any text with Hungarian characters.

This commit is contained in:
Máté Cserép 2020-05-15 18:07:10 +02:00
parent 29704aba57
commit 7086faec59
3 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
%% MIT License
%%
%% Version 2.0, 2020/02/26
%% Version 2.1, 2020/05/15
%% Copyright (c) 2013-2020 Máté Cserép <mcserep@inf.elte.hu>, Bálint Bognár
%%
%% Permission is hereby granted, free of charge, to any person obtaining a copy
@ -22,7 +22,7 @@
%% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{elteikthesis}[2020/02/26 ELTE FI bachelor and master thesis template]
\ProvidesClass{elteikthesis}[2020/05/15 ELTE FI bachelor and master thesis template]
% LaTeX programozói eszközök
\RequirePackage{etoolbox}
@ -51,6 +51,14 @@
\LoadClass[a4paper, 12pt, oneside]{report}
% ------------------------------
% ------------------------------
% Karakterkódolás, nyelv
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage[english,magyar]{babel}
\RequirePackage{indentfirst}
% ------------------------------
% ------------------------------
% Metaadatok
\DeclareDocumentCommand{\author}{m}{\newcommand{\authorname}{#1}\renewcommand{\@author}{#1}}
@ -179,14 +187,6 @@
\let\cleardoublepage\clearemptydoublepage
% ------------------------------
% ------------------------------
% Karakterkódolás, nyelv
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage[english,magyar]{babel}
\RequirePackage{indentfirst}
% ------------------------------
% ------------------------------
% Grafika
\RequirePackage{graphicx}

Binary file not shown.

View File

@ -4,7 +4,7 @@
%nohyp, % Szavak sorvégi elválasztásának tiltása / No hyphenation of words
%twoside, % Kétoldalas nyomtatás / Double sided format
%final, % Teendők elrejtése / Set final to hide todos
]{elteikthesis}[2020/02/26]
]{elteikthesis}[2020/05/15]
% Dolgozat metaadatai
% Document's metadata