I tried to use the Minion Pro font style in my document but TeXMaker gives me an error message saying that no MinionPro.sty can be found. When using \setmainfont{Minion Pro} TexMaker does not know the package although I installed minion2newtx in the package manager.
Does anybody know how I can fix this issue and make this my main font for the document?
Code:
\documentclass{article}
\usepackage{verbatim}
\usepackage{float}% If comment this, figure moves to Page 2
\usepackage{graphicx}
\usepackage{titling}
\usepackage{color}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=blue,
filecolor=black,
linkcolor=black,
urlcolor=blue
}
\setlength{\parindent}{0pt}
\usepackage[margin=25mm]{geometry}
%\date{\today}
\usepackage[numbered,framed]{matlab-prettifier}
\lstset{style = Matlab-editor}
\pretitle{%
\begin{center}
\LARGE
\includegraphics[width=10cm,height=3cm]{logo}\\[\bigskipamount]
}
\posttitle{\end{center}}
\begin{document}
\title{Testdocument}
\end{document}
minion2newtx? You need to obtain the actual font (not only the support package) and install it, following the instructions in sections 1.1 to 1.3 – DG' May 18 '17 at 18:04readmefile. You'll also have to use theLCDF type toolsto make the.vfand.pfbfiles. – Bernard May 18 '17 at 21:19hyperreftoo early. – cfr May 19 '17 at 01:52fontspecandxelatexis much simpler, as you can use the system fonts. – Bernard May 19 '17 at 18:27readmefile, with explanations on where to put the produced files and how to refresh the type1 fonts databases (psfonts.mapand the like). Just a couple of observation: the local TeXMF folder should not be installed in a user's directory if you want any user to have access to the fonts, but, say in a place likeC:\TeXMF-local. And I'm not sure the LCDF type tools should be installed in the MiKTeX root directory, but in the local TeXMF directory (it might deleted on update). – Bernard May 20 '17 at 16:36