[NTG-context] Some questions about an extreme table

Fabrice Couvreur fabrice1.couvreur at gmail.com
Mon Aug 27 00:02:46 CEST 2018


Hello,
Thank you for your suggestions.
Fabrice

Le dim. 26 août 2018 à 15:19, Aditya Mahajan <adityam at umich.edu> a écrit :

> On Sun, 26 Aug 2018, Wolfgang Schuster wrote:
>
> > The normal alignment of figures is with the bottom of the figure on the
> > baseline.
> >
> > You can control the vertical alignment with a few box commands but what
> you
> > should use depends on the context, in tables I would use 2 while in
> running
> > text 3 can be better. Which alignment you’re using is your choice.
> >
> >
> > \useMPlibrary[dum]
> >
> > \defineexternalfigure[dummy][width=4cm,height=3cm]
> >
> > \setuplayout[grid=yes]
> >
> > \showgrid
> >
> > \starttext
> >
> > Default: \externalfigure[dummy]
> >
> > %1: \bottomrightbox{\externalfigure[dummy]}\quad
> > 1: \aligned[bottom,right]{\externalfigure[dummy]}\quad
> > 2: \tbox{\externalfigure[dummy]}\quad
> > 3: \bbox{\externalfigure[dummy]}
> >
> > \stoptext
>
> Another option is to use the `location` key for `\externalfigure`:
>
>
> \useMPlibrary[dum]
> \defineexternalfigure[dummy][width=4cm,height=3cm]
> \setuplayout[grid=yes]
>
> \showgrid
>
> \starttext
>
> Default: \externalfigure[dummy]
>
> 1: \externalfigure[dummy][location=top]\quad
> 2: \tbox{\externalfigure[dummy]}
>
> \stoptext
>
>
> Aditya___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180827/c333aff9/attachment.html>


More information about the ntg-context mailing list