Disminuir el salto de línea en el párrafo tabular

Disminuir el salto de línea en el párrafo tabular

Hice una tabla con una celda como párrafo de p{5,5 cm}.

Ahora, para no ocupar tanto espacio, reduje el tamaño de fuente al tamaño de script, pero creo que la tabla no se reduce verticalmente como se esperaba debido al parámetro de salto de línea. ¿Cómo puedo ajustar el salto de línea en la celda "Berechnung"?

\documentclass[11pt]{amsart}
\usepackage{geometry}         % See geometry.pdf to learn the layout options. There are lots.
\geometry{a4paper}            % ... or a4paper or a5paper or ...     
\begin{document}


  \begin{minipage}[t]{\textwidth}
Erweiterter Euklidischer Algorithmus:\\
      \begin{tabular}{|c|c|c|c|c|c|c|c|p{5.5cm}|}\hline % Quelle: http://johannes-bauer.com/compsci/eea/?a=7&b=60&submit=Berechnen
        A       & B         & Q         & R         & S         & T         & U         & V         & Berechnung:   \\ \hline
        60  & 7     &       &       & 1     & 0     & 0     & 1     & Startwerte \\ \hline
        60  & 7     & 8     & 4     & 0     & 1     & 1     & -8        & \begin{scriptsize}
        Q = A / B = 60 / 7 = 8\newline R = A \% B = 60 \% 7 = 4 \newline $S = U_{alt} = 0$ \newline $T = V_{alt} = 1$ \newline 
        $U = S_{alt} - (Q \cdot U_{alt}) = 1 - (8 \cdot 0) = 1$ \newline $V = T_{alt} - (Q \cdot V_{alt}) = 0 - (8 \cdot 1) = -8$  \end{scriptsize}\\ \hline
        7       & 4     & 1         & 3     & 1     & -8        & -1        & 9     & \begin{scriptsize}
        $A = B_{alt}$ \newline $B = R_{alt}$ \newline Q = A / B = 7 / 4 = 1 \newline R = A \% B = 7 \% 4 = 3 \newline 
        $S = U_{alt} = 1$ \newline $T = V_{alt} = -8$ \newline $U = S_{alt} - (Q \cdot U_{alt}) = 0 - (1 \cdot 1) = -1$ \newline 
        $V = T_{alt} - (Q \cdot V_{alt}) = 1 - (1 \cdot -8) = 9$\end{scriptsize}\\ \hline
        4       & 3     & 1         & 1     & -1        & 9     & 2     & -17   & \begin{scriptsize}
        $A = B_{alt}$ \newline $B = R_{alt}$ \newline Q = A / B = 4 / 3 = 1 \newline R = A \% B = 4 \% 3 = 1 \newline 
        $S = U_{alt} = -1$ \newline $T = V_{alt} = 9$ \newline $U = S_{alt} - (Q \cdot U_{alt}) = 1 - (1 \cdot -1) = 2$ \newline 
        $V = T_{alt} - (Q \cdot V_{alt}) = -8 - (1 \cdot 9) = -17$\end{scriptsize}\\ \hline
                & 1     &       &       & 2     & -17   &       &       & Ergebnisse\\ \hline\hline 
      \end{tabular}
  \end{minipage}%

\end{document} 

Respuesta1

Me gustaría sugerirle que utilice un tabularxentorno con el ancho establecido en \textwidth, en lugar de utilizar un tabularentorno anidado dentro de un minipageentorno cuyo ancho esté establecido en \textwidth.

Para simplificar el ingreso del material tabular, le sugiero que configure automáticamente todo en la columna final en tamaño script. (Esto puede anularse caso por caso mediante la emisión \normalsizede directivas). Un efecto secundario beneficioso de esta configuración es que el espacio entre líneas también disminuirá a medida que elija un tamaño de fuente más pequeño.

ingrese la descripción de la imagen aquí

\documentclass[11pt,a4paper]{amsart}
\usepackage{geometry,tabularx}

\begin{document}
\noindent
\begin{tabularx}{\textwidth}{| *{8}{c|} >{\scriptsize\arraybackslash}X |}
\multicolumn{9}{l}{Erweiterter Euklidischer Algorithmus}\\
        \hline
        A & B & Q & R & S & T & U & V & \normalsize Berechnung   \\
        \hline
        60  & 7 & & & 1 & 0 & 0 & 1 & \normalsize Startwerte \\ \hline
        60  & 7 & 8 & 4 & 0 & 1 & 1 & $-8$  &
        $Q = A / B = 60 / 7 = 8$\newline
        $R = A \% B = 60 \% 7 = 4$ \newline
        $S = U_{alt} = 0$ \newline
        $T = V_{alt} = 1$ \newline
        $U = S_{alt} - (Q \cdot U_{alt}) = 1 - (8 \cdot 0) = 1$ \newline
        $V = T_{alt} - (Q \cdot V_{alt}) = 0 - (8 \cdot 1) = -8$ \\
        \hline
        7 & 4 & 1 & 3 & 1 & $-8$ & $-1$ & 9 &
        $A = B_{alt}$ \newline
        $B = R_{alt}$ \newline
        $Q = A / B = 7 / 4 = 1$ \newline
        $R = A \% B = 7 \% 4 = 3$ \newline
        $S = U_{alt} = 1$ \newline
        $T = V_{alt} = -8$ \newline
        $U = S_{alt} - (Q \cdot U_{alt}) = 0 - (1 \cdot 1) = -1$ \newline
        $V = T_{alt} - (Q \cdot V_{alt}) = 1 - (1 \cdot -8) = 9$\\
        \hline
        4 & 3 & 1 & 1 & $-1$ & 9 & 2 & $-17$ &
        $A = B_{alt}$ \newline
        $B = R_{alt}$ \newline
        $Q = A / B = 4 / 3 = 1$ \newline
        $R = A \% B = 4 \% 3 = 1$ \newline
        $S = U_{alt} = -1$ \newline
        $T = V_{alt} = 9$ \newline
        $U = S_{alt} - (Q \cdot U_{alt}) = 1 - (1 \cdot -1) = 2$ \newline
        $V = T_{alt} - (Q \cdot V_{alt}) = -8 - (1 \cdot 9) = -17$\\
        \hline
        & 1 & & & 2 & $-17$ & & & \normalsize Ergebnisse\\
        \hline
\end{tabularx}
\end{document}

información relacionada