I configured Minion Pro to correctly work with LaTeX through FontPro.
I'd like to use it only for bold, bold italic, and section names, while being able to use any other font for text and math.
Is it possible?
Thanks in advance.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI configured Minion Pro to correctly work with LaTeX through FontPro.
I'd like to use it only for bold, bold italic, and section names, while being able to use any other font for text and math.
Is it possible?
Thanks in advance.
I've found out a solution. Here's a MWE:
\documentclass{article}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{MinionPro} % https://github.com/sebschub/fontpro
\usepackage{libertine}
\usepackage{titlesec}
% garamondx emph
% install it with https://www.tug.org/fonts/getnonfreefonts
\let\emph\relax
\DeclareTextFontCommand{\emph}{\fontfamily{zgmx}\selectfont\em}
% minion pro bold
\let\textbf\relax
\DeclareTextFontCommand{\textbf}{\fontfamily{MinionPro-LF}\selectfont\bfseries}
% minion pro bold italic
\newcommand{\bit}[1]{\textbf{\textit{#1}}}
% minion pro bold section
\titleformat{\section}
{\fontfamily{MinionPro-LF}\selectfont\bfseries}{\thesection}{1em}{}
\begin{document}
\section{Test}
normal, \emph{emph}, \textbf{bold} and \bit{bold italic}
\end{document}
The aim was to reproduce this, but in pdfTeX, and with Garamond Expert as \emph
.
pdftex
, notxetex
orluatex
. I have a MWE and a sort of solution, I'll post it now for you to give me an opinion.