alignment in a footer
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/
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 ___________________________________________________________________________________
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
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/
participants (2)
-
Jan Pohanka
-
Willi Egger