Skip to content

Instantly share code, notes, and snippets.

@DominikPeters
Last active January 27, 2022 19:55
Show Gist options
  • Save DominikPeters/4751256ca5531955513a66a17a90c6ee to your computer and use it in GitHub Desktop.
Save DominikPeters/4751256ca5531955513a66a17a90c6ee to your computer and use it in GitHub Desktop.
Make Texpad and TexpadTex ignore microtype

I often use Texpad on documents that use the microtype package which makes texpad fall back to PDFLaTeX. Instead I want Texpad to ignore the included package. Here is a way to do this, by adding a fake empty local microtype package.

Make a folder with a fake microtype package:

mkdir .fakemicrotype
echo "\ProvidesPackage{microtype}" > .fakemicrotype/microtype.sty

Add the new folder to the TexpadTex search path: (Command+Shift+. to show hidden files in the folder picker) Screen Shot 2022-01-27 at 14 46 23

Then just use \usepackage{microtype}. Texpad will still switch to PDFLaTeX but you can override this in the type setting options. Screen Shot 2022-01-27 at 14 50 29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment