ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Alignment problem in a table
Date: Tue, 22 Aug 2017 15:37:04 +0200	[thread overview]
Message-ID: <CACyK-eqq1NoEvH5m-ugs5b0Jbehwwik_KGFvYSyL8yZnz-=mVA@mail.gmail.com> (raw)


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

Hello,
How to align the text of the seventh line to the left ?
Thanks
Fabrice

\unexpanded\def\pcent#1{\math{#1\,\%}}

\startsetups  [table:one]
   \setupTABLE[start][align={middle,lohi},width=2.2cm,offset=0.8ex]
   \setupTABLE[column][first][width=2.5cm,align={right}]
   \setupTABLE[1][1][frame=off]
   \setupTABLE[row][7][frame=off,align={left}]
\stopsetups

\starttext
  \startmidaligned
  \bTABLE[setups=table:one]
    \bTR
    \bTD           \eTD
    \bTD 2010      \eTD
    \bTD 2011      \eTD
    \bTD 2012      \eTD
    \bTD 2011/2010 \eTD
    \bTD 2012/2011 \eTD
    \eTR
    \bTR
    \bTD Rhône          \eTD
    \bTD 61\,633        \eTD
    \bTD 69\,637        \eTD
    \bTD 77\,314        \eTD
    \bTD \pcent{+13,0}  \eTD
    \bTD \pcent{+11,0}  \eTD
    \eTR
    \bTR
    \bTD Seine           \eTD
    \bTD 195\,467        \eTD
    \bTD 237\,400        \eTD
    \bTD 241\,004        \eTD
    \bTD \pcent{+21,5}   \eTD
    \bTD \pcent{+5,7}    \eTD
    \eTR
    \bTR
    \bTD Nord            \eTD
    \bTD 50\,483         \eTD
    \bTD 68\,145         \eTD
    \bTD 67\,835         \eTD
    \bTD \pcent{+35,0}   \eTD
    \bTD \pcent{-0,5}    \eTD
    \eTR
    \bTR
    \bTD Rhin            \eTD
    \bTD 182\,478        \eTD
    \bTD 156\,818        \eTD
    \bTD 164\,017        \eTD
    \bTD \pcent{-14,1}   \eTD
    \bTD \pcent{+4,6}    \eTD
    \eTR
    \bTR
    \bTH Total           \eTH
    \bTH 490\,061        \eTH
    \bTH 532\,000        \eTH
    \bTH 560\,170        \eTH
    \bTH \pcent{+8,6}    \eTH
    \bTH \pcent{+5,3}    \eTH
    \eTR
    \bTR
    \bTD [nc=4] \tfx\bf Source : Voies navigables de France (VNF)\eTD
    \eTR
  \eTABLE
  \stopmidaligned

 \stoptext

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

[-- Attachment #2: Type: text/plain, Size: 492 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
___________________________________________________________________________________

             reply	other threads:[~2017-08-22 13:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 13:37 Fabrice Couvreur [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-19 13:19 alignment " Fabrice Couvreur
2016-07-19 15:02 ` Wolfgang Schuster
2016-07-19 15:04 ` Alan BRASLAU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACyK-eqq1NoEvH5m-ugs5b0Jbehwwik_KGFvYSyL8yZnz-=mVA@mail.gmail.com' \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).