ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug with lmtx and color in table
@ 2020-07-22 15:09 Fabrice Couvreur
  2020-07-22 15:43 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Couvreur @ 2020-07-22 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 813 bytes --]

Hello,
With the latest version of lmtx, the background color of cells does not
work.
Thank you.
Fabrice

\starttext
\startxtable
  [align={middle,lohi}, offset=0.8ex,background=color,
   backgroundcolor=red,frame=off]
          \startxrow
            \startxcell
              \m{\displaystyle\binom{n-1}{k-1}}
            \stopxcell
            \startxcell[width=fit]
              \m{+}
            \stopxcell
            \startxcell
              \m{\displaystyle\binom{n-1}{k}}
            \stopxcell
          \stopxrow
          \startxrow
            \startxcell

            \stopxcell
            \startxcell[width=fit]
              \m{=}
            \stopxcell
            \startxcell
              \m{\displaystyle\binom{n}{k}}
            \stopxcell
          \stopxrow
        \stopxtable
\stoptext

[-- Attachment #1.2: Type: text/html, Size: 1697 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug with lmtx and color in table
  2020-07-22 15:09 Bug with lmtx and color in table Fabrice Couvreur
@ 2020-07-22 15:43 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2020-07-22 15:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur

Fabrice Couvreur schrieb am 22.07.2020 um 17:09:
> Hello,
> With the latest version of lmtx, the background color of cells does not 
> work.

Unrelated to tables.

You can reduce xtable and natural table based examples very often to a 
simple \framed because both tables types inherit many features from it.

\starttext

\startbuffer
\vrule width 4cm height 4cm depth 0pt\relax
\stopbuffer

\typebuffer \getbuffer

\startbuffer
\hrule width 4cm height 4cm depth 0pt\relax
\stopbuffer

\typebuffer \getbuffer

\startbuffer
\frule width 4cm height 4cm type fill\relax
\stopbuffer

\typebuffer \getbuffer

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-22 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 15:09 Bug with lmtx and color in table Fabrice Couvreur
2020-07-22 15:43 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).