![](https://secure.gravatar.com/avatar/c8215d393fc524974c25ac26da0a5eb9.jpg?s=120&d=mm&r=g)
Sorry
I still have a problem with \startfiguretext .... \stopfiguretext.
There ist no \setupfiguretext nor \setupfloattext to enter the align=....
keypairs. Where must I enter "align={normal,hanging,hz,stretch}" to make
the text around these figures aligned like the rest of the document?
Thanks
Christian
PS.: My minimal (not) working example:
\definefontfeature[default][default][expansion=quality,protrusion=quality]
%\setup?figure?text[align={normal,hanging,hz,stretch}]
\setupalign[hz,hanging,stretch]
\showframe
\starttext
Correct Text
\input knuth
\startfiguretext[right,none]{}{\externalfigure[cow][width=0.5\textwidth]}
Wrong alignment!
\input knuth
\stopfiguretext
\stoptext
2013/8/30 Christian Prim
Thanks Wolfgang! Now everything is clear and fine.
Christian
2013/8/30 Wolfgang Schuster
Am 30.08.2013 um 17:55 schrieb Christian Prim
: Thanks Wolfgang
I have tested it (on new beta) but the alignment is still wrong in the tabulate-environment. It's correct in the framedtext-environment, but tolerance is still missing, so that a line is still too long.
My new questions: - What about tolerance? Where must I add the keys?
The \setupalign command does also accepts “tolerant”, “verytolerant” and “stretch” as keyword which means you don’t need the \setuptolerance command. This is important because the value of the align key is passed to the \setupalign command.
- What about tabulate-environment?
I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the default tabulation environment, only local changes are possible, e.g.
\starttabulate[|l|pA{normal,hanging,hz,stretch}|] \NC align/tolerance not working \NC \input knuth \NC\NR \NC align/tolerance working \NC \input knuth \NC\NR \stoptabulate
When you want a different default alignment you have to create your own tabulation environment with the \definetabulate command.
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
___________________________________________________________________________________