diff --git a/Makefile b/Makefile index 43cd1e0519c5f030b31a82396bda68ee17131797..2ec232f4f477759b48ae48ed4253d344f15a99b7 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,23 @@ .PHONY: all clear all: cd fithesis3 && make - make example.pdf clear + make pdflatex.pdf xelatex.pdf clear -# This target typesets the example. -example.pdf: example.tex +# This target typesets the pdfLaTeX example. +pdflatex.pdf: pdflatex.tex pdflatex $< pdflatex $< +# This target typesets the XeLaTeX example. +xelatex.pdf: xelatex.tex + xelatex $< + xelatex $< + # This target removes any auxiliary files. clear: - rm -f example.aux example.log example.out \ - example.toc example.lot example.lof + rm -f *.aux *.log *.out *.toc *.lot *.lof # This target removes any auxiliary files # and the output PDF file. implode: clear - rm -f example.pdf + rm -f pdflatex.pdf xelatex.pdf diff --git a/example.tex b/example.tex deleted file mode 100644 index 6b389b8e39562a10ec9b609884ccedbcc0f3b70c..0000000000000000000000000000000000000000 --- a/example.tex +++ /dev/null @@ -1,6 +0,0 @@ -\documentclass[color,cover]{fithesis3/fithesis3} -\usepackage[utf8]{inputenc} -\usepackage[english]{babel} -\begin{document} - Hello world! -\end{document} diff --git a/fithesis3/fithesis.dtx b/fithesis3/fithesis.dtx index f0d65cb1d8071547fc0ba3b1bc0ceeca69f9a88e..24a43224206e70cff13843553ed76ad9face02cc 100644 --- a/fithesis3/fithesis.dtx +++ b/fithesis3/fithesis.dtx @@ -33,6 +33,7 @@ \usepackage{tgpagella} \usepackage{tabularx} \usepackage{hologo} +\usepackage{booktabs} \usepackage[scaled=0.86]{berasans} \usepackage[scaled=1.03]{inconsolata} \usepackage[resetfonts]{cmap} @@ -381,12 +382,12 @@ % \subsubsection{The \texttt{type} key} % The \marg{\texttt{type}=type} pair sets the type of the thesis % to \textit{type}. The following types of theses are recognized: -% \begin{center}\begin{tabular}{lc}\hline -% The thesis type & The value of \textit{type} \\\hline +% \begin{center}\begin{tabular}{lc}\toprule +% The thesis type & The value of \textit{type} \\\midrule % Bachelor's thesis & \texttt{bc} \\ % Master's thesis & \texttt{mgr} \\ % Doctoral thesis & \texttt{d} \\ -% Rigorous thesis & \texttt{r} \\\hline +% Rigorous thesis & \texttt{r} \\\bottomrule % \end{tabular}\end{center} % The \textit{type} is stored within the private |\thesis@type| % macro, whose implicit value is |b|. For the ease of testing of @@ -430,8 +431,8 @@ % The \marg{\texttt{faculty}=domain} pair sets the faculty, at % which the thesis is being written, to \textit{domain}. The % following \textit{domain} names are recognized: -% \begin{center}\begin{tabularx}{\textwidth}{Xc}\hline -% The Faculty & The \textit{domain} name \\\hline +% \begin{center}\begin{tabularx}{\textwidth}{Xc}\toprule +% The Faculty & The \textit{domain} name \\\midrule % The Faculty of Informatics & \texttt{fi} \\ % The Faculty of Science & \texttt{sci} \\ % The Faculty of Law & \texttt{law} \\ @@ -440,7 +441,7 @@ % The Faculty of Medicine & \texttt{med} \\ % The Faculty of Education & \texttt{ped} \\ % The Faculty of Arts & \texttt{phil} \\ -% The Faculty of Sports Studies & \texttt{fsps} \\\hline +% The Faculty of Sports Studies & \texttt{fsps} \\\bottomrule % \end{tabularx}\end{center} % The \textit{domain} name is stored within the private % |\thesis@faculty| macro, whose implicit value is \texttt{fi}. @@ -588,10 +589,11 @@ % The \marg{\texttt{locale}=filename} pair sets the filename of the % locale file(s) to be used to \textit{filename}. The % \textit{filename} is stored within the private |\thesis@locale| -% macro, whose implicit value is the main language of the -% \textsf{babel} package or \texttt{czech}, when undefined. If the -% inheritance is disabled for locale files, the locale file is -% loaded from the |\thesis@localepath\thesis@locale| path. +% macro, whose implicit value is the main language of either the +% \textsf{babel} or the \textsf{polyglossia} package, or +% \texttt{czech}, when undefined. If the inheritance is disabled +% for locale files, the locale file is loaded from the +% |\thesis@localepath\thesis@locale| path. % \begin{macrocode} \def\thesis@locale{% % Babel detection diff --git a/fithesis3/locale/Makefile b/fithesis3/locale/Makefile index 7af19dc03ab5d7d8d00af93a268032a55e564721..85fc194accc3abe3e5367f47f18f5895e3cb8af6 100644 --- a/fithesis3/locale/Makefile +++ b/fithesis3/locale/Makefile @@ -10,7 +10,7 @@ all: explode: $(LOGS) %.log: %.ins %.dtx - tex $< + xetex $< implode: rm -f $(OUTPUT) $(LOGS) diff --git a/fithesis3/locale/czech.dtx b/fithesis3/locale/czech.dtx index a5fa4b14964a9c5dcd581fa413372a7687462f53..de0384a8922dad2a877729ee0369feeedccd358f 100644 --- a/fithesis3/locale/czech.dtx +++ b/fithesis3/locale/czech.dtx @@ -198,9 +198,9 @@ \def\thesis@czech@declaration{% Prohlašuji, Ĺľe tato \thesis@lower{czech@typeName} je mĂ˝m pĹŻvodnĂm autorskĂ˝m dĂlem, kterĂ© jsem vypracoval% - \thesis@czech@gender@koncovka samostatnÄ›. Všechny zdroje, + \thesis@czech@gender@koncovka\ samostatnÄ›. Všechny zdroje, prameny a literaturu, kterĂ© jsem pĹ™i vypracovánĂ - pouĹľĂval\thesis@czech@gender@koncovka nebo z~nich + pouĹľĂval\thesis@czech@gender@koncovka\ nebo z~nich ÄŤerpal\thesis@czech@gender@koncovka, v~práci řádnÄ› cituji s~uvedenĂm ĂşplnĂ©ho odkazu na pĹ™ĂslušnĂ˝ zdroj.} diff --git a/fithesis3/locale/slovak.dtx b/fithesis3/locale/slovak.dtx index 6098eb9e9d8bcfcdc3c5832a4966ec5d6a35eb84..f2e7e34634a23eeaac994cd9f4f7e19cea3395b2 100644 --- a/fithesis3/locale/slovak.dtx +++ b/fithesis3/locale/slovak.dtx @@ -198,7 +198,7 @@ \def\thesis@slovak@declaration{% Prehlasujem, Ĺľe táto \thesis@lower{slovak@typeName} je mojĂm pĂ´vodnĂ˝m autorskĂ˝m dielom, ktorĂ© som vypracoval% - \thesis@slovak@gender@koncovka samostatne. Všetky zdroje, + \thesis@slovak@gender@koncovka\ samostatne. Všetky zdroje, pramene a literatĂşru, ktorĂ© som pri vypracovanĂ pouĹľĂval\thesis@slovak@gender@koncovka\ alebo z~nich ÄŤerpal\thesis@slovak@gender@koncovka, v~práci riadne citujem diff --git a/fithesis3/style/Makefile b/fithesis3/style/Makefile index 1122fc6c6ac341c1c1837d1cce1aef20c64bc4ea..900d69599484b9df98affded4d4c4f2c1d05cca1 100644 --- a/fithesis3/style/Makefile +++ b/fithesis3/style/Makefile @@ -7,7 +7,7 @@ all: explode explode: $(LOGS) %.log: %.ins %.dtx - tex $< + xetex $< implode: rm -f $(OUTPUT) $(LOGS) diff --git a/fithesis3/style/mu/Makefile b/fithesis3/style/mu/Makefile index dbf7e2d225b9fa01f26d90e98076b7a488be91b7..dc3740e5864723df7f71d0d9f8a6f021904db4d5 100644 --- a/fithesis3/style/mu/Makefile +++ b/fithesis3/style/mu/Makefile @@ -7,7 +7,7 @@ all: explode explode: $(LOGS) %.log: %.ins %.dtx - tex $< + xetex $< implode: rm -f $(OUTPUT) $(LOGS) diff --git a/fithesis3/style/mu/base.dtx b/fithesis3/style/mu/base.dtx index 81ffcdb204473addd496bd5047dfdca618a9024f..6a2b2ccc401809462b142d6d09fb41da4d16aa72 100644 --- a/fithesis3/style/mu/base.dtx +++ b/fithesis3/style/mu/base.dtx @@ -86,15 +86,27 @@ \ProcessOptions % \end{macrocode} % The file loads the following packages: \begin{itemize} -% \item\textsf{fontenc} -- The font encoding is set to Cork. +% \item\textsf{xcolor} -- Adds support for color manipulation. +% \item\textsf{ifxetex} -- Used to detect the \Hologo{XeTeX} +% engine. % \item\textsf{mathpazo} -- The virtual \texttt{mathpazo} fonts -% will be used for math. -% \item\textsf{colorx} -- Adds support for color manipulation. +% will be used for math. This package does not get loaded in +% \Hologo{XeTeX}. % \item\textsf{tgpagella} -- Changes the default roman font family -% to \TeX\ Gyre Pagella. +% to \TeX\ Gyre Pagella. This package does not get loaded in +% \Hologo{XeTeX}. % \item\textsf{cmap} -- Places an an explicit \texttt{ToUnicode} % map in the resulting PDF file, allowing for extraction of -% the text of the document. +% the text of the document. This package does not get loaded +% under \Hologo{XeTeX}. +% \item\textsf{fontenc} -- The font encoding is set to Cork. This +% package does not get loaded under \Hologo{XeTeX}. +% \item\textsf{fontspec} -- Allows the selection of +% system-installed fonts. This package only gets loaded under +% \Hologo{XeTeX}. +% \item\textsf{fontspec} -- Allows the selection of +% system-installed mathematical fonts. This package only gets +% loaded under \Hologo{XeTeX}. % \item\textsf{graphix} -- Adds support for the inclusion of % graphics files. % \item\textsf{pdfpages} -- Adds support for the injection of PDF @@ -108,13 +120,23 @@ % In addition to that, the \textsf{hyperref} package is configured % to support both roman and arabic page numbering in one document % and to decorate hyperlinks with an underline instead of a -% rectangular box. +% rectangular box. Under \Hologo{XeTeX}, the \textsf{TeX Gyre +% Pagella} and \textsf{TeX Gyre Pagella Math} are selected as the +% main text and math fonts. % \begin{macrocode} -\RequirePackage[resetfonts]{cmap} -\RequirePackage[T1]{fontenc} \RequirePackage[usenames,dvipsnames,svgnames,table]{xcolor} -\thesis@require{mathpazo} -\thesis@require{tgpagella} +\thesis@require{ifxetex} +\ifxetex + \thesis@require{fontspec} + \thesis@require{unicode-math} + \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} + \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Pagella Math} +\else + \thesis@require{mathpazo} + \thesis@require{tgpagella} + \RequirePackage[resetfonts]{cmap} + \RequirePackage[T1]{fontenc} +\fi \thesis@require{graphicx} \thesis@require{pdfpages} \thesis@require{hyperref} @@ -125,26 +147,6 @@ pdfpagelabels % Generate pdf page labels } % \end{macrocode} -% \begin{macro}{\thesis@tabular}\begin{macro}{\thesis@endtabular} -% \begin{macro}{\thesis@tabularx}\begin{macro}{\thesis@endtabularx} -% The file defines the |thesis@tabular| and |thesis@tabularx| -% environments, which can be used to typeset the |tabular| and -% |tabularx| tables decorated with the colors specified within the -% |\thesis@color@tableOdd| and |\thesis@color@tableEven| private -% macros, if the \texttt{color} option is specified. In order to -% use the |thesis@tabularx| environment, the user must manually -% include the \textsf{tabularx} package. -% \begin{macrocode} -\newenvironment{thesis@tabular}{% - \ifthesis@color@% - \rowcolors{1}{\thesis@color@tableOdd}{\thesis@color@tableEven}% - \fi\tabular}{\endtabular} -\newenvironment{thesis@tabularx}{% - \ifthesis@color@% - \rowcolors{1}{\thesis@color@tableOdd}{\thesis@color@tableEven}% - \fi\tabularx}{\endtabularx} -% \end{macrocode} -% \end{macro}\end{macro}\end{macro}\end{macro} % \begin{macro}{\thesis@color@setup} % The file defines the |\thesis@color@setup|\marg{colors} command, % where \textit{colors} is a comma-delimited list of key-value @@ -162,28 +164,10 @@ % \item\marg{\texttt{links}=color} -- Sets the color of hyperref % links to \textit{color}. The default color is specified by % the \textsf{hyperref} package. -% \item\marg{\texttt{tableOdd}=color} -- Sets the color of the -% odd table rows within the \texttt{thesis@tabular} and -% \texttt{thesis@tabularx} environments to \textit{color}. The -% \textit{color} is stored within the -% \DescribeMacro{\thesis@color@tableOdd}% -% |\thesis@color@tableOdd| private macro. -% \item\marg{\texttt{tableEven}=color} -- Sets the color of the -% even table rows within the \texttt{thesis@tabular} and -% \texttt{thesis@tabularx} environments to \textit{color}. The -% \textit{color} is stored within the -% \DescribeMacro{\thesis@color@tableEven}% -% |\thesis@color@tableEven| private macro. % \end{enumerate} % \begin{macrocode} \define@key{thesis@color}{links}{% \hypersetup{linkbordercolor=#1}} -\def\thesis@color@tableOdd{white} -\define@key{thesis@color}{tableOdd}{% - \def\thesis@color@tableOdd{#1}} -\def\thesis@color@tableEven{white} -\define@key{thesis@color}{tableEven}{% - \def\thesis@color@tableEven{#1}} % \end{macrocode} % The file defines several blocks to be used in the redefinitions % of the |\thesis@preamble| and |\thesis@postable| private macros diff --git a/fithesis3/style/mu/econ.dtx b/fithesis3/style/mu/econ.dtx index 3e440dc1d4d6cd42df7b2a7fedb41781b49aacb0..e78cb5656c568fabd12e40513b8639c664f5ac90 100644 --- a/fithesis3/style/mu/econ.dtx +++ b/fithesis3/style/mu/econ.dtx @@ -9,16 +9,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-econ}[2015/04/26] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{7C211E} \definecolor{thesis@color@facultylight}{HTML}{DAC1BF} \definecolor{thesis@color@facultyxlight}{HTML}{EFE4E3} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % In addition to the main locale, the file also requires the % English locale. diff --git a/fithesis3/style/mu/fi.dtx b/fithesis3/style/mu/fi.dtx index 367bfc0cf7c1076d9690be3d7dbb023643e194f6..976b616cca98c7b3614186196c8dc6240c7e3a6f 100644 --- a/fithesis3/style/mu/fi.dtx +++ b/fithesis3/style/mu/fi.dtx @@ -8,16 +8,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-fi}[2015/05/02] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{FFD451} \definecolor{thesis@color@facultylight}{HTML}{FFECB3} \definecolor{thesis@color@facultyxlight}{HTML}{FFF9E5} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % \begin{macro}{\thesis@blocks@titlePage} % The style file redefines the cover and title page footers to diff --git a/fithesis3/style/mu/fsps.dtx b/fithesis3/style/mu/fsps.dtx index 1b214ae96cc584276d26984f0bb8a880dd3609a5..367f1d9b05c49c7bdc07f47fd2d237daf55732bb 100644 --- a/fithesis3/style/mu/fsps.dtx +++ b/fithesis3/style/mu/fsps.dtx @@ -8,16 +8,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-fss}[2015/04/26] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{0042BA} \definecolor{thesis@color@facultylight}{HTML}{BBC7DD} \definecolor{thesis@color@facultyxlight}{HTML}{E4E9F1} -\thesis@color@setup{% - links=thesis@color@facultylight,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@facultylight} % \end{macrocode} % The style file configures the title page header to include the % field name. diff --git a/fithesis3/style/mu/fss.dtx b/fithesis3/style/mu/fss.dtx index b0f6c8b60ea6fc5aaece75184f861ad38e7ee4cf..c12ecb92f52ec463172ede566d0356c3fc66a5c7 100644 --- a/fithesis3/style/mu/fss.dtx +++ b/fithesis3/style/mu/fss.dtx @@ -17,16 +17,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-fss}[2015/04/26] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{007B69} \definecolor{thesis@color@facultylight}{HTML}{B8DAD5} \definecolor{thesis@color@facultyxlight}{HTML}{E3F1EE} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % In addition to the main locale, the file also requires the % English locale. diff --git a/fithesis3/style/mu/law.dtx b/fithesis3/style/mu/law.dtx index de86b7085e7d72d701b42ae481f7ee36e85a768a..4bf40264b92e1083a11cb78e5e3962c2909adbfc 100644 --- a/fithesis3/style/mu/law.dtx +++ b/fithesis3/style/mu/law.dtx @@ -8,16 +8,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-law}[2015/04/26] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{80379B} \definecolor{thesis@color@facultylight}{HTML}{D3BADC} \definecolor{thesis@color@facultyxlight}{HTML}{F0E7F3} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % In addition to the main locale, the file also requires the % English locale. diff --git a/fithesis3/style/mu/med.dtx b/fithesis3/style/mu/med.dtx index 82dc472eb55c669575801a92ce8e49cc096a453f..314dba52d3e0184dfe2bc1b630730d377cafafef 100644 --- a/fithesis3/style/mu/med.dtx +++ b/fithesis3/style/mu/med.dtx @@ -9,16 +9,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-med}[2015/04/27] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{F2532D} \definecolor{thesis@color@facultylight}{HTML}{FFBFC2} \definecolor{thesis@color@facultyxlight}{HTML}{FFE3E5} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % In addition to the main locale, the file also requires the % English locale. diff --git a/fithesis3/style/mu/ped.dtx b/fithesis3/style/mu/ped.dtx index 8c7cceedc5e56bba75f2e1a0bb60b2cf7fecb1e6..dcaa76a7ce5f52db9978cc0e01654e5766b43c6e 100644 --- a/fithesis3/style/mu/ped.dtx +++ b/fithesis3/style/mu/ped.dtx @@ -8,16 +8,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-ped}[2015/04/26] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{FFA02F} \definecolor{thesis@color@facultylight}{HTML}{FFDEB7} \definecolor{thesis@color@facultyxlight}{HTML}{FFF1E0} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % In addition to the main locale, the file also requires the % English locale. diff --git a/fithesis3/style/mu/phil.dtx b/fithesis3/style/mu/phil.dtx index d0222f5c655a1cb678b1172e1090a87666fd12cb..f95cac282c3a70f0a80f83e966d117a478657c42 100644 --- a/fithesis3/style/mu/phil.dtx +++ b/fithesis3/style/mu/phil.dtx @@ -8,16 +8,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-phil}[2015/04/26] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{00A1DE} \definecolor{thesis@color@facultylight}{HTML}{B8E4F5} \definecolor{thesis@color@facultyxlight}{HTML}{E0F3FA} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % The style file configures the title page header to include the % department and the field name. diff --git a/fithesis3/style/mu/sci.dtx b/fithesis3/style/mu/sci.dtx index 6554389dd0a03d105ffed6509f207a3d79c45441..025720ad3a3ca9cd977b9792b9250746c7443e64 100644 --- a/fithesis3/style/mu/sci.dtx +++ b/fithesis3/style/mu/sci.dtx @@ -8,16 +8,12 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis3/style/mu/fithesis3-sci}[2015/05/02] % \end{macrocode} -% The file redefines the colors used within the |thesis@tabular| -% and |thesis@tabularx| environments and with the hyperlinks. +% The file defines the color used with the hyperlinks. % \begin{macrocode} \definecolor{thesis@color@faculty}{HTML}{00AF3F} \definecolor{thesis@color@facultylight}{HTML}{B8E8C9} \definecolor{thesis@color@facultyxlight}{HTML}{E0F5E8} -\thesis@color@setup{% - links=thesis@color@faculty,% - tableOdd=thesis@color@facultyxlight,% - tableEven=thesis@color@facultylight} +\thesis@color@setup{links=thesis@color@faculty} % \end{macrocode} % In addition to the main locale, the file also requires the % Czech and English locales. diff --git a/fithesis3/test/Makefile b/fithesis3/test/Makefile index 10d6007eaa6a24bb2be1249c6354098deee5c067..249a3d33fcbcb100c7a313dee987814e6be7ea8b 100644 --- a/fithesis3/test/Makefile +++ b/fithesis3/test/Makefile @@ -4,6 +4,8 @@ all: clear ln -s "$$file" current.tex && \ pdflatex current && \ pdflatex current && \ + xelatex current && \ + xelatex current && \ rm current.*; \ done diff --git a/fithesis3/test/base-10pt.tex b/fithesis3/test/base-10pt.tex index 1357eac477c05e43dd0065a6ff4719f444346591..b5ad7e3f9dfb8900b8aaca8c966ce7886d6e8974 100644 --- a/fithesis3/test/base-10pt.tex +++ b/fithesis3/test/base-10pt.tex @@ -1,5 +1,9 @@ \documentclass[10pt]{../fithesis3} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \thesissetup{basepath=..} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/base-11pt.tex b/fithesis3/test/base-11pt.tex index 8380b9a497a93d6eb3c8539f8431a3fdfad3fe0d..e2ee8eb0e47a9c7b930477cca04ad2a9f5b5379d 100644 --- a/fithesis3/test/base-11pt.tex +++ b/fithesis3/test/base-11pt.tex @@ -1,5 +1,9 @@ \documentclass[11pt]{../fithesis3} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \thesissetup{basepath=..} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/base-12pt.tex b/fithesis3/test/base-12pt.tex index 78b5fafe27504e0ff5c1ddeeb644ae98bc3763a4..75dd0ad47cb1284c1c686eb7037581512b521ab1 100644 --- a/fithesis3/test/base-12pt.tex +++ b/fithesis3/test/base-12pt.tex @@ -1,5 +1,9 @@ \documentclass[12pt]{../fithesis3} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \thesissetup{basepath=..} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/base-utf8.tex b/fithesis3/test/base-utf8.tex index 8a156e69de77fa6d91274589ed50634d6553572b..32a4b7d0e4847210d2fffeb09447cdb080efd54d 100644 --- a/fithesis3/test/base-utf8.tex +++ b/fithesis3/test/base-utf8.tex @@ -1,4 +1,8 @@ \documentclass{../fithesis3} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/econ-czech.tex b/fithesis3/test/econ-czech.tex index b23559cc0eb0a20b8a1c741d07b4f94e801d290a..574b97b14d0d3d046b2cd16e0acb86a8cf366856 100644 --- a/fithesis3/test/econ-czech.tex +++ b/fithesis3/test/econ-czech.tex @@ -1,9 +1,13 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} -\thesissetup{ - basepath=.., - faculty=econ -} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi +\thesissetup{basepath=.., faculty=econ} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/econ-english.tex b/fithesis3/test/econ-english.tex index 527bb5f8c488364d653ea292bee2581920ec41d2..62f2a227d7c6f2c931e3821fedaf2175bdb84212 100644 --- a/fithesis3/test/econ-english.tex +++ b/fithesis3/test/econ-english.tex @@ -1,9 +1,13 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} -\thesissetup{ - basepath=.., - faculty=econ -} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi +\thesissetup{basepath=.., faculty=econ} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/econ-slovak.tex b/fithesis3/test/econ-slovak.tex index 4dd4fa2b80d8389cdf29421918fb6caa1316d699..389fcc60fcb510dbda640e7d57a14e38f5121ad9 100644 --- a/fithesis3/test/econ-slovak.tex +++ b/fithesis3/test/econ-slovak.tex @@ -1,9 +1,13 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} -\thesissetup{ - basepath=.., - faculty=econ -} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi +\thesissetup{basepath=.., faculty=econ} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/econ-tables.tex b/fithesis3/test/econ-tables.tex deleted file mode 100644 index 68640abd908667111228bde469b69849dd748da1..0000000000000000000000000000000000000000 --- a/fithesis3/test/econ-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=econ -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/fi-color.tex b/fithesis3/test/fi-color.tex index 64a0263ad642de17bf06fea803ca8d2d06fa4e9e..1ecc629206f1050efcdba25fa6af26368abffba5 100644 --- a/fithesis3/test/fi-color.tex +++ b/fithesis3/test/fi-color.tex @@ -1,8 +1,9 @@ \documentclass[color]{../fithesis3} -\thesissetup{ - basepath=.., - faculty=fi -} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi +\thesissetup{basepath=.., faculty=fi} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fi-czech.tex b/fithesis3/test/fi-czech.tex index e85d9ffab1ec6fa69b99adc2ac336f04068cceab..bf7af51c2eb54a727651af396abf218a9c27a109 100644 --- a/fithesis3/test/fi-czech.tex +++ b/fithesis3/test/fi-czech.tex @@ -1,9 +1,13 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} -\thesissetup{ - basepath=.., - faculty=fi -} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi +\thesissetup{basepath=.., faculty=fi} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fi-english.tex b/fithesis3/test/fi-english.tex index f6815bc37fc579e93341d9588464da23a7b79ca0..4cb5c6d6dad35bd7f2a2ac78957854305c759890 100644 --- a/fithesis3/test/fi-english.tex +++ b/fithesis3/test/fi-english.tex @@ -1,9 +1,13 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} -\thesissetup{ - basepath=.., - faculty=fi -} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi +\thesissetup{basepath=.., faculty=fi} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fi-female.tex b/fithesis3/test/fi-female.tex index 1b35253036f24d64ca3aac015f62b93682258b86..57668fe89b43efef2d0aaa2459b50241a0159c5d 100644 --- a/fithesis3/test/fi-female.tex +++ b/fithesis3/test/fi-female.tex @@ -1,9 +1,12 @@ \documentclass[monochrome]{../fithesis3} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \thesissetup{ basepath=.., faculty=fi, - gender=f -} + gender=f} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fi-male.tex b/fithesis3/test/fi-male.tex index 88fdc642570bfadcde6b274d889ae90c12b1303e..54b134c78773befe03d4302f5d8c88132989b6e4 100644 --- a/fithesis3/test/fi-male.tex +++ b/fithesis3/test/fi-male.tex @@ -1,9 +1,12 @@ \documentclass[monochrome]{../fithesis3} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \thesissetup{ basepath=.., faculty=fi, - gender=m -} + gender=m} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fi-rigorous.tex b/fithesis3/test/fi-rigorous.tex index 3198360445fd773b48ce09e0134ccf9a1cd8b9b1..c140fa7ca537c6772b72e99990a95d543cadb761 100644 --- a/fithesis3/test/fi-rigorous.tex +++ b/fithesis3/test/fi-rigorous.tex @@ -1,9 +1,12 @@ \documentclass[monochrome]{../fithesis3} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \thesissetup{ basepath=.., faculty=fi, - type=r -} + type=r} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fi-slovak.tex b/fithesis3/test/fi-slovak.tex index 0a08e200e09e632c5a2f2f839fa4ccac8bad498c..02bd8c0d483fe2eadb9733a425562e121a471814 100644 --- a/fithesis3/test/fi-slovak.tex +++ b/fithesis3/test/fi-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=fi -} + faculty=fi} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fi-tables.tex b/fithesis3/test/fi-tables.tex deleted file mode 100644 index 314101b5ebfbd79390307d1e8bc46d685d23f45c..0000000000000000000000000000000000000000 --- a/fithesis3/test/fi-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=fi -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/fsps-czech.tex b/fithesis3/test/fsps-czech.tex index 7e50095e10d65c5ea400c68ba2d81107f9f73265..0250cd690986cd46c95f5afafb26872030e14ebf 100644 --- a/fithesis3/test/fsps-czech.tex +++ b/fithesis3/test/fsps-czech.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi \thesissetup{ basepath=.., - faculty=fsps -} + faculty=fsps} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fsps-english.tex b/fithesis3/test/fsps-english.tex index 52d539ef8d1649c57395bad88dfdc8b2671e5b6c..aa8891982e54adb03e5d70fe427a4f09038676bb 100644 --- a/fithesis3/test/fsps-english.tex +++ b/fithesis3/test/fsps-english.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi \thesissetup{ basepath=.., - faculty=fsps -} + faculty=fsps} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fsps-slovak.tex b/fithesis3/test/fsps-slovak.tex index 77cf8583230ce71d2707e6150265073bc27f482e..704a45ef0f7c713215a2d9e3b0ed657b7a998977 100644 --- a/fithesis3/test/fsps-slovak.tex +++ b/fithesis3/test/fsps-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=fsps -} + faculty=fsps} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fsps-tables.tex b/fithesis3/test/fsps-tables.tex deleted file mode 100644 index b869b5447f6adb810a96ffac447642f5b96c58f8..0000000000000000000000000000000000000000 --- a/fithesis3/test/fsps-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=fsps -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/fss-czech.tex b/fithesis3/test/fss-czech.tex index 145169a040e0c5c9dd54b5cc313c494724bf012a..7eca7d112af8cee037155751054c56f990ec2aae 100644 --- a/fithesis3/test/fss-czech.tex +++ b/fithesis3/test/fss-czech.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi \thesissetup{ basepath=.., - faculty=fss -} + faculty=fss} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fss-english.tex b/fithesis3/test/fss-english.tex index 57fe12a2d7f49b4c2443878b85c53f00269e46ae..4c82105ba391e43721e018f2da2b37c2f28614ac 100644 --- a/fithesis3/test/fss-english.tex +++ b/fithesis3/test/fss-english.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi \thesissetup{ basepath=.., - faculty=fss -} + faculty=fss} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fss-slovak.tex b/fithesis3/test/fss-slovak.tex index 94f959a185f5d9aa16816dd734d5755d94457b0a..9581289d14c15ad7365da76ca4345cb972bcf01f 100644 --- a/fithesis3/test/fss-slovak.tex +++ b/fithesis3/test/fss-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=fss -} + faculty=fss} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/fss-tables.tex b/fithesis3/test/fss-tables.tex deleted file mode 100644 index 379feca72168c2db1a5b4c3bc0ab325372c640c7..0000000000000000000000000000000000000000 --- a/fithesis3/test/fss-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=fss -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/law-czech.tex b/fithesis3/test/law-czech.tex index ffae49167624dd4d4fed7f771dafd7565a15f489..f084d75459ddfdfb3ae7dee416382ac7c8b49e3a 100644 --- a/fithesis3/test/law-czech.tex +++ b/fithesis3/test/law-czech.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi \thesissetup{ basepath=.., - faculty=law -} + faculty=law} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/law-english.tex b/fithesis3/test/law-english.tex index 463b38762a13bc83044d8ba27ba82ba612873a83..e7be9be99c1c02e192d53f1f35cb00141f713bbf 100644 --- a/fithesis3/test/law-english.tex +++ b/fithesis3/test/law-english.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi \thesissetup{ basepath=.., - faculty=law -} + faculty=law} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/law-slovak.tex b/fithesis3/test/law-slovak.tex index 919a2c86a667165510c5d8f3d53b2b49831d8af9..1e59cb990e3b9e93c649361bf684cb1d42b8ba0f 100644 --- a/fithesis3/test/law-slovak.tex +++ b/fithesis3/test/law-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=law -} + faculty=law} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/law-tables.tex b/fithesis3/test/law-tables.tex deleted file mode 100644 index e36c33c54cfc84526770d55d42908aa756656748..0000000000000000000000000000000000000000 --- a/fithesis3/test/law-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=law -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/med-czech.tex b/fithesis3/test/med-czech.tex index 4fa295791dc52a0e4d6e5cfc51e18bdd2b62d74f..37404d19b921006c3206fd34cb2c0f68fb7ac8c8 100644 --- a/fithesis3/test/med-czech.tex +++ b/fithesis3/test/med-czech.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi \thesissetup{ basepath=.., - faculty=med -} + faculty=med} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/med-english.tex b/fithesis3/test/med-english.tex index 547e348413c13b5ac518243a22467ba683cc1066..079eda9da95fb8349179e638cc431748504b548f 100644 --- a/fithesis3/test/med-english.tex +++ b/fithesis3/test/med-english.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi \thesissetup{ basepath=.., - faculty=med -} + faculty=med} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/med-slovak.tex b/fithesis3/test/med-slovak.tex index 1e7ba979a9dde00a20dc76c2ed3bf75f9e5af9ed..820dfd2b6d1d44a6e04d984345f69ed03443eab4 100644 --- a/fithesis3/test/med-slovak.tex +++ b/fithesis3/test/med-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=med -} + faculty=med} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/med-tables.tex b/fithesis3/test/med-tables.tex deleted file mode 100644 index bf51d5fcec8e2a8c562cc5b42b2bc5d100ef5fc0..0000000000000000000000000000000000000000 --- a/fithesis3/test/med-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=med -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/ped-czech.tex b/fithesis3/test/ped-czech.tex index eb6f490ecd4b1b38f8ef83f2be42c6110258f036..284531f0e56d0ce24bda96980a2c2621abc7cba4 100644 --- a/fithesis3/test/ped-czech.tex +++ b/fithesis3/test/ped-czech.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi \thesissetup{ basepath=.., - faculty=ped -} + faculty=ped} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/ped-english.tex b/fithesis3/test/ped-english.tex index 43854d3b6e8fae6af12bb169f1b51dd3f5b6c4d7..6f0dfd9f454a0743fec7597ededc74b48e61d219 100644 --- a/fithesis3/test/ped-english.tex +++ b/fithesis3/test/ped-english.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi \thesissetup{ basepath=.., - faculty=ped -} + faculty=ped} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/ped-slovak.tex b/fithesis3/test/ped-slovak.tex index a6477129e95960c4ba7eee81f5b20c7b434ab240..12e822a235c53f059b35a1f9c7d8d36dffafd691 100644 --- a/fithesis3/test/ped-slovak.tex +++ b/fithesis3/test/ped-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=ped -} + faculty=ped} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/ped-tables.tex b/fithesis3/test/ped-tables.tex deleted file mode 100644 index 7ccc86dfac2f13f3a36de7daf02bf6de997e316e..0000000000000000000000000000000000000000 --- a/fithesis3/test/ped-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=ped -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/phil-czech.tex b/fithesis3/test/phil-czech.tex index fea31d8bf6dcb6de890d1a2022228ab3ba4bcfe4..005ef7a6c69ad07ecf317fc29ee9fb5cdc051398 100644 --- a/fithesis3/test/phil-czech.tex +++ b/fithesis3/test/phil-czech.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi \thesissetup{ basepath=.., - faculty=phil -} + faculty=phil} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/phil-english.tex b/fithesis3/test/phil-english.tex index 1a84a8361a8deb2f6536145d96c13d6fa6b66e9e..fc94fdf0e54d35ea7590c3349f5292e59c9c1e56 100644 --- a/fithesis3/test/phil-english.tex +++ b/fithesis3/test/phil-english.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi \thesissetup{ basepath=.., - faculty=phil -} + faculty=phil} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/phil-slovak.tex b/fithesis3/test/phil-slovak.tex index 822fecc5b06b872e9ddccae72127e79120aa10f5..09d0306d7e1600f7a0f599a7e5f084fca580703d 100644 --- a/fithesis3/test/phil-slovak.tex +++ b/fithesis3/test/phil-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=phil -} + faculty=phil} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/phil-tables.tex b/fithesis3/test/phil-tables.tex deleted file mode 100644 index a1ab21fe46ab852ec3058dbeeff5f622235e1c26..0000000000000000000000000000000000000000 --- a/fithesis3/test/phil-tables.tex +++ /dev/null @@ -1,15 +0,0 @@ -\documentclass[color]{../fithesis3} -\usepackage[english]{babel} -\usepackage{tabularx} -\thesissetup{ - basepath=.., - faculty=phil -} -\begin{document} - \begin{thesis@tabular}{cc} - a&b\\c&d - \end{thesis@tabular} - \begin{thesis@tabularx}{\textwidth}{cc} - a&b\\c&d - \end{thesis@tabularx} -\end{document} diff --git a/fithesis3/test/sci-color.tex b/fithesis3/test/sci-color.tex index 1144532d4c71f85bd968575a141b546a91bd7ad6..95030715226584c2745619cea7d4c6d273c854d8 100644 --- a/fithesis3/test/sci-color.tex +++ b/fithesis3/test/sci-color.tex @@ -1,9 +1,11 @@ \documentclass[color]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex\else + \usepackage[utf8]{inputenc} +\fi \thesissetup{ basepath=.., - faculty=sci -} + faculty=sci} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/sci-czech.tex b/fithesis3/test/sci-czech.tex index 75f608beda74f85ddeec153354796bd895f9a662..14f257fc91a6d59838bc1f3f466fb4c15e3db764 100644 --- a/fithesis3/test/sci-czech.tex +++ b/fithesis3/test/sci-czech.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[czech]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{czech} +\else + \usepackage[utf8]{inputenc} + \usepackage[czech]{babel} +\fi \thesissetup{ basepath=.., - faculty=sci -} + faculty=sci} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/sci-english.tex b/fithesis3/test/sci-english.tex index 4b552acc38bd481deb5f7a8a840565a185f1a421..c86ab4f24cf498ea46f78cf3b743804eded7373c 100644 --- a/fithesis3/test/sci-english.tex +++ b/fithesis3/test/sci-english.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[english]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[english]{babel} +\fi \thesissetup{ basepath=.., - faculty=sci -} + faculty=sci} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/sci-female.tex b/fithesis3/test/sci-female.tex index fa97c62eb9f6cdf327bf1986f847043b331de68d..4922b647d95268aaca83887093042f3f80093d25 100644 --- a/fithesis3/test/sci-female.tex +++ b/fithesis3/test/sci-female.tex @@ -1,10 +1,16 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., gender=f, - faculty=sci -} + faculty=sci} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/sci-male.tex b/fithesis3/test/sci-male.tex index e2117b5f890032f0de59e75d4db360cc3678341c..672b65114b3d795dc5e97754fa74456a5c320dcc 100644 --- a/fithesis3/test/sci-male.tex +++ b/fithesis3/test/sci-male.tex @@ -1,10 +1,16 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., gender=m, - faculty=sci -} + faculty=sci} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/sci-rigorous.tex b/fithesis3/test/sci-rigorous.tex index 6a1475d758052318f7d93343ae951486a13fa43c..aff5283b4cbc67af1c0628fd1759b5ae9d09124c 100644 --- a/fithesis3/test/sci-rigorous.tex +++ b/fithesis3/test/sci-rigorous.tex @@ -1,10 +1,16 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., type=r, - faculty=sci -} + faculty=sci} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/fithesis3/test/sci-slovak.tex b/fithesis3/test/sci-slovak.tex index 708708ba21e8f973ba196db4679a2f85c6d2aaa7..e810b3ea7435dd6db54b74fb86778e9d33a3e852 100644 --- a/fithesis3/test/sci-slovak.tex +++ b/fithesis3/test/sci-slovak.tex @@ -1,9 +1,15 @@ \documentclass[monochrome]{../fithesis3} -\usepackage[slovak]{babel} +\usepackage{ifxetex} +\ifxetex + \usepackage{polyglossia} + \setmainlanguage{slovak} +\else + \usepackage[utf8]{inputenc} + \usepackage[slovak]{babel} +\fi \thesissetup{ basepath=.., - faculty=sci -} + faculty=sci} \begin{document} foo bar -\end{document} \ No newline at end of file +\end{document} diff --git a/pdflatex.tex b/pdflatex.tex new file mode 100644 index 0000000000000000000000000000000000000000..a177fe7c15bf628e80a8247804c4f2216ec0e0f8 --- /dev/null +++ b/pdflatex.tex @@ -0,0 +1,31 @@ +\documentclass[color,cover]{fithesis3/fithesis3} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\usepackage{amsmath} +\usepackage{tabularx} +\usepackage{booktabs} +\begin{document} + \chapter{Foo bar} + Hello world! + \begin{equation} + \tag{Mass–energy equivalence} e=mc^2 + \end{equation} + \begin{center} + \begin{tabularx}{\textwidth}{lllX} + \toprule + Day & Min Temp & Max Temp & Summary \\ + \midrule + Monday & $11^{\circ}\mathrm{C}$ & $22^\circ$C & A clear day + with lots of sunshine. However, the strong breeze will bring + down the temperatures. \\ + Tuesday & $9^{\circ}\mathrm{C}$ & $19^\circ$C & Cloudy with + rain, across many northern regions. Clear spells across most of + Scotland and Northern Ireland, but rain reaching the far + northwest. \\ + Wednesday & $10^{\circ}\mathrm{C}$ & $21^\circ$C & Rain will + still linger for the morning. Conditions will improve by early + afternoon and continue throughout the evening.\\ + \bottomrule + \end{tabularx} + \end{center} +\end{document} diff --git a/xelatex.tex b/xelatex.tex new file mode 100644 index 0000000000000000000000000000000000000000..cb1f3138e286a0d3c829f4556d5c0de77c9b74e1 --- /dev/null +++ b/xelatex.tex @@ -0,0 +1,31 @@ +\documentclass[color,cover]{fithesis3/fithesis3} +\usepackage{polyglossia} +\setmainlanguage{english} +\usepackage{amsmath} +\usepackage{tabularx} +\usepackage{booktabs} +\begin{document} + \chapter{Foo bar} + Hello world! + \begin{equation} + \tag{Mass–energy equivalence} e=mc^2 + \end{equation} + \begin{center} + \begin{tabularx}{\textwidth}{lllX} + \toprule + Day & Min Temp & Max Temp & Summary \\ + \midrule + Monday & $11^{\circ}\mathrm{C}$ & $22^\circ$C & A clear day + with lots of sunshine. However, the strong breeze will bring + down the temperatures. \\ + Tuesday & $9^{\circ}\mathrm{C}$ & $19^\circ$C & Cloudy with + rain, across many northern regions. Clear spells across most of + Scotland and Northern Ireland, but rain reaching the far + northwest. \\ + Wednesday & $10^{\circ}\mathrm{C}$ & $21^\circ$C & Rain will + still linger for the morning. Conditions will improve by early + afternoon and continue throughout the evening.\\ + \bottomrule + \end{tabularx} + \end{center} +\end{document}