Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Hans Hagen
andrea valle wrote: Hi to all, Sorry if it's obvious. I'm preparing some slides and I'd like to have a figure in the middle of the slide. With \placefigure I place it center-justified horizontally. How can I force to be in the center of the text? you mean middle of a page of its own?

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread andrea valle
Yes, a page for me represents a slide. So I want to have a figure centered in the slide: | -- figure -- | Thanks -a- On 19 Jun 2006, at 12:21, Hans Hagen wrote: andrea valle wrote: Hi to all, Sorry if it's obvious. I'm preparing some slides and I'd like to have a

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Aditya Mahajan
On Mon, 19 Jun 2006, andrea valle wrote: Yes, a page for me represents a slide. So I want to have a figure centered in the slide: | -- figure -- | This is what I do for my slides \startslide \vfill \externalfigure[name][width=\textwidth] \vfill \stopslide where I have

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread andrea valle
Thanks for the suggestion. But it's after using \vfill that I decided to write to the list. I had this code, which resembles your one: \vfill {\externalfigure[oggettiSonori/tipologia/spaziotipo][width=\textwidth] } \vfill \page here's the output

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Hans Hagen
andrea valle wrote: Thanks for the suggestion. But it's after using \vfill that I decided to write to the list. I had this code, which resembles your one: \vfill {\externalfigure[oggettiSonori/tipologia/spaziotipo][width=\textwidth] } \vfill \page here's the output

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Thomas A. Schmitz
On Mon, 2006-06-19 at 17:36 +0200, andrea valle wrote: Thanks for the suggestion. But it's after using \vfill that I decided to write to the list. I had this code, which resembles your one: \vfill {\externalfigure[oggettiSonori/tipologia/spaziotipo][width=\textwidth] } \vfill \page

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread andrea valle
Thanks Thomas, it works nice. I still have not understood: what does \strut mean? Best -a- On 19 Jun 2006, at 17:45, Thomas A. Schmitz wrote: On Mon, 2006-06-19 at 17:36 +0200, andrea valle wrote: Thanks for the suggestion. But it's after using \vfill that I decided to write to the list. I

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Thomas A. Schmitz
Andrea, I'm not a real expert, but what I've understood: \strut is an invisible character with no width but the maximum lineheight (cont-eni, p. 72). TeX discards glue such as \vfill or \hfill at the beginning of horizontal or vertical boxes, so you have to fool it into believing there is

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Hans van der Meer
A strut is something with height and depth which is not really what you want, because it takes some vertical space away. Ususally what I use is a TeX primitive \null that typesets an empty box; I don't think its typesetting will differ significantly from typesetting a strut: \page \null

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread andrea valle
Thanks to all. (Thomas, I keep on customizing the presentation template you sent me one year ago...) -a- On 19 Jun 2006, at 17:40, Hans Hagen wrote: andrea valle wrote: Thanks for the suggestion. But it's after using \vfill that I decided to write to the list. I had this code, which

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Hans Hagen
Hans van der Meer wrote: A strut is something with height and depth which is not really what you want, because it takes some vertical space away. Ususally what I use is a TeX primitive \null that typesets an empty box; I don't think its typesetting will differ significantly from

Re: [NTG-context] figure in the middle of the page

2006-06-19 Thread Hans Hagen
Hans van der Meer wrote: A strut is something with height and depth which is not really what you want, because it takes some vertical space away. in addition to this: using \showstruts will make struts visible -