Skip to content

Commit

Permalink
Move the include of language packages earlier in the class file, befo…
Browse files Browse the repository at this point in the history
…re any text with Hungarian characters.
  • Loading branch information
mcserep committed May 15, 2020
1 parent 29704ab commit 7086fae
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions elteikthesis.cls
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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}
Expand Down Expand Up @@ -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}}
Expand Down Expand Up @@ -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}
Expand Down
Binary file modified thesis.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion thesis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7086fae

Please sign in to comment.