如何在乳胶中写出基本方程式(见图)

如何在乳胶中写出基本方程式(见图)

如何在乳胶中写出这些方程式?

编辑:我希望两个方程一致。这样方程就在下面的第二个方程中。

在此处输入图片描述

答案1

抱歉,塞巴斯蒂亚诺利用align*环境的方式太糟糕了。让我们回顾一下几个基本事实:

以下代码的输出

源代码是:

% My standard header for TeX.SX answers:
\documentclass[a4paper]{article} % To avoid confusion, let us explicitly 
                                 % declare the paper format.

\usepackage[T1]{fontenc}         % Not always necessary, but recommended.
% End of standard header.  What follows pertains to the problem at hand.

\usepackage{amsmath}



\begin{document}

There are several ways to achive such a layout:

\begin{enumerate}
    \item
        Use a plain \texttt{align*} environment:
        \begin{align*}
            (T_{5}g)(t) &= g(t-5) &
                g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
            &&&= g(t-5)e^{2\pi i\left(\frac12\right)t}
        \end{align*}

        You could also have an equation number on, say, the first line,
        but I~don't think this is what you want:
        \begin{align}
            (T_{5}g)(t) &= g(t-5) &
                g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
            &&&= g(t-5)e^{2\pi i\left(\frac12\right)t} \notag
        \end{align}

    \item
        A slight variation is to replace \texttt{align*} (resp.,
        \texttt{align}) with \texttt{flalign*} (resp., \texttt{flalign}),
        which aligns the two blocks to the text margins:
        \begin{flalign*}
            (T_{5}g)(t) &= g(t-5) &
                g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
            &&&= g(t-5)e^{2\pi i\left(\frac12\right)t}
        \end{flalign*}

        Note, however, the awful placement of the equation number:
        \begin{flalign}
            (T_{5}g)(t) &= g(t-5) &
                g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
            &&&= g(t-5)e^{2\pi i\left(\frac12\right)t} \notag
        \end{flalign}

    \item
        With \texttt{alignat*} (resp., \texttt{alignat}) you are
        responsible for specifying both the number of alignments
        and the horizontal space between them: 
        \begin{alignat*}{2}
            (T_{5}g)(t) &= g(t-5) &\hspace{4em} % = 4*\quad
                g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
            &&&= g(t-5)e^{2\pi i\left(\frac12\right)t}
        \end{alignat*}

        With equation number(s):
        \begin{alignat}{2}
            (T_{5}g)(t) &= g(t-5) &\hspace{4em} % = 4*\quad
                g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
            &&&= g(t-5)e^{2\pi i\left(\frac12\right)t} \notag
        \end{alignat}

    \item
        So far we have seen solutions I'd \emph{deprecate};
        let's see now one I'd \emph{recommend}: use an \texttt{alignedat}
        environment.  With this, you can give a unique equation number
        to the whole block of equations, which is probably what you want:
        \begin{equation}
            \begin{alignedat}{2}
                (T_{5}g)(t) &= g(t-5) &\hspace{4em}
                    g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
                &&&= g(t-5)e^{2\pi i\left(\frac12\right)t}
            \end{alignedat}
        \end{equation}

        Should you later change your mind and decide not to number the
        equation, all you have to do is to add two asterisks
        (to \texttt{equation}, not to \texttt{alignedat}):
        \begin{equation*}
            \begin{alignedat}{2}
                (T_{5}g)(t) &= g(t-5) &\hspace{4em}
                    g_{5,\frac12}(t) &= (M_{\frac12}T_{5}g)(t) \\
                &&&= g(t-5)e^{2\pi i\left(\frac12\right)t}
            \end{alignedat}
        \end{equation*}
\end{enumerate}

\end{document}

答案2

如果您主要想写方程式,我喜欢使用 Windows 版 KLatexFormula。它允许我将方程式的图片拖放到我想要的位置。这是我使用的快速指南,在网上找到的。乳胶快速指南

相关内容