Replies: 1 comment 2 replies
-
I'm afraid you need to use A simplified example \documentclass{article}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{
cell{1}{1}={c=4}{c},
hlines, vlines
}
xxx xxx xxx xxx xxx \\
0 & 0 & 0 & 0 \\
\end{tblr}
\begin{tblr}{
width=.3\linewidth, % guessed value
colspec={XXXX},
cell{1}{1}={c=4}{c},
hlines, vlines
}
xxx xxx xxx xxx xxx \\
0 & 0 & 0 & 0 \\
\end{tblr}
\end{document} Adapt your example: \documentclass{article}
\usepackage{amsmath, amssymb}
\usepackage{tabularray}
\begin{document}
%\begin{table}[H]
% \centering
\SetTblrInner{rowsep=1mm,colsep=2pt}
\begin{tblr}{
width=.85\linewidth,
rows = {valign=m},
colspec={c *{4}X *{7}c},
vline{2} = {2-20}{solid, .5mm},
vline{1,6,9,13} = {2-20}{solid},
columns = {mode=dmath},
cell{1}{2,9} = {c=4}{c},
cell{1}{6} = {c=3}{c},
}
& \text{Current state} & & & & \text{Inputs} & & & \text{Next} & & & \\
% \text{Übergang} & s & & & & \text{Inputs} & & & \text{Next State} & & & \\
\hline
\text{Übergang} & x_3 & x_2 & x_1 & x_0 & y_2(0) & y_1(K) & y_0(J) & x_{3+1} & x_{2+1} & x_{1+1} & x_{0+1} \\
\hline
0 K \rightarrow 1 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 1 \\
1 J \rightarrow 2 & 0 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 1 & 0 \\
2 K \rightarrow 3 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 1 & 1 \\
3 J \rightarrow 4 & 0 & 0 & 1 & 1 & 0 & 0 & 1 & 0 & 1 & 0 & 0 \\
4 K \rightarrow 5 & 0 & 1 & 0 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 1 \\
5 J \rightarrow 6 & 0 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 1 & 1 & 0 \\
6 K \rightarrow 7 & 0 & 1 & 1 & 0 & 0 & 1 & 0 & 0 & 1 & 1 & 1 \\
7 K \rightarrow 8 & 0 & 1 & 1 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 0 \\
8 J \rightarrow 8 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & 0 \\
8 K \rightarrow 8 & 1 & 0 & 0 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 0 \\
8 0 \rightarrow 9 & 1 & 0 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 1 \\
9 0 \rightarrow 10 & 1 & 0 & 0 & 1 & 1 & 0 & 0 & 1 & 0 & 1 & 0 \\
\hline
\end{tblr}
% \caption{Wertetabelle USB-Paketerkennung}
% \label{tbl:counter}
%\end{table}
\end{document} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the span cell is larger than the cells below it, the last cells under the spanned cell are unequally wide.
what did i wrong?
Beta Was this translation helpful? Give feedback.
All reactions