2

I want to use the mtpro2 package in Overleaf but it seems to work only in some cases.

If I go to "new project", "blank project" and use this:

\documentclass[]{article}

\usepackage{lipsum}

\usepackage[lite]{mtpro2}

\begin{document}

\lipsum

\end{document}

it says the mtpro2.sty file was not found. However, if I use the template

https://es.overleaf.com/latex/examples/using-mtpro2-lite-fonts/ycyvptpzmkjf

and simply copy and paste the above it works perfectly.

I see no reason why Overleaf will find the package in one case and not in the other. In particular, in both cases, I am using pdfLaTeX compiler. It's starting to get a little annoying not finding the reason why it doesn't work.

PS. The template project doesn't have any other file in it, just the single tex file.

Edit: Apparently for some people it was working, so I created a public project to show the error. https://www.overleaf.com/3449315768tszmmrnmspcs

7
  • I can compile your code well. Only the font doesn't change.
    – user156344
    Apr 24, 2019 at 13:37
  • Erh, if I use your example in overleaf, it compiles with no errors. What exactly are you expecting should happen?
    – daleif
    Apr 24, 2019 at 13:49
  • If I go through new project and blank project it doesn't compile. overleaf.com/3449315768tszmmrnmspcs Is is just me?. @daleif Apr 24, 2019 at 15:03
  • On Papeeria or on Overleaf \usepackage[lite]{mtpro2} this type of font are not installed.
    – Sebastiano
    Apr 24, 2019 at 15:14
  • 2
    @DavidJaramillo then ask the Overleaf support staff. My guess, these two projects does not use the same latex installation. First project is using TeX Live 2016/Debian, your latest link is using TeX Live 2017.
    – daleif
    Apr 24, 2019 at 15:15

1 Answer 1

8

(I'm on support staff at Overleaf.)

Since the template project was created in Overleaf v1, the new project based on the template is automatically created using Overleaf v1's TeX Live 2016 image, which includes certain non-free fonts, including MTPro2 Lite. (Even though the font is "free as in free beer" it doesn't meet all the criteria of free/libre software in order to be included in TeX Live outright.)

When creating a new blank project, the newer Overleaf v2 (from the merger with ShareLaTeX) compiler image is used. (This is currently TeX Live 2017, but we will be releasing an updated image in the coming months.) This compiler image does not include the non-free fonts.

As a workaround, you might instead use \usepackage{newtxtext, newtxmath} from the newtx package, a more robust and updated free version of the TX fonts.

3
  • But MTPro2 Lite is free, right? Also, are you saying that newtx is more robust than MTPro2?
    – zdm
    Jan 13, 2020 at 18:59
  • 1
    @zdm as mentioned in the answer, it's free as in free beer, but not free as in free/libre software that can be included in TeX Live. More information on this is here: tug.org/texlive/copying.html The EULA for MTPro2 is here: pctex.com/files/managed/9/96/EULA-MTPro2.txt (it doesn't specifically mention the Lite version here, but you have to agree to this to download the Lite version from the website). And yes, newtx is more robust than MTPro2 Lite specifically. newtxmath contains many of the math alphabets that are not included in the Lite version of MTPro2. Jan 13, 2020 at 20:02
  • I see. Thank you
    – zdm
    Jan 13, 2020 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.