Dissertate
Dissertate copied to clipboard
Package caption Error: Undefined justification `justified,RaggedRight'
I tried to compile the UC Berkeley template in Sublime Text 4 and got the following error:
Errors:
/usr/local/texlive/2021/texmf-dist/tex/latex/caption/caption.sty:187: Package caption Error: Undefined justification `justified,RaggedRight'. [\caption@ProcessOptions*{caption}]
Then I checked the caption package document and saw that both justified
and RaggedRight
are built-in options. When I then opened caption.sty
, I didn't see RaggedRight
defined.
I wonder if this has been an issue before and how to possibly fixed it. I thought about downloading a newer caption package but te one here doesn't seem to have a caption.sty
. Thanks for any help!
For now I just deleted RaggedRight
from the following part in Dissertate.cls
:
\RequirePackage[labelfont={bf,sf,footnotesize,singlespacing},
textfont={footnotesize,singlespacing},
justification={justified,RaggedRight},
singlelinecheck=false,
margin=0pt,
figurewithin=chapter,
tablewithin=chapter]{caption}