I've been trying to use Manim and one of the packages it uses to compile LaTex formulas is calligra. I had no issue installing the other packages Manim required for LaTex, but the compiler still says, LaTeX Error: File 'calligra.sty' not found
when I run pdflatex file_name.tex
(an example file that triggers the error is shown below).
\documentclass[preview]{standalone}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{dsfont}
\usepackage{setspace}
\usepackage{tipa}
\usepackage{relsize}
\usepackage{textcomp}
\usepackage{mathrsfs}
\usepackage{calligra}
\usepackage{wasysym}
\usepackage{ragged2e}
\usepackage{physics}
\usepackage{xcolor}
\usepackage{microtype}
\DisableLigatures{encoding = *, family = * }
\linespread{1}
\begin{document}
\begin{align*}
x^2
\end{align*}
\end{document}
Tex-live-utility says the package is installed (I've uninstalled and reinstalled it a couple times). find <harddrive> -name "calligra.sty"
shows no file (i.e. the calligra.sty wasn't just put in the wrong directory, it was never created in the first place). The only download I've found for a "calligra.sty" file is here: http://lcd-www.colorado.edu/~axbr9098/tmp/licentiate/calligra.sty I have no idea if it is the right one, and using it certainly didn't seem to work.
Is the calligra package no longer supported?
This was done with BasicTex, pdfTeX version 3.141592653-2.6-1.40.22 on mac os 11.5.2
calligra
is a text, not math, font. In addition, one must invoke\calligra
in order to activate the font in text mode. If I add\calligra xyz
to your document, I indeed get the text in the calligra font.kpsewhich calligra.sty
command produce on your system? On mine it produces/usr/local/texlive/2021/texmf-dist/tex/latex/fundus-calligra/calligra.sty
kpsewhich calligra.sty
. Your comment did give me a solution though. Downloading thefundus-calligra
package in Tex Live Utility instead of thecalligra
package removes the error. Thanks for the help!