Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using MdSymbol with MinionPro #24

Closed
yoblanco opened this issue Feb 26, 2013 · 3 comments
Closed

Using MdSymbol with MinionPro #24

yoblanco opened this issue Feb 26, 2013 · 3 comments

Comments

@yoblanco
Copy link

This is not an issue but a suggestion / idea.

I don't like most of the symbols of MnSymbol (like the +, -, , , etc.) but I do like the mdsymbol ones. I'm asking if there would be an option in the future to automatically load this symbols with the MinionPro package.

By the way, at this moment, I don't know of an easy way of loading MinionPro, with the math greek, italic and roman taken from MinionPro AND only symbols like +, -, , , from mdsymbol package.

I would appreciate any help.

EDIT: may be not exactly this, but it would be great an option in the package MinionPro to use the +, -, , , (I don't know how to enter more symbols, but the font provides also, division, multiplication, plus minus sign, approx, not equal, …) provided by the original MinionPro font. (Which are more like mdsymbol than MnSymbol, that's why I'm asking this.)
May be, if not the option, I'm asking on how to achive this, if it's possible.

@sebschub
Copy link
Owner

You could use something like

\documentclass{scrartcl}

\usepackage[T1]{fontenc}
\usepackage{MinionPro}
\usepackage[onlysansmath,normalweight=autolight]{mdsymbol}

\makeatletter
\SetMathAlphabet\mathit{sans}    {T1}{\Mn@Math@Family}{m} {it}
\SetMathAlphabet\mathit{sansbold}{T1}{\Mn@Math@Family}{eb}{it}
\SetMathAlphabet\mathbf{sans}    {T1}{\Mn@Math@Family}{eb}{n}

\SetMathAlphabet\mathbf{sanstabular}    {T1}{\Mn@Math@TFamily}{eb}{n}
\SetMathAlphabet\mathit{sanstabular}    {T1}{\Mn@Math@TFamily}{m} {it}
\SetMathAlphabet\mathit{sansboldtabular}{T1}{\Mn@Math@TFamily}{eb}{it}
\makeatother

\begin{document}
\mathversion{sans}
\begin{equation}
  a+b \leq c = \mathit{d} \geq \alpha \approx \mathbf{m}
\end{equation}
\end{document}

Note the \mathversion{sans} and the onlysansmath! I found the regular MdSymbol too heavy, so I've chosen the light one (which is too light, actually, but that's better than the way around).

The original math symbols are not supported because there are not enough symbols for a consistent set of all mathematical symbols.

@yoblanco
Copy link
Author

It's a good workaround, but the mathbf and mathit gives you original Computer Modern. How could I solve this?

@sebschub
Copy link
Owner

I extended the example above. Hope this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants