
표 셀 내에서 수식이나 텍스트를 중앙에 배치하려면 어떻게 해야 합니까? 내 코드는 다음과 같습니다.
\documentclass[10pt,letterpaper]{article}
\usepackage[lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in]{geometry}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{
% use this `compat' level or higher, so TikZ coordinates don't have to
% be prefixed by `axis cs:'
compat=1.11,
}
\usepackage{tabularx}
\newcolumntype{C}{>{\centering\arraybackslash}X}
% -------------------
% Content
% -------------------
\begin{document}
\begin{center}
\pgfplotsset{width=0.8\linewidth,
scale only axis,
axis lines = middle,
ticks=none,
xlabel={$x$},
ylabel={$y$},
xlabel style={right},
ylabel style={above},
xmin=-4,
xmax=4,
%
every axis plot post/.append style={ultra thick, smooth},
}
\begin{tabularx}{\linewidth}{|C|C|C|}
\hline
& $n$~\textbf{gerade} & $n$~\textbf{ungerade} \\
\hline
$a>0$ & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};% node [pos=0.7, below right] {\footnotesize{$x^2$}};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $+\infty$ & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3}; %node [pos=0.8, above right] {\footnotesize{$x^3$}};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $+\infty$\\
\hline
$a < 0$ & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^2} node [pos=0.9, below right] {$f(x)=-x^2$};
\node[color=black, font=\footnotesize] at (axis cs: 2.5,-3) {$-x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $-\infty$ & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^3} node [pos=0.9, above right] {$f(x)=-x^3$};
\node[color=black, font=\footnotesize] at (axis cs: 2.3,-3) {$-x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $-\infty$\\
\hline
$|a| > 1$ & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^2$}; %node [pos=0.1, below right] {$x^2$};
\addplot [color=red, domain=-4:4] {2*x^2} node [pos=0.9, below right] {$2x^2$};
\draw [-latex,color=red] (2,2) to (1,2);
\node at (2.5,2) {\small \textcolor{red}{$2x^2$}};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture} \medskip & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};% node [pos=0.9, above right] {$x^3$};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^3$}; %node [pos=0.1, below right] {$x^2$};
\addplot [color=red, domain=-3:3] {2*x^3};% node [pos=0.9, above right] {$x^3$};
\draw [-latex,color=red] (2.2,3.456) to (1.2,3.456);
\node at (2.7,3.456) {\small \textcolor{red}{$2x^3$}};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture} \medskip \\
& \multicolumn{2}{c|}{ Dehnung in $y$-Richtung}\\
\hline
$|a| < 1$ & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\draw [-latex] (2.5,2.25) to (1.5,2.25);
\node at (2.85,2.25) {\small $x^2$};
\addplot [color=red, domain=-4:4] {(1/2)*x^2};
\node[color=red, font=\footnotesize] at (axis cs: 2,0.5) {$\frac{1}{2}x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture} \medskip & \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};
\draw [-latex] (2.5,3.375) to (1.5,3.375);
\node at (2.85,3.375) {\small $x^2$};
\addplot [color=red, domain=-3:3] {(1/2)*x^3};% node [pos=0.9, above right] {$x^3$};
\node[color=red, font=\footnotesize] at (axis cs: 2.1,1.5) {$\frac{1}{2}x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture} \medskip \\
& \multicolumn{2}{c|}{ Stauchung in $y$-Richtung}\\
\hline
\end{tabularx}
\end{center}
\end{document}
보시다시피 텍스트는 첫 번째 열 내에서 상대적으로 아래쪽에 위치합니다.
답변1
표가 여러 단락과 혼합된 텍스트와 그림으로 구성된 경우 기본 정렬은 항상 각 셀의 맨 위 기준선에 맞춰 작성됩니다. 텍스트의 경우 하단 문자입니다. 사진의 경우 하단 가장자리입니다. pfgplots
또한 남서쪽 또는 왼쪽 하단 모서리에 도면의 기준선을 유지합니다. 이것이 첫 번째 열의 텍스트가 축 아래쪽에 배치되는 이유입니다.
한 가지 방법은 각 축을 선택적 설정으로 사용 anchor
하고 지점을 중심으로 변경하는 것입니다. 또 다른 방법은 baseline
전체를 tikzpicture
축의 중심에 맞추는 것입니다. 두 접근 방식 모두 기본 기준선을 이동하므로 첫 번째 셀의 텍스트가 정렬됩니다. 이 경우에는 포함되지 않은 캡션도 셀에 포함되어 있으므로 이는 셀의 중심이 아닙니다. 셀의 완벽한 중간 정렬을 원한다면 다른 솔루션을 사용하십시오.
기준선을 축 중심으로 이동하려면 프리앰블에 다음을 추가하세요.
\tikzset{
baseline={([yshift=-0.7ex]current axis.center)},
}
yshift
추가 조정을 위한 선택적 인수입니다. 여기서는 단지 캐릭터의 키에 대한 보상일 뿐이다.
전체 코드:
\documentclass[10pt,letterpaper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\usepackage{tabularx}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\tikzset{
baseline={([yshift=-0.7ex]current axis.center)},
}
\pgfplotsset{
width=1.8\linewidth,
scale only axis,
axis lines = middle,
ticks=none,
xlabel={$x$},
ylabel={$y$},
xlabel style={right},
ylabel style={above},
xmin=-4,
xmax=4,
%
every axis plot post/.append style={ultra thick, smooth},
}
\begin{document}
\begin{tabularx}{\linewidth}{|C|C|C|}
\hline
& $n$~\textbf{gerade} & $n$~\textbf{ungerade} \\
\hline
$a>0$
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};% node [pos=0.7, below right] {\footnotesize{$x^2$}};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
\par\medskip
\par Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $+\infty$
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3}; %node [pos=0.8, above right] {\footnotesize{$x^3$}};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
\par\medskip
\par Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $+\infty$ \\
\hline
$a < 0$
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^2} node [pos=0.9, below right] {$f(x)=-x^2$};
\node[color=black, font=\footnotesize] at (axis cs: 2.5,-3) {$-x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
\par \medskip
\par Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $-\infty$
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^3} node [pos=0.9, above right] {$f(x)=-x^3$};
\node[color=black, font=\footnotesize] at (axis cs: 2.3,-3) {$-x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
\par\medskip
\par Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $-\infty$ \\
\hline
$|a| > 1$
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^2$}; %node [pos=0.1, below right] {$x^2$};
\addplot [color=red, domain=-4:4] {2*x^2} node [pos=0.9, below right] {$2x^2$};
\draw [-latex,color=red] (2,2) to (1,2);
\node at (2.5,2) {\small \textcolor{red}{$2x^2$}};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture} \medskip
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};% node [pos=0.9, above right] {$x^3$};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^3$}; %node [pos=0.1, below right] {$x^2$};
\addplot [color=red, domain=-3:3] {2*x^3};% node [pos=0.9, above right] {$x^3$};
\draw [-latex,color=red] (2.2,3.456) to (1.2,3.456);
\node at (2.7,3.456) {\small \textcolor{red}{$2x^3$}};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture} \medskip \\
& \multicolumn{2}{c|}{ Dehnung in $y$-Richtung} \\
\hline
$|a| < 1$
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\draw [-latex] (2.5,2.25) to (1.5,2.25);
\node at (2.85,2.25) {\small $x^2$};
\addplot [color=red, domain=-4:4] {(1/2)*x^2};
\node[color=red, font=\footnotesize] at (axis cs: 2,0.5) {$\frac{1}{2}x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
& \begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};
\draw [-latex] (2.5,3.375) to (1.5,3.375);
\node at (2.85,3.375) {\small $x^2$};
\addplot [color=red, domain=-3:3] {(1/2)*x^3};% node [pos=0.9, above right] {$x^3$};
\node[color=red, font=\footnotesize] at (axis cs: 2.1,1.5) {$\frac{1}{2}x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture} \medskip \\
& \multicolumn{2}{c|}{ Stauchung in $y$-Richtung}\\
\hline
\end{tabularx}
\end{document}
답변2
명령을 실행해야 합니다.
\renewcommand{\tabularxcolumn}[1]{m{#1}}
패키지를 로드한 후 서문에서 tabularx
. (기본 설정은 입니다 \newcommand{\tabularxcolumn}[1]{p{#1}}
.) 사용자 가이드의 4.2항을 참조하세요.표 형식자세한 내용은 패키지를 참조하세요.
\documentclass[10pt,letterpaper]{article}
\usepackage[margin=1in]{geometry}
\usepackage[T1]{fontenc}
\usepackage{tikz,pgfplots}
\pgfplotsset{compat=1.11}
\usepackage[ngerman]{babel}
\usepackage{tabularx,ragged2e}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\renewcommand{\tabularxcolumn}[1]{m{#1}}
% -------------------
% Content
% -------------------
\begin{document}
\begin{center}
\pgfplotsset{width=0.8\linewidth,
scale only axis,
axis lines = middle,
ticks=none,
xlabel={$x$},
ylabel={$y$},
xlabel style={right},
ylabel style={above},
xmin=-4,
xmax=4,
%
every axis plot post/.append style={ultra thick, smooth},
}
\begin{tabularx}{\linewidth}{|wc{1.5in}|C|C|}
\hline
& $n$ gerade & $n$ ungerade \\
\hline
$a>0$ &
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};% node [pos=0.7, below right] {\footnotesize{$x^2$}};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verläuft von $+\infty$ nach $+\infty$
&
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3}; %node [pos=0.8, above right] {\footnotesize{$x^3$}};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verläuft von $-\infty$ nach $+\infty$\\
\hline
$a < 0$ &
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^2} node [pos=0.9, below right] {$f(x)=-x^2$};
\node[color=black, font=\footnotesize] at (axis cs: 2.5,-3) {$-x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verläuft von $-\infty$ nach $-\infty$
&
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^3} node [pos=0.9, above right] {$f(x)=-x^3$};
\node[color=black, font=\footnotesize] at (axis cs: 2.3,-3) {$-x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
\medskip
Der Graph der Potenzfunktion verläuft von $+\infty$ nach $-\infty$\\
\hline
$|a| > 1$
&
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^2$}; %node [pos=0.1, below right] {$x^2$};
\addplot [color=red, domain=-4:4] {2*x^2} node [pos=0.9, below right] {$2x^2$};
\draw [-latex,color=red] (2,2) to (1,2);
\node at (2.5,2) {\small \textcolor{red}{$2x^2$}};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
%\medskip
&
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};% node [pos=0.9, above right] {$x^3$};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^3$}; %node [pos=0.1, below right] {$x^2$};
\addplot [color=red, domain=-3:3] {2*x^3};% node [pos=0.9, above right] {$x^3$};
\draw [-latex,color=red] (2.2,3.456) to (1.2,3.456);
\node at (2.7,3.456) {\small \textcolor{red}{$2x^3$}};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
%\medskip
\\
& \multicolumn{2}{c|}{ Dehnung in $y$-Richtung}\\
\hline
$|a| < 1$
&
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\draw [-latex] (2.5,2.25) to (1.5,2.25);
\node at (2.85,2.25) {\small $x^2$};
\addplot [color=red, domain=-4:4] {(1/2)*x^2};
\node[color=red, font=\footnotesize] at (axis cs: 2,0.5) {$\frac{1}{2}x^2$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {$\alpha>0$};
\end{tikzpicture}
\medskip
&
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};
\draw [-latex] (2.5,3.375) to (1.5,3.375);
\node at (2.85,3.375) {\small $x^2$};
\addplot [color=red, domain=-3:3] {(1/2)*x^3};% node [pos=0.9, above right] {$x^3$};
\node[color=red, font=\footnotesize] at (axis cs: 2.1,1.5) {$\frac{1}{2}x^3$}; %node [pos=0.1, below right] {$x^2$};
\end{axis}
%\node at (0.5,-0.2) {{$\alpha<0$}};
\end{tikzpicture}
\medskip \\
& \multicolumn{2}{c|}{ Stauchung in $y$-Richtung}\\
\hline
\end{tabularx}
\end{center}
\end{document}
답변3
@Mico가 이미 답변을 제공했지만 강력한 이점을 누릴 수 있습니다.tabularray
\documentclass[10pt,letterpaper]{article}
\usepackage[lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in]{geometry}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{graphicx}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\pgfplotsset{
compat=1.11,
width=0.8\linewidth,
scale only axis,
axis lines = middle,
ticks=none,
xlabel={$x$},
ylabel={$y$},
xlabel style={right},
ylabel style={above},
xmin=-4,
xmax=4,
every axis plot post/.append style={ultra thick, smooth},
}
\begin{filecontents*}{tikzPicture1.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^2$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\begin{filecontents*}{tikzPicture2.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};
\node[color=black, font=\footnotesize] at (axis cs: 2.2,3) {$x^3$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\begin{filecontents*}{tikzPicture3.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^2} node [pos=0.9, below right] {$f(x)=-x^2$};
\node[color=black, font=\footnotesize] at (axis cs: 2.5,-3) {$-x^2$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\begin{filecontents*}{tikzPicture4.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {-x^3} node [pos=0.9, above right] {$f(x)=-x^3$};
\node[color=black, font=\footnotesize] at (axis cs: 2.3,-3) {$-x^3$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\begin{filecontents*}{tikzPicture5.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\addplot [color=red, domain=-4:4] {2*x^2} node [pos=0.9, below right] {$2x^2$};
\draw [-latex,color=red] (2,2) to (1,2);
\node at (2.5,2) {\small \textcolor{red}{$2x^2$}};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^2$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\begin{filecontents*}{tikzPicture6.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};
\addplot [color=red, domain=-3:3] {2*x^3};
\draw [-latex,color=red] (2.2,3.456) to (1.2,3.456);
\node at (2.7,3.456) {\small \textcolor{red}{$2x^3$}};
\node[color=black, font=\footnotesize] at (axis cs: 1.5,1) {$x^3$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\begin{filecontents*}{tikzPicture7.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^2};
\addplot [color=red, domain=-4:4] {(1/2)*x^2};
\draw [-latex] (2.5,2.25) to (1.5,2.25);
\node[color=red, font=\footnotesize] at (axis cs: 2,0.5) {$\frac{1/2}x^2$};
\node at (2.85,2.25) {\small $x^2$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\begin{filecontents*}{tikzPicture8.tex}
\begin{tikzpicture}
\begin{axis}[ymin=-4, ymax=4]
\addplot [domain=-3:3] {x^3};
\draw [-latex] (2.5,3.375) to (1.5,3.375);
\node at (2.85,3.375) {\small $x^3$};
\addplot [color=red, domain=-3:3] {(1/2)*x^3};
\node[color=red, font=\footnotesize] at (axis cs: 2.1,1.5) {$\frac{1/2}x^3$};
\end{axis}
\end{tikzpicture}
\end{filecontents*}
\newcommand{\myimage}[1]{\input{tikzPicture#1}}
\begin{document}
\begin{tblr}{
colspec = {X[c,m]X[c,m]X[c,m]},
width = \linewidth,
row{1} = {font=\bfseries},
vlines,
hline{1,2,4,6,8,10} = {solid},
}
& {$n$ gerade} & {$n$ ungerade} \\
\SetCell[r=2]{c} {$a > 0$}
& \myimage{1}
& \myimage{2}
\\
& Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $+\infty$
& Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $+\infty$
\\
\SetCell[r=2]{c} {$a < 0$}
& \myimage{3}
& \myimage{4}
\\
& Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $-\infty$
& Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $-\infty$
\\
\SetCell[r=2]{c} {$|a| > 1$}
& \myimage{5}
& \myimage{6}
\\
& \SetCell[c=2]{c} Dehnung in $y$-Richtung \\
\SetCell[r=2]{c} {$|a| < 1$}
& \myimage{7}
& \myimage{8}
\\
& \SetCell[c=2]{c} Stauchung in $y$-Richtung \\
\end{tblr}
\end{document}
간단한 MWE의 경우
\documentclass[10pt,letterpaper]{article}
\usepackage[lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in]{geometry}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{graphicx}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\pgfplotsset{
compat=1.11,
width=0.8\linewidth,
scale only axis,
axis lines = middle,
ticks=none,
xlabel={$x$},
ylabel={$y$},
xlabel style={right},
ylabel style={above},
xmin=-4,
xmax=4,
every axis plot post/.append style={ultra thick, smooth},
}
\newcommand{\myimage}{\includegraphics[width=\linewidth,height=35mm]{example-image}}
\begin{document}
\begin{tblr}{
colspec = {X[c,m]X[c,m]X[c,m]},
width = \linewidth,
row{1} = {font=\bfseries},
vlines,
hline{1,2,4,6,8,10} = {solid},
}
& {$n$ gerade} & {$n$ ungerade} \\
\SetCell[r=2]{c} {$a > 0$}
& \myimage
& \myimage
\\
& Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $+\infty$
& Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $+\infty$
\\
\SetCell[r=2]{c} {$a < 0$}
& \myimage
& \myimage
\\
& Der Graph der Potenzfunktion verl\"auft von $-\infty$ nach $-\infty$
& Der Graph der Potenzfunktion verl\"auft von $+\infty$ nach $-\infty$
\\
\SetCell[r=2]{c} {$|a| > 1$}
& \myimage
& \myimage
\\
& \SetCell[c=2]{c} Dehnung in $y$-Richtung \\
\SetCell[r=2]{c} {$|a| < 1$}
& \myimage
& \myimage \\
& \SetCell[c=2]{c} Stauchung in $y$-Richtung \\
\end{tblr}
\end{document}