当我使用 时amsthm
,\usepackage[french]{babel}
我得到Proof
了Démonstration
。总的来说,这很好,但在我的特殊情况下,我需要它是Proof
。你能帮我得到这个吗?
\documentclass[a4paper]{article}
\usepackage{amsthm}
\usepackage[utf8]{inputenc} %% format d'encodage
\usepackage[french]{babel} %% typographie française
\newtheorem{thm}{Theorem}
\begin{document}
\begin{thm}
This is a great theorem.
\end{thm}
\begin{proof}
This is a simple proof.
\end{proof}
\end{document}
答案1
您可以使用可选参数来proof
提供所需的名称:
\documentclass[a4paper]{article}
\usepackage{amsthm}
\usepackage[utf8]{inputenc} %% format d'encodage
\usepackage[french]{babel} %% typographie française
\newtheorem{thm}{Theorem}
\begin{document}
\begin{thm}
This is a great theorem.
\end{thm}
\begin{proof}[Proof]
This is a simple proof.
\end{proof}
\end{document}
如果你需要更改名称全部proof
您可以使用的环境
\addto\captionsfrench{\renewcommand\proofname{Proof}}
完整示例:
\documentclass[a4paper]{article}
\usepackage{amsthm}
\usepackage[utf8]{inputenc} %% format d'encodage
\usepackage[french]{babel} %% typographie française
\newtheorem{thm}{Theorem}
\addto\captionsfrench{\renewcommand\proofname{Proof}}
\begin{document}
\begin{thm}
This is a great theorem.
\end{thm}
\begin{proof}
This is a simple proof.
\end{proof}
\end{document}