
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pgfplots}
\begin{document}
\textit{Induc.:}
\begin{align*}
\hspace{2cm}\Gamma (n+1)&=n\Gamma (n) && (B)\\
&=n\cdot (n-1)! && (\textit{AA})
\end{align*}
\end{document}
Align 環境の開始を「Induc.」のすぐ後ろ、つまり 2 行上に配置する方法をご存知ですか?
編集の問題:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pgfplots}
\begin{document}
\begin{proof}
\textit{Induktionsanfang:} $\Gamma (1)=\int_0^\infty e^{-t}dt=1=0!$\\
\hspace{1cm}\\
\textit{Induktionsschritt:} \qquad
$\begin{aligned}[t]
\hspace{-0.7cm}\Gamma (n+1)&=n\Gamma (n) \hspace{1.6cm} (2.85)\\
&=n\cdot (n-1)! \qquad (\textit{Induktionsvoraussetzung})\\
&=n!
\end{aligned}$
\end{proof}
\end{document}
答え1
aligned
インライン数式モード内で使用できます$ .. $
。
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pgfplots}
\begin{document}
\textit{Induc.:} \qquad
$
\begin{aligned}[t]
\Gamma (n+1)&=n\Gamma (n) && (B)\\
&=n\cdot (n-1)! && (\textit{AA})
\end{aligned}
$
\end{document}
答え2
おそらく、行の残りの部分を中心に配置したいでしょう。パッケージでは 2 つのバリエーションを提案しますlinegoal
。
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{linegoal}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pgfplots}
\begin{document}
\textit{Induc.:}$ \hfill
\begin{aligned}[t]
\Gamma (n+1)&=n\Gamma (n) && (B)\\
&=n\cdot (n-1)! && (\textit{AA})
\end{aligned} $\hfill\null \\
Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text.\bigskip
\textit{Induc.:} \makebox[\linegoal]{$
\begin{aligned}[t]
\Gamma (n+1)&=n\Gamma (n) && (B)\\
&=n\cdot (n-1)! && (\textit{AA})
\end{aligned} $}
Some more text. Some more text.
\end{document}