Removing last skip or insert negative space to captions of figures
Hello, Inasmuch as I dont fix the problem with stoppers in MkIV (in MkII is OK) (settings \setupcaption[figure][stopper={*}] and \setuplist[figure][stopper={:}] isnt doesn't work), therefore I want be resolving it throught very beastly way: It is removing last skip (it is remove space after number of figure) from caption of figure or inserting negative space with stoppers to captions of figures by example: \placefigure{\negspacewithstopper Caption 1} {\externalfigure[figure1]} Definition of \negspacewithstopper is: \def\negspacewithstopper{$\!\!\!\!$:\quad } It seem to me, that removing last skip is clearer method, but I dont know, if any like this command exist in context. PlainTeX macro \unskip hasnt effect. Is there any way to removing last skip in Context (MkIV)?? Thankx Jaroslav
On 11-5-2010 7:38, Jaroslav Hajtmar wrote:
Is there any way to removing last skip in Context (MkIV)??
\removeunwantedspaces ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hello Hans. Thanx for quickly respons, but \removeunwantedspaces unfortunately hasnt effect - last space from caption isnt remove. when I do: \placefigure{\removeunwantedspaces : Caption 1} {\externalfigure[figure1]} then result is: Figure 1 : Caption 1 but I want get: Figure 1: Caption 1 with "negative spaces" i.e. \placefigure{$\!\!\!\!$:\quad Caption 1} {\externalfigure[figure1]} is result OK! BUT this method is terrible for me: Thanx Jaroslav Dne 11.5.2010 19:48, Hans Hagen napsal(a):
On 11-5-2010 7:38, Jaroslav Hajtmar wrote:
Is there any way to removing last skip in Context (MkIV)??
\removeunwantedspaces
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, May 11 2010, Jaroslav Hajtmar wrote:
\placefigure{$\!\!\!\!$:\quad Caption 1} {\externalfigure[figure1]}
is result OK! BUT this method is terrible for me:
Better method: \setupcaptions[distance=0pt] \starttext \placefigure{: Caption}{bla} \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Thanx, it is well gracefull resolution - have not influence to content list of figures. Jaroslav Dne 11.5.2010 21:07, Peter Münster napsal(a):
On Tue, May 11 2010, Jaroslav Hajtmar wrote:
\placefigure{$\!\!\!\!$:\quad Caption 1} {\externalfigure[figure1]}
is result OK! BUT this method is terrible for me:
Better method:
\setupcaptions[distance=0pt] \starttext \placefigure{: Caption}{bla} \stoptext
Cheers, Peter
participants (3)
-
Hans Hagen
-
Jaroslav Hajtmar
-
Peter Münster