\documentclass[12pt,a4paper]{article}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{marginnote}
\begin{document}
\underline {Chandrashekhar EOS (1935)} : \\
\begin{align*}
\overline \rho &= $K$ ~\Big( $sinh ~t$ ~- ~$t$\Big)\\
\overline P &= \frac {1}{3} $K$ ~ \Big($sinh~t$ - 8 $sinh$ \frac {1}{2} t + $3t$\Big)\\
\end {align*}
\end {document}
你能告诉我为什么等式的右边有错误吗?
答案1
除了@egreg的评论之外,我建议将\overline
这里的(太大)替换为widebar
,借用mathx
字体(mathabx
包),并将分数系数替换为包中定义的中等大小的分数nccmath
。另外,不要加载amsmath
,因为mathtools
可以帮你完成。你可以替换一些 的开头~
带有thin space
(\,
)。
\documentclass[12pt,a4paper]{article}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{mathtools}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{nccmath}
\DeclareFontFamily{U}{mathx}{\hyphenchar\font45}
\DeclareFontShape{U}{mathx}{m}{n}{ <-> mathx10 }{}
\DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
\DeclareFontSubstitution{U}{mathx}{m}{n}
\DeclareMathAccent{\widebar}{0}{mathx}{"73}
\usepackage{marginnote}
\begin{document}
\underline {Chandrashekhar EOS (1935)} :
\begin{align*}
\widebar{\rho} &= K \,\bigl( \sinh t - t \bigr)\\
\widebar{P} &= \mfrac {1}{3}K\, \Bigl(\sinh t - 8 \sinh \mfrac {1}{2} t + 3t \Bigr)
\end {align*}
\end {document}