ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Removing last skip or insert negative space to captions of figures
@ 2010-05-11 17:38 Jaroslav Hajtmar
  2010-05-11 17:48 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Hajtmar @ 2010-05-11 17:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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





___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Removing last skip or insert negative space to captions of figures
  2010-05-11 17:38 Removing last skip or insert negative space to captions of figures Jaroslav Hajtmar
@ 2010-05-11 17:48 ` Hans Hagen
  2010-05-11 18:05   ` Jaroslav Hajtmar
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2010-05-11 17:48 UTC (permalink / raw)
  To: hajtmar, mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Removing last skip or insert negative space to captions of figures
  2010-05-11 17:48 ` Hans Hagen
@ 2010-05-11 18:05   ` Jaroslav Hajtmar
  2010-05-11 19:07     ` Peter Münster
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Hajtmar @ 2010-05-11 18:05 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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
> -----------------------------------------------------------------
>

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Removing last skip or insert negative space to captions of figures
  2010-05-11 18:05   ` Jaroslav Hajtmar
@ 2010-05-11 19:07     ` Peter Münster
  2010-05-11 19:25       ` Jaroslav Hajtmar
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2010-05-11 19:07 UTC (permalink / raw)
  To: hajtmar, mailing list for ConTeXt users

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/


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Removing last skip or insert negative space to captions of figures
  2010-05-11 19:07     ` Peter Münster
@ 2010-05-11 19:25       ` Jaroslav Hajtmar
  0 siblings, 0 replies; 5+ messages in thread
From: Jaroslav Hajtmar @ 2010-05-11 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
>
>    

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-11 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-11 17:38 Removing last skip or insert negative space to captions of figures Jaroslav Hajtmar
2010-05-11 17:48 ` Hans Hagen
2010-05-11 18:05   ` Jaroslav Hajtmar
2010-05-11 19:07     ` Peter Münster
2010-05-11 19:25       ` Jaroslav Hajtmar

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).