
我想設定定理標題的縮排。
\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}