水平方向の配置に関するヘルプ

水平方向の配置に関するヘルプ

次のようにテキストを左に近づける方法を教えていただけますか?

ここに画像の説明を入力してください

\documentclass[11pt,fleqn]{book}

\usepackage{amsmath,amsfonts,amssymb,amsthm}

\begin{document}
\noindent
where
\begin{flalign*}
&\Delta f_{res} & - & \mbox{\emph{lock time in microseconds}}&&\\
&\mathcal{L} & - & \mbox{\emph{is the loop bandwidth in kHz, and}}&&\\
&f_{m} & - & \frac{Frequency~Tolerance}{Frequency~Jump}&&
\end{flalign*}
\end{document}

ありがとう、

答え1

悪用されない可能性は次のとおりですflalign:

\documentclass{book}

\usepackage{amsmath,siunitx}

\begin{document}

\noindent
where
\[
\makebox[\displaywidth][l]{$\displaystyle
  \begin{array}{@{} l l @{}}
  \Delta f_{\mathrm{res}} & \mbox{---\quad \emph{lock time in microseconds,}} \\
  \mathcal{L}             & \mbox{---\quad \emph{loop bandwidth in \si{kHz}, and}} \\
  f_{m}                   & \mbox{---\quad}\dfrac{\text{\emph{Frequency Tolerance}}}
                                                 {\text{\emph{Frequency Jump}}.}
  \end{array}
$}
\]

\end{document}

ここに画像の説明を入力してください

答え2

更新されたコードは次のとおりです。

\documentclass[11pt,fleqn]{book}

\usepackage{amsmath,amsfonts,amssymb,amsthm}

\begin{document}
\noindent
where
\begin{flalign*}
&\Delta f_{res} & \hspace{-1.6cm} - & \mbox{\emph{lock time in microseconds}}&&\\
&\mathcal{L} & \hspace{-2.1cm} - & \mbox{\emph{is the loop bandwidth in kHz, and}}&&\\
&f_{m} & \hspace{-2cm} - & \frac{Frequency~Tolerance}{Frequency~Jump}&&
\end{flalign*}
\end{document}

ここに画像の説明を入力してください

答え3

これはどうでしょう、さらに良く見えます。

\documentclass[11pt,fleqn]{book}

\usepackage{amsmath,amsfonts,amssymb,amsthm}

\begin{document}
\noindent
where
    \begin{flalign*}
&\Delta f_{res} & \hspace{-1.6cm}{:~}  & \mbox{\emph{lock time in microseconds}}&&\\
&\mathcal{L} & \hspace{-2.1cm}{:~}  &  \mbox{\emph{is the loop bandwidth in kHz, and}}&&\\
&f_{m} & \hspace{-2cm}{:~}  & \frac{Frequency~Tolerance}{Frequency~Jump}&&
\end{flalign*}
\end{document}

ここに画像の説明を入力してください

答え4

目的を達成するには、左揃えのtabular環境を使用できます。(次のスクリーンショットの左端に沿った線は、テキスト ブロックの端を示すためのものです。)

ここに画像の説明を入力してください

ちなみに、説明文のスニペットを斜体でレンダリングする必要は実際にはないと思います。資料を直立テキスト フォントでレンダリングするには、\em以下のコードの命令を削除し、\textitに置き換えるだけです\textrm

\documentclass[11pt,fleqn]{book}
\usepackage{amsmath,array}
\usepackage{showframe}
\newcolumntype{L}{>{$}l<{$} }
\begin{document}
\noindent \dots

\noindent where\\[1ex]
\noindent
\begin{tabular}{@{} L @{\quad---\quad} >{\em}l}
\Delta f_{\textit{res}} & lock time in microseconds,\\
\mathcal{L}    & loop bandwidth in kHz, and\\[0.5ex]
f_{m}          & $\dfrac{\textit{Frequency Tolerance}}{\textit{Frequency Jump}}$\\
\end{tabular}
\end{document}

関連情報