Open krishnakumarg1984 opened 6 years ago
Hi @krishnakumarg1984, I do not use xelatex and lualatex, but I have checked that this class works with xelatex without further changes on the class script LancsThesis.cls
. I did not try for lualatex, but I imagine that it works similarly. For example, if you want to use the Ubuntu Mono derivative Powerline
font from your system. You only have to add the following code into my-thesis.tex
\usepackage{fontspec}
\setmainfont{Ubuntu Mono derivative Powerline}
and execute with xelatex my-thesis.tex
. The pdf created looks like below:
Thank you for your quick reply. Much appreciate it. The template rocks.
Was this originally forked from CUED Phd template for Cambridge?
I need XeteX/LuaTeX support because I intend to use the libertinus
open-type text and math family of fonts
Since I need Tikz graph drawing capabilities, which are available only in luatex, I am vacillating between using the community-maintained Stuttgart univ. template and yours. Their template is directly based off LuaTeX which solves the issue of fonts and graph-drawing in one go. However, using a German template for a UK univ thesis (Imperial College London) sounds like a bad idea, espcially given my limited proficiency in latex.
Thanks. I have just checked with lualatex and the procedure is the same, it works, but probably it needs some customization. For example, the paragraphs are not justified
Regarding your questions:
libertinus
on you system. It works with both xelatex my-thesis.tex
or lualatex my-thesis.tex
.lualatex my-thesis.tex
given that I checked it works.In a short term, you will need to add some code for full compatibility.
Yes. Works. Thank you for your support.
Can I use custom fonts through xelatex or lualatex?