我想设置定理标题的缩进。
\documentclass{article}
\usepackage{lipsum}
\usepackage{amsthm}
\newtheorem{lemma}{Lemma}[section]
\newtheorem{theorem}[lemma]{Theorem}
\begin{document}
\begin{theorem}
\lipsum[1]
\end{theorem}
\end{document}
例如:默认,
Theorem 0.1. Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Ut purus elit, vestibulum ut, placerat ac,
adipiscing vitae, felis. Curabitur dictum
我想,
Theorem 0.1. Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Ut purus elit, vestibulum ut, placerat ac,
adipiscing vitae, felis. Curabitur dictum
答案1
来自amsthm
文档:
因此,创建一个新的定理样式,然后加载它后定义新的定理。
\documentclass{article}
\usepackage{lipsum}
\usepackage{amsthm}
\newtheoremstyle{thmindent}{3pt}{3pt}{\itshape}{\parindent}{\bfseries}{:}{.5em}{}
\newtheorem{lemma}{Lemma}[section]
\theoremstyle{thmindent}
\newtheorem{theorem}[lemma]{Theorem}
\begin{document}
\begin{theorem}
\lipsum[1]
\end{theorem}
\end{document}