[Tex/LaTex] Use XeLaTeX in Mac OsX

font-encodingsfontsxetex

I use Mac OSX 10.13 with MacTex. For editing I use VSCode and the extension LaTeX-workshop.

I have been told that with XeLaTex you can use more fonts. But I can't find the docs of this package/distribution/library/whatever_it_is.

If I install XeLaTeX, will I need MacTex? Will I be able to use my current LaTeX templates? Is XeLaTeX the same as XeTeX?

Thanks in advance!

Best Answer

If you have xetex, you've got xelatex. If your document is in plain TeX (a bunch of macros used by Knuth), you will have to do xetex document.tex instead of tex document.tex to compile with this engine.

If you are using LaTeX macros, then xelatex document.tex instead of latex document.tex will do the job. Try to xelatex this MWE

\usepackage{article}
\begin{document}
Dzień dobry Mysłowice !
\end{document}

XeTeX is normally shipped with your distributions, and you can easilly install it, searching xetex. The same goes for doc, for example in texlives texdoc xetex.

Look at this post: I am new to TeX. Should I use LaTeX, XeLaTeX, …? for more (might be a duplicate of your question).