I haven't tried it personally, but this looks like it could be a good start:
https://tex.stackexchange.com/questions/18600/expandable-nested-boxes-with-tikz
which refers to:
https://tikz.dev/library-shapes#sec-71.6

Otherwise, if he prefers manually making drawings for use in LaTeX, I have
had very good experience with XFig. The interface looks like coming from
the stone-age, but it does a good job, and exports to LaTeX-compatible
files.

I also remember using IPE for LaTeX grapics at a certain point:
https://ipe.otfried.org/

Good luck!
Jan-Pieter

On Wed, 13 Jul 2022, 20:27 Henry Rich, <[email protected]> wrote:

> Viktor Grigorov is working on a new J Reference card, with a little
> advice from me.  He is using LaTeX. We would like to create displays of
> boxed nouns that look like what J produces:
>
>     < 2;<1 2
> +-------+
> |+-+---+|
> ||2|1 2||
> |+-+---+|
> +-------+
>     2 ; <<1 2  NB. display fudged to center the first box vertically
> +-+-----+
> | |+---+|
> |2||1 2||
> | |+---+|
> +-+-----+
>     a:,<1 2
> ++---+
> ||1 2|
> ++---+
>
> The display should use solid lines for the borders, not + - and |.
>
> We are having trouble lining up the boxes just right.  Can someone post
> LaTeX snippets to format those properly?
>
> Henry Rich
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to