Open Cyberism opened 1 year ago
Actually, this beamer theme is inspired by the famous theme metropolis
, in which it is suggested to compile with xelatex
or lualatex
in order to use the Fira font. In order to display Chinese fonts easily, I set the main document class as ctexbeamer
, which also requires xelatex
. So, if you have no such font requirements, feel free to change the main document class to the common beamer
by replacing line 50 of the cuzbeamer.cls
file with:
\LoadClass[UTF8,10pt,professionalfont]{beamer}
And it works well, except that the font decays to default.
Thank you very much for your prompt reply. It works well for me on overleaf. However, when I try it on my system even with Xelatex or LuaLatex it does not work.
Thank you very much for your prompt reply. It works well for me on overleaf. However, when I try it on my system even with Xelatex or LuaLatex it does not work.
On my platform (Windows 11, TeX Live 2022, Visual Studio Code with LaTeX Workshop extension), it works fine. Just make sure the following things:
-shell-escape
option,pygments
is installed properly,cuzbeamer
folder moved outside to the same directory with your source .tex
file (or whatever place the pdflatex
can find them), andcuzbeamer.cls
file, fitting the light and dark themes, respectively).Thanks for your help. I have win 10 with texniccenter and miktex 2.9. I shall try you suggestions. For the time being I am using it on overleaf. I have made all the other changes you suggested except the -shell -escape. I don't understand it.
Thanks for your help. I have win 10 with texniccenter and miktex 2.9. I shall try you suggestions. For the time being I am using it on overleaf. I have made all the other changes you suggested except the -shell -escape. I don't understand it.
--shell-escape
is a flag when compiling, you might check this link for details.
I am preparing slides for my class. I like this template, its very elegant but I am not comfortable with the Xelatex. If it can be provided with pdf latex that will be great.