ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Placing a symbol at begin of a line when indenting is on
@ 2010-05-18  3:17 Vladimir Lomov
  2010-05-18  7:43 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Lomov @ 2010-05-18  3:17 UTC (permalink / raw)
  To: ConTeXt mailing list

Hi.

Consider the following example
<example file="square_q.ctx">
\usesymbols[nav]
\setupindenting[yes, medium, next]

\starttext

\input tufte

\symbol[navigation 2][CloseDocument]
\input tufte

\input tufte

\stoptext
</example>

In this example the symbol 'CloseDocument' (square) is placed at begin
of a line but it is indented. Is it possible to place the symbol such
that its left edge would be aligned by left edge of the text and the
indenting of following text is not touched?


Thanks in advance, Vladimir

-- 
Sears has everything.
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Placing a symbol at begin of a line when indenting is on
  2010-05-18  3:17 Placing a symbol at begin of a line when indenting is on Vladimir Lomov
@ 2010-05-18  7:43 ` Hans Hagen
  2010-05-18  8:31   ` Vladimir Lomov
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2010-05-18  7:43 UTC (permalink / raw)
  To: Vladimir Lomov, ConTeXt mailing list

On 18-5-2010 5:17, Vladimir Lomov wrote:
> \usesymbols[nav]
> \setupindenting[yes, medium, next]
>
> \starttext
>
> \input tufte
>
> \symbol[navigation 2][CloseDocument]
> \input tufte
>
> \input tufte
>
> \stoptext

\atleftmargin{\symbol[navigation 2][CloseDocument]} \input tufte


-----------------------------------------------------------------
                                           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] 3+ messages in thread

* Re: Placing a symbol at begin of a line when indenting is on
  2010-05-18  7:43 ` Hans Hagen
@ 2010-05-18  8:31   ` Vladimir Lomov
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Lomov @ 2010-05-18  8:31 UTC (permalink / raw)
  To: ConTeXt mailing list

** Hans Hagen [2010-05-18 09:43:54 +0200]:

> On 18-5-2010 5:17, Vladimir Lomov wrote:
>>\usesymbols[nav]
>>\setupindenting[yes, medium, next]

>>\starttext

>>\input tufte

>>\symbol[navigation 2][CloseDocument]
>>\input tufte

>>\input tufte

>>\stoptext

> \atleftmargin{\symbol[navigation 2][CloseDocument]} \input tufte

Thank you. Works as I expected.


-- 
Blessed is he who expects nothing, for he shall never be disappointed.
		-- Alexander Pope
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2010-05-18  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-18  3:17 Placing a symbol at begin of a line when indenting is on Vladimir Lomov
2010-05-18  7:43 ` Hans Hagen
2010-05-18  8:31   ` Vladimir Lomov

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