ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Page Header Text with Two Lines
@ 2012-03-07 16:48 Emmanuel Asante
  2012-03-07 16:58 ` Marco
  0 siblings, 1 reply; 3+ messages in thread
From: Emmanuel Asante @ 2012-03-07 16:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 234 bytes --]

Hi All,

I tried to setup a page header with two lines using a command like this:

   \setupheadertexts[Left Text][Right Text 1. \crlf  Right Text 2]

but the \crlf command gets ignored. How do I achieve this?

Best regards,
Emmanuel

[-- Attachment #1.2: Type: text/html, Size: 343 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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: Page Header Text with Two Lines
  2012-03-07 16:48 Page Header Text with Two Lines Emmanuel Asante
@ 2012-03-07 16:58 ` Marco
  2012-03-07 17:06   ` Emmanuel Asante
  0 siblings, 1 reply; 3+ messages in thread
From: Marco @ 2012-03-07 16:58 UTC (permalink / raw)
  To: ntg-context

On 2012-03-07 Emmanuel Asante <emmanuela.asante@gmail.com> wrote:

> I tried to setup a page header with two lines using a command like this:
> 
>    \setupheadertexts[Left Text][Right Text 1. \crlf  Right Text 2]
> 
> but the \crlf command gets ignored. How do I achieve this?


\setupheadertexts [Left Text] [\setups{header:right}]

\startsetups header:right
	\framed [align=broad,frame=off]
		{Right Text 1. \\  Right Text 2}
\stopsetups

\starttext
	Foo Bar
\stoptext


Marco


___________________________________________________________________________________
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: Page Header Text with Two Lines
  2012-03-07 16:58 ` Marco
@ 2012-03-07 17:06   ` Emmanuel Asante
  0 siblings, 0 replies; 3+ messages in thread
From: Emmanuel Asante @ 2012-03-07 17:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1170 bytes --]

On Wed, Mar 7, 2012 at 9:58 AM, Marco <netuse@lavabit.com> wrote:

> On 2012-03-07 Emmanuel Asante <emmanuela.asante@gmail.com> wrote:
>
> > I tried to setup a page header with two lines using a command like this:
> >
> >    \setupheadertexts[Left Text][Right Text 1. \crlf  Right Text 2]
> >
> > but the \crlf command gets ignored. How do I achieve this?
>
>
> \setupheadertexts [Left Text] [\setups{header:right}]
>
> \startsetups header:right
>        \framed [align=broad,frame=off]
>                {Right Text 1. \\  Right Text 2}
> \stopsetups
>
> \starttext
>        Foo Bar
> \stoptext
>
>
> Marco
>
>

Thanks, Marco, for the solution. It works.


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

[-- Attachment #1.2: Type: text/html, Size: 2111 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2012-03-07 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-07 16:48 Page Header Text with Two Lines Emmanuel Asante
2012-03-07 16:58 ` Marco
2012-03-07 17:06   ` Emmanuel Asante

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