Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Willi Egger
My first idea would be to place the photo in a layer in the background.

Willi
On 3 Aug 2011, at 09:52, Cecil Westerhof wrote:

 I am converting my CV to ConTeXt. Simplified I have the folowing in it:
 \startfiguretext[right]{none}{\externalfigure[graphics/pasfotoKlein]}
   \startalignment[center]
 E-mail: ce...@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
   \stopalignment
 \stopfiguretext
 
 This centers the text on the space leftover after placing my photo. But I 
 would like the text to be centered on the width of the page, without taking 
 into consideration the space the photo takes up. How would I do that?
 
 -- 
 Cecil Westerhof
 ___
 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
___


Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Wolfgang Schuster

Am 03.08.2011 um 19:15 schrieb Cecil Westerhof:

 2011/8/3 Wolfgang Schuster schuster.wolfg...@googlemail.com
 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]
 
 Almost there. ;-}
 
 The placement is okay, but now the picture is on every page instead of only 
 the first one.

Add “\setupbackgrounds[state=repeat]”.

Wolfgang___
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
___

[NTG-context] \startfiguretext question

2006-08-18 Thread Tobias Burnus
Hello,

I'd like to use \startfiguretext together with \startcolumnset. If I
outcomment \startcolumnset, it works ok, otherwise the figure is no
longer left aligned and there is a big gap between the figure and the text.

Any idea?

Tobias


\setupcolors[state=start]
\setupbackgrounds[page][background=color,backgroundcolor=gray]
\definecolumnset[poster][n=2]
\setupcolumnset[poster][each][background=color,backgroundcolor=white]

\showframe
\starttext
\startcolumnset[poster]

\startfiguretext[left][]{none}
{\externalfigure[foo][width=2.5cm]}{str}
\stopfiguretext

\stopcolumnset
\stoptext

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \startfiguretext question

2006-08-18 Thread Taco Hoekwater

Hi Tobias,

I did not miss your message but I have no time for anything except
trivial questions at the momen, sorry.  Taco

Tobias Burnus wrote:
 Hello,
 
 I'd like to use \startfiguretext together with \startcolumnset. If I
 outcomment \startcolumnset, it works ok, otherwise the figure is no
 longer left aligned and there is a big gap between the figure and the text.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \startfiguretext question

2006-08-17 Thread Tobias Burnus
Hello,

I'd like to use \startfiguretext together with \startcolumnset. If I
outcomment \startcolumnset, it works ok, otherwise the figure is no
longer left aligned and there is a big gap between the figure and the text.

Any idea?

Tobias


\setupcolors[state=start]
\setupbackgrounds[page][background=color,backgroundcolor=gray]
\definecolumnset[poster][n=2]
\setupcolumnset[poster][each][background=color,backgroundcolor=white]

\showframe
\starttext
\startcolumnset[poster]

\startfiguretext[left][]{none}
{\externalfigure[foo][width=2.5cm]}{str}
\stopfiguretext

\stopcolumnset
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-13 Thread Hans Hagen
Nikolai Weibull wrote:
ik, let's give you a cue:

I don't understand...is that an ik, as in I disapprove?
no, a typo: ik = ok
Hans
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-12 Thread Nikolai Weibull
* h h extern [EMAIL PROTECTED] [Dec 11, 2004 14:05]:
 It might not be the only way, this should work:
 
 \placefigure
  [here]
  [fig:somelabel]
  {Caption}
  \placelegend{Figure}
  {Text}

 Hm, yeah, that works OK.  I was hoping for something that made a little

 ik, let's give you a cue:

I don't understand...is that an ik, as in I disapprove?

 \placefigure
   {What a caption}
   {\placelegend
  {\externalfigure[cow.pdf]}
  {\input zapf \relax}}
 
 \placefigure
   {What a caption}
   {\placelegend[location=right]
  {\externalfigure[cow.pdf]}
  {\input zapf \relax}}

 using buffers makes sense here:

 \startbuffer
 lots of text
 \stopbuffer
 
 \placefigure
   {What a caption}
   {\placelegend
  {\externalfigure[cow.pdf]}
  {\getbuffer}}

Yeah, that's a good suggestion,
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-10 Thread h h extern
Nikolai Weibull wrote:
* David Munger [EMAIL PROTECTED] [Dec 09, 2004 17:10]:
It might not be the only way, this should work:
\placefigure
 [here]
 [fig:somelabel]
 {Caption}
 \placelegend{Figure}
 {Text}

Hm, yeah, that works OK.  I was hoping for something that made a little
ik, let's give you a cue:
\placefigure
  {What a caption}
  {\placelegend
 {\externalfigure[cow.pdf]}
 {\input zapf \relax}}
\placefigure
  {What a caption}
  {\placelegend[location=right]
 {\externalfigure[cow.pdf]}
 {\input zapf \relax}}
using buffers makes sense here:
\startbuffer
lots of text
\stopbuffer
\placefigure
  {What a caption}
  {\placelegend
 {\externalfigure[cow.pdf]}
 {\getbuffer}}
Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-09 Thread Nikolai Weibull
How do I get a figure with text that is displayed like

Figure
Text
Caption

where we first have the figure, then a description of it below, and
finally a caption?  So far I've only managed to get the text to appear
to the left or right of the figure.
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-09 Thread David Munger
Hi NIkolai,

It might not be the only way, this should work:

\placefigure
  [here]
  [fig:somelabel]
  {Caption}
  \placelegend{Figure}
  {Text}


Nikolai Weibull wrote :
 How do I get a figure with text that is displayed like
 
   Figure
   Text
   Caption
 
 where we first have the figure, then a description of it below, and
 finally a caption?  So far I've only managed to get the text to appear
 to the left or right of the figure.
   nikolai
 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-09 Thread Nikolai Weibull
* David Munger [EMAIL PROTECTED] [Dec 09, 2004 17:10]:
 It might not be the only way, this should work:
 
 \placefigure
   [here]
   [fig:somelabel]
   {Caption}
   \placelegend{Figure}
   {Text}

Hm, yeah, that works OK.  I was hoping for something that made a little
more sense, but this seems to be fine.  I'm still hoping for a slightly
more pleasant solution, but until then, is there a way to set the style
of Text?  There's bodyfont, but how do I get \it?
nikolai

-- 
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context