How do I add custom packages to TexpadTeX
This article concerns the
iOS
app.
See other variants:
macOS
Windows

Texpad includes a repository of generic LaTeX packages that are managed by its Bundle Manager, which will allow users to install almost any standard LaTeX package. Instead of installing gigabytes of packages and fonts, you can select just what you will need from a list of bundles.

As is customary with TeX, TexpadTeX automatically opens and typesets the LaTeX packages (.sty and .cls files) that are placed in the current directory of a LaTeX document.

That said, some users will want to install their own packages, or otherwise make a single file available to multiple documents.

Texpad includes a repository of generic LaTeX packages that are managed by its Bundle Manager, which will allow users to install almost any standard LaTeX package. Instead of installing gigabytes of packages and fonts, you can select just what you will need from a list of bundles.

As is customary with TeX, TexpadTeX automatically opens and typesets the LaTeX packages (.sty and .cls files) that are placed in the current directory of a LaTeX document.

That said, some users will want to install their own packages, or otherwise make a single file available to multiple documents.

The Texpad-Custom-Packages directory on iOS

Texpad iOS has the Texpad-Custom-Packages directory in the root of the iPad/iPod/iPhone storage, the contents of which are visible to all documents.

docs/apps/managing-documents/ios/custom-packages-folder_ios_ipad.png

Place a tex file here and it will be available to any file typeset with either Texpad’s local or cloud typesetters. This is roughly equivalent to the texmf folders in Texlive.

Note that there is a BibTeX sub-directory there too for BibTeX style files and shared bibliographies.

Adding files to the Texpad-Custom-Packages directory

You can create a file in the Texpad-Custom-Packages directly directly with Texpad as you would any other file, but there are two methods of adding existing files to that directory

  • iTunes add these files to Texpad with iTunes (see Apple’s guidelines for doing so for Apple apps: http://support.apple.com/kb/HT4094?v). This will place the file in the root folder of the iPhone storage, now to move it to the Texpad-Custom-Packages directory press Edit, select the file, press Copy and navigate to iPhone/Texpad-Custom-Packages and press the Copy the file into this folder button.

  • Dropbox Add the files to Dropbox, then follow the same procedure to copy them into Texpad-Custom-Packages directory from within Texpad as described above for iTunes.