Re: Help reproducing this matrix in TeXmacs

Giovanni Piredda <[email protected]> Thu, 1 May 2025 13:30:19 +0000
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
I think that the critical thing is to insert  a subtable inside a table. 
After you know how to do that: in the table Basile attached to his 
message there are a few subtables. The table is so composed (please 
Basile correct possible mistakes):

- overall, four cells: two rows of two cells each

- a subtable in the top right cell, made up of one row

- a subtable in the bottom left cell, made up of three rows, one cell in 
each row

- a 3x3 subtable in the bottom right cell, enclosed in brackets

Once you have this design down, we can then get into the spacing and 
alignment.

G.



On 30/04/25 04:05, Eduardo M M Mendes wrote:
> Thanks you!   Unfortunately I did not figure out how you built the 
> table.  Would you be so kind to write down the steps on how to do it?
>
> Ed
>
>> On 29 Apr 2025, at 14:53, Basile Audoly <[email protected]> wrote:
>>
>> I agree that being able to label rows and column would be nice. Here 
>> is the best (not perfect) solution I have found so far.
>>
>> <tables-with-labels.tm>
>>
>> <Capture d’écran 2025-04-29 à 10.49.17.png>
>> I have forced the width of all cells to 3em.
>>
>> If the different rows have different heights (say because some rows 
>> include fractions and some don’t), you could alternatively use 
>> <vphantom|> to force the height of label to match the height of the 
>> tallest box on the same row.
>>
>> Basile.
>>
>>
>>> Le 29 avr. 2025 à 06:55, Giovanni Piredda <[email protected]> a écrit :
>>>
>>> Hi Eduardo,
>>>
>>> a start might be inserting tables inside a table, so that you may 
>>> frame the rectangular inner table with brackets and have a row 
>>> matrix and a column matrix on its sides. I do not see, however, how 
>>> to make sure that the inner matrix stays aligned with the ones on 
>>> the sides.
>>>
>>> G.
>>>
>>> Am 29.04.2025 um 15:01 schrieb Eduardo M M Mendes:
>>>>
>>>> Hi
>>>>
>>>> I'm trying to recreate the matrix shown in the attached image using 
>>>> *LaTeX* and also *TeXmacs*, but I'm having some trouble — 
>>>> especially on how to get the matrix notation.
>>>>
>>>> Do you have any tips or could you point me in the right direction 
>>>> on how to do this?
>>>>
>>>> Thanks a lot in advance!
>>>>
>>>> Best,
>>>>
>>>> Ed
>>>>
>>>> <PastedGraphic-1.png>
>>
>