Theses, Books, Title pagesTheoreme error with changing babel

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Theoreme error with changing babel

Post by templateuser »

I'm sorry for reintoducing the question, but I have read the related questions and it didn't really help me.

After changing the babel (\usepackage[czech]{babel})
i get following error:

Code: Select all

! Package mdframed Error: mdframed detected package amsthm 
changed the theorem header of amsthm failed

(mdframed) 
I suppose I should use some czech equivalents in structure.tex, but exactly where? Thank you.

cucaracha

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Theoreme error with changing babel

Post by Vel »

Hi,

Hmm it does indeed look like the mdframed package and amsthm don't play nice together in certain situations. Not sure how to solve this for you, I've had a look around online and can't see any solutions.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Theoreme error with changing babel

Post by Vel »

Hi,

You may need to redefine the names of theorems after changing the language via babel. Below is an example for [slovak]:

Code: Select all

\theoremstyle{ocrenumbox}
\newtheorem{veta}{Veta}[chapter]
\newtheorem*{veta*}{Veta}
\newtheorem{cvicenie}{Cvièenie}[chapter]
\newtheorem*{cvicenie*}{Cvièenie}

\theoremstyle{blacknumex}
\newtheorem{priklad}{Príklad}[chapter]
\newtheorem*{priklad*}{Príklad}

\theoremstyle{blacknumbox}
\newtheorem{definicia}{Definícia}[chapter]
\newtheorem*{definicia*}{Definícia}
\newtheorem{dosledok}[dummy]{Dôsledok}
\newtheorem{slovnik}{Slovník}[chapter]

\theoremstyle{ocrenum}
\newtheorem{propozicia}[dummy]{Propozícia}
Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply