ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan Pohanka" <xhpohanka@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: alignment in a footer
Date: Thu, 31 May 2012 08:55:28 +0200	[thread overview]
Message-ID: <op.we5uuqwryxxkfz@pohanka-pc> (raw)
In-Reply-To: <D6CA3E4F-6F66-45AA-ABFB-3B44255041F6@boede.nl>

Thank you for answer,
I have discovered, that \tbox does the job for me.

\startoverlay
	{\leftaligned{nazev}}
	{\midaligned{\pagenumber /\totalnumberofpages}}
	{\rightaligned{\tbox{\externalfigure[jc_logo_small][width=4cm]}}}
\stopoverlay

regards
Jan

Dne Wed, 30 May 2012 17:21:07 +0200 Willi Egger <context@boede.nl>  
napsal(a):

> In such cases I define a layer and put the individual pieces into the  
> right spot. The layer can be used as a background then.
>
> Willi
>
>
>
> On May 30, 2012, at 2:19 PM, Jan Pohanka wrote:
>
>> Hello,
>> I'm making a template for company documents and we need to have  
>> something similar in the footer
>>
>> \framed[frame=off,bottomframe=on,width=broad,align=flushleft]{\ss No  
>> part of this document may be reproduced, modified or disclosed to third  
>> parties in any form without the prior written permission of COMPANY.  
>> This document is copyrighted by COMPANY with all rights reserved.}
>> \startoverlay
>> 	{\leftaligned{title}}
>> 	{\midaligned{1/1}}
>> 	{\rightaligned{\externalfigure[jc_logo_small][width=4cm]}}
>> \stopoverlay
>>
>> Unfortunately I have two problems with code above. I need to have the  
>> text and figure in overlay top aligned and also the text in the frame  
>> should have the exactly same width as the overlay.
>> How can I achieve this please?
>>
>> best regards
>> Jan
>>
>> --
>> Tato zpráva byla vytvořena převratnou poštovní aplikací Opery:  
>> http://www.opera.com/mail/
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


-- 
Tato zpráva byla vytvořena převratnou poštovní aplikací Opery:  
http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2012-05-31  6:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30 12:19 Jan Pohanka
2012-05-30 15:21 ` Willi Egger
2012-05-31  6:55   ` Jan Pohanka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.we5uuqwryxxkfz@pohanka-pc \
    --to=xhpohanka@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).