The people in my department have decided to use the font Aptos which is a MS Word font. They use MS Word for writing mathematical documents. Yes, that's correct. I now need to use the font Aptos in latex. I use Texstudio and the exam class. I also have access to MS Office which I get for free, but never use, but if I can't fix this issue I will have to use it. Please help me, and explain how I get latex to compile with the Aptos font. I used \usepackage{fontspec} \setmainfont{Aptos} and it didn't work. I think I may have to download the Aptos font from somewhere if so where can I downlaod it safely
Asked
Active
Viewed 124 times
0
1 Answers
0
The new default font in the Microsoft Suite is Aptos. To get the Aptos font in Texstudio, you first have to install it on your machine. For this, do the following:
Download the Aptos font package from Techspot (link).
This video shows you how to install fonts on Windows 10. A similar process can be followed for Windows 11; just click install, instead of install all users for Windows 10. You have to highlight everything.
To get the font to work with Texstudio:
\usepackage{fontspec}
\setmainfont{Aptos}
All formulas in MS Word use Cambria math so you need this as well:
\usepackage{unicode-math}
\setmathfont{Cambria Math}
Now you need to put the magic comment
% !TeX program = xelatex
and compile in the usually way, don't use the Tools/command/XelaTex that doesn't work.
\usepackage{fontspec} \setmainfont{Aptos}and compile with either XeLaTeX or LuaLaTeX on your machine. If this does not work, please show the error you got in your log. – Jasper Habicht Mar 26 '24 at 13:12The font "Aptos" cannot be foundmeans that the font is probably not installed on your machine or it is installed in a format that LaTeX cannot parse. Did you check whether the font is installed on your system? – Jasper Habicht Mar 26 '24 at 15:00.texfile sits. – Jasper Habicht Mar 26 '24 at 15:06hyphen-latin. That message often appears if you use thelipsumpackage to generate fake latin text, without latin support. – rallg Mar 26 '24 at 18:14