
Atualmente estou usando tabelas para representar o sistema de equações.
um exemplo é o seguinte:
Só consigo representar a matriz à esquerda, mas não consigo representar as variáveis e o RHS
Meu LHS é o seguinte
\begin{table}[H]
\centering
\label{augSystem}
\renewcommand{\arraystretch}{2.2}
\begin{tabular}{|>{\centering\arraybackslash}p{1.5cm}:>{\centering\arraybackslash}p{2.4cm}:>{\centering\arraybackslash}p{0.8cm}:>{\centering\arraybackslash}p{0.8cm}:>{\centering\arraybackslash}p{2.4cm}:>{\centering\arraybackslash}p{0.8cm}:>{\centering\arraybackslash}p{0.8cm}| }
\hline
& $A$ & $-b$ & $\bar{b} $ & & & \\[0.3cm] \hdashline
& & & & & & \\[-0.4cm]
$-A^{T}$ & & $c$ & $-\bar{c}$ & I & & \\[0.7cm]\hdashline
$b^{T}$ & -c & &$-\alpha$ & & -1 & \\[0cm] \hdashline
$-\bar{b}^{T}$ & $\bar{c}^T$ &$\alpha$ & & & & -1 \\[0cm] \hdashline
& & & & & & \\[-0.4cm]
$-\bar{b}^{T}$ & $S$ & & & I & & -1 \\[0.8cm] \hdashline
& & $\rho$ & & & $\kappa$ & \\[0cm] \hdashline
& & & $\nu$ & & & $\theta$ \\[0cm] \hline
\end{tabular}
\end{table}
As variáveis são y, x, y, v, z, a, b e o rhs é r1, r2, r3, r4, r5, r6, r7.
Responder1
Como suas tabelas são todas com termos matemáticos, usei alguns array
s e aninhei-os em um arquivo tabular
.
Para o alinhamento vertical, usei alguns struts (= regras sem largura) e alguns outros truques (talvez existam alguns métodos melhores, é o melhor que posso fazer).
\documentclass{book}
\usepackage{amsmath, amssymb}
\usepackage{float}
\usepackage{array}
\newcolumntype{M}[1]{>{\centering\arraybackslash\rule[-\baselineskip]{0pt}{0pt}$}m{#1}<{$}}
\newcommand{\mystrut}{\rule{0pt}{\baselineskip}}
\newcommand{\myvsp}{\vspace{-7pt}\newline}
\newlength{\mylen}
\setlength{\mylen}{2\baselineskip}
\newlength{\mylens}
\setlength{\mylens}{13pt}
\usepackage{arydshln}
%\usepackage{showframe} % for testing purpose only
\begin{document}
\begin{table}[H]% it's better to avoid H positioning
\centering
\label{augSystem}
\renewcommand{\arraystretch}{2.2}
%\setlength{\extrarowheight}{20pt}
\begin{tabular}{@{}ccM{.3cm}c@{}}
$
\begin{array}{|M{.8cm}:M{.7cm}:M{.7cm}:M{.7cm}:M{.7cm}:M{.7cm}:M{.7cm}|}
\hline
& A & -b & \bar{b} & & & \\
\hdashline\mystrut
-A^{T} & & c & -\bar{c} & I & & \\[\mylen]
\hdashline
b^{T} & -c & & -\alpha & & -1 & \\
\hdashline
-\bar{b}^{T} & \bar{c}^T & \alpha & & &&\\
\hdashline\mystrut
-\bar{b}^{T} & S & & & I & & \\[\mylen]
\hdashline
& & \rho & & & \kappa & \\ \hdashline
& & & \nu & & & \theta \\ \hline
\end{array}
$
&
$
\begin{array}{|M{.7cm}|}
\hline
y \\
\hdashline
\myvsp x \\[\mylens]
\hdashline
y \\
\hdashline
v \\
\hdashline
\myvsp z \\[\mylens]
\hdashline
a \\
\hdashline
b \\
\hline
\end{array}
$
&
$=$
&
$
\begin{array}{|M{.7cm}|}
\hline
r_{1} \\
\hdashline
\myvsp r_{2} \\[\mylens]
\hdashline
r_{3} \\
\hdashline
r_{4} \\
\hdashline
\myvsp r_{5} \\[\mylens]
\hdashline
r_{6} \\
\hdashline
r_{7} \\
\hline
\end{array}
$
\\
\end{tabular}
\end{table}
\end{document}