ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] How to reduce vertical spacing after this table
Date: Sat, 6 Jul 2013 11:26:57 +0200	[thread overview]
Message-ID: <8462F5AA-3445-4705-8A40-FFDF0A4E5B65@gmail.com> (raw)
In-Reply-To: <20130706180937.1596@binki>


Am 06.07.2013 um 11:09 schrieb hwitloc@gmail.com:

> 
> I'Ve been trying dozens of combinations to try to reduce the vertical space between the a table and the local footer to some items in the table, but have just been running into a wall.
> 
> Here is a minimal example.   For my application there is just too much space between the bottom of the table and the footnote.   That is the problem.  Also is there a more elegant way to get the footnote aligned under the table to the left side.  I am using narrower to force it to postion.  This doesn't show up right in the minimal, but it works.
> 
> Help in solving this would be greatly appreciated.
> 
> %----------------
> 
> \defineconversion[fnsym][\m{\dagger},\m{*},\m{**},\m{***}]  % footnote header symbols
> 
> \starttext
> \subject{Subject Name}
>        \blank
>  \startlocalfootnotes   % [conversion=set fnsym]
>  \setupnotation[footnote][numberconversion=fnsym,rule=off] % change footnote symbols
> \midaligned 
>  {
>  \placetable[here,none][]{}
>    {
>    \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none]
>     \starttable[|c|c|c|c|c|c|c|c|c|]
>     \HL
>     \VL X-ITEM \VL  \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL
>                          \VL$\oplus$ \note[hanzi]\VL\VL$\oplus$ \VL \VL$\oplus$  \VL\MR
>     \VL Y-ITEM    \VL  \VL$\oplus$ \VL  \VL$\oplus$ \VL 
>                     \VL$\oplus$ \VL \VL$\oplus$  \VL\MR
>     \HL
>     \stoptable 
>    }
>  }
> \setupnarrower[left=2.5cm]	% to align footnote under the table
> \startnarrower[left]
>   \placelocalfootnotes[here]
> \stopnarrower
> 
>   \stoplocalfootnotes
> \setupnotation[footnote][numberconversion=n,rule=on]  % restore footnotes to global 
> 
> \stoptext

Slightly modified solution I already wrote three hours ago for another thread regarding a similar question:

\defineconversion[fnsym][\m{\dagger},\m{*},\m{**},\m{***}]

\starttext

\subject{Subject Name}

\startplacetable[location={force,none}]
	\startlocalfootnotes \setupnotation[footnote][numberconversion=fnsym]
		\startplacelegend
			\startcontent
				\starttable[|c|c|c|c|c|c|c|c|c|][bodyfont=10pt]
				\HL
				\VL X-ITEM
				\VL
				\VL $\oplus$\footnote[hanzi]{Traditional Characters}
				\VL
				\VL $\oplus$\note[hanzi]
				\VL
				\VL $\oplus$
				\VL
				\VL $\oplus$
				\VL\MR
				\VL Y-ITEM
				\VL
				\VL $\oplus$
				\VL
				\VL$\oplus$
				\VL 
				\VL $\oplus$
				\VL
				\VL $\oplus$
				\VL\MR
				\HL
				\stoptable 
			\stopcontent
			\startcaption
				\placelocalfootnotes
			\stopcaption
		\stopplacelegend
	\stoplocalfootnotes
\stopplacetable

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-07-06  9:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-06  9:09 hwitloc
2013-07-06  9:26 ` Wolfgang Schuster [this message]
2013-07-08 12:06   ` [***SPAM***] " d.henman

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=8462F5AA-3445-4705-8A40-FFDF0A4E5B65@gmail.com \
    --to=schuster.wolfgang@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).