큰 방정식에서 변수 사이의 공간을 확보하고 거듭제곱의 크기를 줄이시겠습니까?

큰 방정식에서 변수 사이의 공간을 확보하고 거듭제곱의 크기를 줄이시겠습니까?
\begin{equation}
\resizebox{.8\hsize}{!}{$<\mathscr{F}>=\frac{\int_\Gamma d^{3\!\!N}\!\!\!q\, d^{3\!\!N}\!p\, \rho(q, p) \mathscr{F}(q, p)} {\underbrace{\int_\Gamma d^{3\!N}\! \!\!q\,  d^{3\!N}\!\!\!\!\!p\, \, \rho(q, p)}_{Normalisation factor}}
$}
\end{equation}

이것은 제가 사용하고 있는 코드이지만 매우 지저분해 보이고 더 나은 구조를 만들기 위해 어떤 옵션을 사용할 수 있는지 잘 모르겠습니다. 미리 감사드립니다.

답변1

공간을 줄여야 하는 이유는 명확하지 않습니다. 두 개의 열로 구성된 문서에서도 문제 없이 맞습니다. 반면에 LaTeX의 레이아웃을 방해하기 위해 많은 일을 하고 있습니다.
설정에 몇 가지 문제가 있습니다.

  • 꺾쇠 괄호는 입력해야 합니다 \langle...\rangle.<...>
  • 상단과 하단의 적분은 균일해야 합니다. 아래에서는 분자를 더 크게 강제하는 데 \frac사용했습니다 . 반대로 분모 내부를 사용하여 원래 분자처럼 만들 수 있습니다.\displaystyle\textstyle
  • 중괄호 아래의 텍스트는 로 설정해야 합니다 \text{...}. 그렇지 않으면 간격이 이상해집니다.

샘플 출력

\documentclass[twocolumn]{article}

\usepackage{mathtools}
\usepackage{mathrsfs}

\begin{document}

\begin{equation}
  \langle \mathscr{F} \rangle =
  \frac
    {\displaystyle \int_\Gamma d^{3N}q\, d^{3N}p\, \rho(q, p) \mathscr{F}(q, p)}
    {\underbrace{\int_\Gamma d^{3N}q\,  d^{3N}p\, \rho(q, p)}_{\text{Normalisation factor}}}
\end{equation}

\end{document}

답변2

여기에 두 가지 해결책이 있습니다. 그 중 하나는 의 도구를 사용하여 nccmath중간 크기의 수식(~80% \displaystyle)을 갖습니다. 또한 나는 그것이 올바른 표기법이라고 생각하기 때문에 <\mathscr F>로 대체했습니다. 그러나 아마도 제가 틀렸을 수도 있습니다.\langle\mathscr F\rangle

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{lmodern}
\usepackage{mathrsfs}
\newcommand\dint{\displaystyle\int}
\usepackage{nccmath}
\begin{document}

\begin{gather}
 \langle\mathscr{F}\rangle=\frac{\dint_\Gamma d^{3N}\mkern-4mu q\, d^{3N}\mkern-4mu p\, \rho(q, p) \mathscr{F}(q, p)} {\underbrace{\int_\Gamma d^{3N}\mkern-4mu q\, d^{3N}\mkern-4mu p\,\rho(q, p)}_{\text{Normalisation factor}}} \\[3ex]
 \langle\mathscr{F}\rangle=
 \frac{\medmath{\int_\Gamma d^{3N}\mkern-4mu q\, d^{3N}\mkern-4mu p\, \rho(q, p) \mathscr{F}(q, p)} } {\underbrace{\medmath{\int_\Gamma d^{3N}\mkern-4mu q\, d^{3N}\mkern-4mu p\,\rho(q, p)}}_{\text{Normalisation factor}}}
\end{gather}

\end{document} 

여기에 이미지 설명을 입력하세요

관련 정보