ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Centering text on the width of the page when using \startfiguretext
Date: Wed, 3 Aug 2011 18:49:06 +0200	[thread overview]
Message-ID: <12B5DC22-3BF3-4EB5-B19C-09F511349D6E@googlemail.com> (raw)
In-Reply-To: <CAG-LmmBCU3CrA4_N0X_QNYviUWoE8Z36hs9xbu75gba1WmMUgg@mail.gmail.com>


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


Am 03.08.2011 um 18:42 schrieb Cecil Westerhof:

> 2011/8/3 Willi Egger <w.egger@boede.nl>
> My first idea would be to place the photo in a layer in the background.
> 
> I tried the following:
> \definelayer[picture][
>   preset=righttop,
> ]
> 
> \setlayer[picture]{\externalfigure[graphics/pasfotoKlein]}
> 
> \setupbackgrounds[page][rightedge][background=picture]
> 
> Whatever I do, the picture keeps in the top left corner of the page. I would like to have the right side of the picture aligned with the right margin. Is this possible? 

\definelayer[picture][preset=righttop,width=\textwidth]

\setlayer[picture]{\externalfigure[mill][width=4cm]}

\setupbackgrounds[text][text][background=picture]

\starttext

\startlines[align=middle]
E-mail: cecil@decebal.nl
Woonplaats: Werkhoven
Geboren: 15 april 1963 te Belleville Ontario (Can.)
Nationaliteit: Nederlandse, tevens Canadese
Geslacht: Man
Burgerlijke staat: ongehuwd
LinkedIn profiel: http://www.linkedin.com/in/cecilwesterhof
\stoplines

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1845 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
___________________________________________________________________________________

  reply	other threads:[~2011-08-03 16:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03  7:52 Cecil Westerhof
2011-08-03 15:11 ` Willi Egger
2011-08-03 16:15   ` Wolfgang Schuster
2011-08-03 16:42   ` Cecil Westerhof
2011-08-03 16:49     ` Wolfgang Schuster [this message]
2011-08-03 17:15       ` Cecil Westerhof
2011-08-03 17:32         ` Wolfgang Schuster
2011-08-03 17:42           ` Cecil Westerhof
2011-08-04  6:22             ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-08-04  8:36               ` Cecil Westerhof
2011-08-03 16:17 ` Wolfgang Schuster
2011-08-03 16:35   ` Cecil Westerhof

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=12B5DC22-3BF3-4EB5-B19C-09F511349D6E@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).