
在我的定理中,您可以看到定理第一行的數學表達式的位置超出了邊距。我不想破壞表達式,如果我在它之前換行,那麼理由就會變得混亂。我希望所有文字左對齊和右對齊,除了段落的開頭和結尾。我該怎麼做?謝謝?
\documentclass[letterpaper,twoside,notitlepage]{article}
\usepackage{bm}
\usepackage{lipsum}
\usepackage{amssymb,amsmath}
\usepackage[amsmath, thmmarks]{ntheorem}
\usepackage[left=1.5in,right=1.5in,top=0.75in,bottom=.75in,centering,includeheadfoot]{geometry}
\newtheorem{thm}{Theorem}[subsection]
\newtheorem{mainthm}[thm]{Main Theorem}
\begin{document}
\large
\lipsum[1][1-3]
\begin{mainthm}\label{thm:VecSpa}
A maximal set of independent tangency classes $\{[\gamma'(\lambda_0)]_{(\sigma)}\}$ is a basis for a vector space $\mathcal{V}$, and a tangency class of curve derivatives $[\gamma'(\lambda_0)]$ is a vector $\bm V\in\mathcal{V}$.
\end{mainthm}
\lipsum[1][4-6]
\end{document}
答案1
\\
並\newline
強制換行,留下一行短線。\linebreak
強制中斷而不失去合理性,以便您可以使用
classes\linebreak $....
答案2
\sloppy
您可以在 後立即插入指令\begin{mainthm}\label{thm:VecSpa}
。正如下面的螢幕截圖所示,字間間距可能會變得相當草率,但可以保持合理性。
\documentclass[letterpaper,twoside,notitlepage]{article}
\usepackage{bm}
\usepackage{lipsum}
\usepackage{amssymb,amsmath}
\usepackage[amsmath, thmmarks]{ntheorem}
\usepackage[hmargin=1.5in,vmargin=0.75in,
centering,includeheadfoot]{geometry}
\newtheorem{thm}{Theorem}[subsection]
\newtheorem{mainthm}[thm]{Main Theorem}
\begin{document}
\large
\lipsum[1][1-3]
\begin{mainthm}\label{thm:VecSpa}
\sloppy % <-- new
A maximal set of independent tangency classes
$\{[\gamma'(\lambda_0)]_{(\sigma)}\}$ is a basis
for a vector space $\mathcal{V}$, and a tangency
class of curve derivatives $[\gamma'(\lambda_0)]$
is a vector $\bm{V}\in\mathcal{V}$.
\end{mainthm}
\lipsum[1][4-6]
\end{document}