Giter Site home page Giter Site logo

Using MdSymbol with MinionPro about fontpro HOT 3 CLOSED

yoblanco avatar yoblanco commented on June 27, 2024
Using MdSymbol with MinionPro

from fontpro.

Comments (3)

sebschub avatar sebschub commented on June 27, 2024

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.

from fontpro.

yoblanco avatar yoblanco commented on June 27, 2024

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

from fontpro.

sebschub avatar sebschub commented on June 27, 2024

I extended the example above. Hope this works.

from fontpro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.