TeX - LaTeX Asked on December 27, 2020
I am trying to achieve something like the following
( ) text
( )( ) text
my attempt using blkarray fails:
documentclass{article}
usepackage{blkarray}
begin{document}
begin{blockarray}{cc(cc)}
begin{block}{cc(cc)}
& & 1 & 3
& & 2 & -5
end{block}
begin{block}{(cc)(cc)}
11 & 22 & 33 & $x^2+ 1$
25121 & 2 & 3 & -5
end{block}
end{blockarray}
end{document}
Could anybody point me to a workable solution
(hopefully not too clumsy,
I need to produce a lot of such figures)?
I am not tied to using any particular package…
Use the parentheses only in the preambles of the blocks. I added some spacing improvements:
documentclass{article}
usepackage{blkarray}
begin{document}
begin{blockarray}{cccc}
begin{block}{cc(cc)}
& & 1 & 3
& & 2 & $ -5 $
end{block}
noalign{vspace{1ex}}
begin{block}{(cc)!{,}(cc)}
11 & 22 & 33 & $x^2+ 1$
25121 & 2 & 3 & $ -5 $
end{block}
end{blockarray}
end{document}
Correct answer by Bernard on December 27, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP