Hello ConTeXist, For some reason I need to use \placefigure environment in such a way that no space are before and after this environment (eg space for image caption under image). I want to hit as a result of using \externalfigure separately only. Can this be arranged? I tried \removelastskip, \removeunwantedspaces etc, but without success. Thanks Jaroslav. Here is my example ... \starttext \input knuth % here is no blank in PDF document \externalfigure[cow] % here is no blank in PDF document \input knuth % <- Here is blank before image and I can remove it, so it was like in the previous example \placefigure[here]{none}{\externalfigure[cow]} % <- Here is blank under image (for caption of figure) and I can remove it, so it was like in the previous example \input tufte \stoptext
On Tue, Dec 07 2010, Jaroslav Hajtmar wrote:
For some reason I need to use \placefigure environment in such a way that no space are before and after this environment (eg space for image caption under image).
\setupfloats[spacebefore=none, spaceafter=none] \starttext \input knuth \placefigure[here, none]{}{\externalfigure[cow]} \input tufte \stoptext Peter -- Contact information: http://pmrb.free.fr/contact/
Great. How easy!!! It works very well now! I have gaps in basic knowledges ... Thanx very much to Peter !!! Jaroslav Hajtmar Dne 7.12.2010 13:09, Peter Münster napsal(a):
\setupfloats[spacebefore=none, spaceafter=none] \starttext \input knuth \placefigure[here, none]{}{\externalfigure[cow]} \input tufte \stoptext
Peter
\setupknowledge[gaps=none] ;) Joh Jaroslav Hajtmar wrote:
Great. How easy!!! It works very well now! I have gaps in basic knowledges ...
Thanx very much to Peter !!!
Jaroslav Hajtmar
Dne 7.12.2010 13:09, Peter Münster napsal(a):
\setupfloats[spacebefore=none, spaceafter=none] \starttext \input knuth \placefigure[here, none]{}{\externalfigure[cow]} \input tufte \stoptext
Peter
___________________________________________________________________________________
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
___________________________________________________________________________________
participants (3)
-
Jaroslav Hajtmar
-
Johannes Graumann
-
Peter Münster