título en una tabla que contiene matriz

título en una tabla que contiene matriz

Puse una expresión matricial en una tabla. Ahora estoy intentando insertar un título, pero aparece un error y el título no aparece en mi pdf. Este es mi código:

\begin{table*}
\[
\begin{bmatrix}
y_\triangle \\
y
\end{bmatrix}
\Large
=
\renewcommand\arraystretch{2}
\begin{bmatrix}[c|ccc]
- \frac{\omega_i C C_{dyn} H G}{1+C C_{dyn} H G} & \frac{\omega_i C C_{dyn}}{1+C C_{dyn} H G} & \frac{\omega_i}{1+C C_{dyn} H G} & - \frac{\omega_i C C_{dyn} H}{1+C C_{dyn} H G} \\ \hline
\frac{\omega_p G}{1+C C_{dyn} H G} & \frac{\omega_p C C_{dyn} G}{1+C C_{dyn} H G} & \frac{\omega_p G}{1+C C_{dyn} H G} & - \frac{\omega_p C C_{dyn} H G}{1+C C_{dyn} H G}
\end{bmatrix}
\normalsize
\renewcommand\arraystretch{1}
\begin{bmatrix}
u_\triangle \\
r\\
\omega \\
n
\end{bmatrix}
\]
\caption{Trasformata U_LFT del sistema}
\label{fig:ulft}
\end{table*}

En el preámbulo inserté este código para insertar una línea vertical en la matriz.

\makeatletter
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
  \hskip -\arraycolsep
  \let\@ifnextchar\new@ifnextchar
  \array{#1}}
\makeatother

Gracias a todos por la ayuda

Respuesta1

Para deshacerse del mensaje de error generado por el título, cambie _a \_en el argumento de \caption.

También debería considerar solucionar varios otros problemas. Deshágase de los cambios en el tamaño de fuente dentro de la fórmula, la \hlinedirectiva y los cambios en \arraystretch. Úselo \dfracen lugar de \fracsi desea términos fraccionarios más grandes.

ingrese la descripción de la imagen aquí

\documentclass{article}
\usepackage[italian]{babel}
\usepackage{amsmath} % for 'bmatrix' environment and '\dfrac' macro
\usepackage[a4paper,margin=2.5cm]{geometry} % set page and text block parameters
\begin{document}
\begin{table}
\[
\begin{bmatrix} y_\triangle \\ y \end{bmatrix}
%%%\Large
=
%%%\renewcommand\arraystretch{2}
\begin{bmatrix}%%%[c|ccc]
-\dfrac{\omega_i C C_{\mathrm{dyn}} H G}{1+C C_{\mathrm{dyn}} H G} & 
 \dfrac{\omega_i C C_{\mathrm{dyn}}}{1+C C_{\mathrm{dyn}} H G} & 
 \dfrac{\omega_i}{1+C C_{\mathrm{dyn}} H G} & 
-\dfrac{\omega_i C C_{\mathrm{dyn}} H}{1+C C_{\mathrm{dyn}} H G} \\[3ex] %%%\hline
 \dfrac{\omega_p G}{1+C C_{\mathrm{dyn}} H G} & 
 \dfrac{\omega_p C C_{\mathrm{dyn}} G}{1+C C_{\mathrm{dyn}} H G} & 
 \dfrac{\omega_p G}{1+C C_{\mathrm{dyn}} H G} & 
-\dfrac{\omega_p C C_{\mathrm{dyn}} H G}{1+C C_{\mathrm{dyn}} H G}
\end{bmatrix}
%%%\normalsize
%%%\renewcommand\arraystretch{1}
\begin{bmatrix} u_\triangle \\ r\\ \omega \\ n \end{bmatrix}
\]
\caption{Trasformata U\_LFT del sistema} % <--- change "_" to "\_"
\label{fig:ulft}
\end{table}
\end{document}

Apéndice: Si debe insertar una línea vertical y una horizontal en la matriz de 2x4, le sugiero que lo haga utilizando un arrayentorno, en lugar de un bmatrixentorno. De esa manera, no \hlinegenerarás una línea demasiado larga que termine interfiriendo con los corchetes.

\left[ \begin{array}{@{}c|ccc@{}}
-\dfrac{\omega_i C C_{\mathrm{dyn}} H G}{1+C C_{\mathrm{dyn}} H G} & 
\dfrac{\omega_i C C_{\mathrm{dyn}}}{1+C C_{\mathrm{dyn}} H G} & 
\dfrac{\omega_i}{1+C C_{\mathrm{dyn}} H G} & 
- \dfrac{\omega_i C C_{\mathrm{dyn}} H}{1+C C_{\mathrm{dyn}} H G} \\[2ex]
\hline 
% use '\mathstrut' to get a bit more vertical separation:
\dfrac{\omega_p G^{\mathstrut}}{1+C C_{\mathrm{dyn}} H G} & 
\dfrac{\omega_p C C_{\mathrm{dyn}} G}{1+C C_{\mathrm{dyn}} H G} & 
\dfrac{\omega_p G}{1+C C_{\mathrm{dyn}} H G} & 
- \dfrac{\omega_p C C_{\mathrm{dyn}} H G}{1+C C_{\mathrm{dyn}} H G}
\end{array}\right]

información relacionada