Re: TOC problems

2011-04-12 Thread Richard Heck

On 04/11/2011 10:58 PM, Richard Opheim wrote:

Hello LyX users.
I'm using LyX 1.6 to lay out a document in memoir class.
I'm having problems with my TOC as follows:
1. The font size of the chapter names is too large. I want to specify 
normalsize.
2. I can't seem to get a leader between the chapter names and page 
numbers.

Section 9.2 of the memoir manual explains how to customize such things.

rh



Re: TOC problems

2011-04-12 Thread Richard Heck

On 04/11/2011 10:58 PM, Richard Opheim wrote:

Hello LyX users.
I'm using LyX 1.6 to lay out a document in memoir class.
I'm having problems with my TOC as follows:
1. The font size of the chapter names is too large. I want to specify 
normalsize.
2. I can't seem to get a leader between the chapter names and page 
numbers.

Section 9.2 of the memoir manual explains how to customize such things.

rh



Re: TOC problems

2011-04-12 Thread Richard Heck

On 04/11/2011 10:58 PM, Richard Opheim wrote:

Hello LyX users.
I'm using LyX 1.6 to lay out a document in memoir class.
I'm having problems with my TOC as follows:
1. The font size of the chapter names is too large. I want to specify 
"normalsize."
2. I can't seem to get a leader between the chapter names and page 
numbers.

Section 9.2 of the memoir manual explains how to customize such things.

rh



TOC problems

2011-04-11 Thread Richard Opheim
Hello LyX users.
I'm using LyX 1.6 to lay out a document in memoir class.
I'm having problems with my TOC as follows:
1. The font size of the chapter names is too large. I want to specify
normalsize.
2. I can't seem to get a leader between the chapter names and page numbers.

Richard Opheim


TOC problems

2011-04-11 Thread Richard Opheim
Hello LyX users.
I'm using LyX 1.6 to lay out a document in memoir class.
I'm having problems with my TOC as follows:
1. The font size of the chapter names is too large. I want to specify
normalsize.
2. I can't seem to get a leader between the chapter names and page numbers.

Richard Opheim


TOC problems

2011-04-11 Thread Richard Opheim
Hello LyX users.
I'm using LyX 1.6 to lay out a document in memoir class.
I'm having problems with my TOC as follows:
1. The font size of the chapter names is too large. I want to specify
"normalsize."
2. I can't seem to get a leader between the chapter names and page numbers.

Richard Opheim


Re: TOC problems

2003-10-16 Thread Gordon Wells
Hi

Can help with some of this.

After inserting the toc try these erts:
\renewcommand\thepage{\arabic{page}}
\setcounter{page}{4}

So far I've only managed to alter which pages are numbered in the class file 
I'm using.

As for underlining in the toc, no idea I'm afraid.

Hope this helps

On Thursday, 16 October 2003 00:22, Bradley Navarro wrote:
 Hello,

 I am having two problems and cannot find solutions to them:

 1) I need the first page of the TOC to not show a page number, but the
 counter started at number vi. But I need the second page of the TOC to
 show the next page number. So for example my TOC begins on page vi and
 the second page is on page vii. But I don't want the first page to show
 the page number.

 2) I have my sections underlined. Upon completing this task, I found
 that the TOC also underlines the sections, when what I need is for them
 not to be underlined in the TOC.

 For reference I am using the report class in lyx 1.3.3.

 Any help would be much appreciated.

 Brad


Gordon Wells
Department of Biochemistry
University of Pretoria



Re: TOC problems

2003-10-16 Thread Gordon Wells
On Thursday, 16 October 2003 09:00, Gordon Wells wrote:
 Hi

 Can help with some of this.

 After inserting the toc try these erts:
 \renewcommand\thepage{\arabic{page}}
Sorry should be: renewcommand\thepage{\roman{page}}
 \setcounter{page}{4}

 So far I've only managed to alter which pages are numbered in the class
 file I'm using.

 As for underlining in the toc, no idea I'm afraid.

 Hope this helps

 On Thursday, 16 October 2003 00:22, Bradley Navarro wrote:
  Hello,
 
  I am having two problems and cannot find solutions to them:
 
  1) I need the first page of the TOC to not show a page number, but the
  counter started at number vi. But I need the second page of the TOC to
  show the next page number. So for example my TOC begins on page vi and
  the second page is on page vii. But I don't want the first page to show
  the page number.
 
  2) I have my sections underlined. Upon completing this task, I found
  that the TOC also underlines the sections, when what I need is for them
  not to be underlined in the TOC.
 
  For reference I am using the report class in lyx 1.3.3.
 
  Any help would be much appreciated.
 
  Brad

 Gordon Wells
 Department of Biochemistry
 University of Pretoria

-- 
--
 |\  /---\| 
 | -/   o \ \\/  __/
 | -\ \__-/__|__/
 |/  \---/   _/_\__/
   |_ |_ ___/
~~~
Gordon Wells
Department of Biochemistry
University of Pretoria



Re: TOC problems

2003-10-16 Thread Gordon Wells
Hi

Can help with some of this.

After inserting the toc try these erts:
\renewcommand\thepage{\arabic{page}}
\setcounter{page}{4}

So far I've only managed to alter which pages are numbered in the class file 
I'm using.

As for underlining in the toc, no idea I'm afraid.

Hope this helps

On Thursday, 16 October 2003 00:22, Bradley Navarro wrote:
 Hello,

 I am having two problems and cannot find solutions to them:

 1) I need the first page of the TOC to not show a page number, but the
 counter started at number vi. But I need the second page of the TOC to
 show the next page number. So for example my TOC begins on page vi and
 the second page is on page vii. But I don't want the first page to show
 the page number.

 2) I have my sections underlined. Upon completing this task, I found
 that the TOC also underlines the sections, when what I need is for them
 not to be underlined in the TOC.

 For reference I am using the report class in lyx 1.3.3.

 Any help would be much appreciated.

 Brad


Gordon Wells
Department of Biochemistry
University of Pretoria



Re: TOC problems

2003-10-16 Thread Gordon Wells
On Thursday, 16 October 2003 09:00, Gordon Wells wrote:
 Hi

 Can help with some of this.

 After inserting the toc try these erts:
 \renewcommand\thepage{\arabic{page}}
Sorry should be: renewcommand\thepage{\roman{page}}
 \setcounter{page}{4}

 So far I've only managed to alter which pages are numbered in the class
 file I'm using.

 As for underlining in the toc, no idea I'm afraid.

 Hope this helps

 On Thursday, 16 October 2003 00:22, Bradley Navarro wrote:
  Hello,
 
  I am having two problems and cannot find solutions to them:
 
  1) I need the first page of the TOC to not show a page number, but the
  counter started at number vi. But I need the second page of the TOC to
  show the next page number. So for example my TOC begins on page vi and
  the second page is on page vii. But I don't want the first page to show
  the page number.
 
  2) I have my sections underlined. Upon completing this task, I found
  that the TOC also underlines the sections, when what I need is for them
  not to be underlined in the TOC.
 
  For reference I am using the report class in lyx 1.3.3.
 
  Any help would be much appreciated.
 
  Brad

 Gordon Wells
 Department of Biochemistry
 University of Pretoria

-- 
--
 |\  /---\| 
 | -/   o \ \\/  __/
 | -\ \__-/__|__/
 |/  \---/   _/_\__/
   |_ |_ ___/
~~~
Gordon Wells
Department of Biochemistry
University of Pretoria



Re: TOC problems

2003-10-16 Thread Gordon Wells
Hi

Can help with some of this.

After inserting the toc try these erts:
\renewcommand\thepage{\arabic{page}}
\setcounter{page}{4}

So far I've only managed to alter which pages are numbered in the class file 
I'm using.

As for underlining in the toc, no idea I'm afraid.

Hope this helps

On Thursday, 16 October 2003 00:22, Bradley Navarro wrote:
> Hello,
>
> I am having two problems and cannot find solutions to them:
>
> 1) I need the first page of the TOC to not show a page number, but the
> counter started at number vi. But I need the second page of the TOC to
> show the next page number. So for example my TOC begins on page vi and
> the second page is on page vii. But I don't want the first page to show
> the page number.
>
> 2) I have my sections underlined. Upon completing this task, I found
> that the TOC also underlines the sections, when what I need is for them
> not to be underlined in the TOC.
>
> For reference I am using the report class in lyx 1.3.3.
>
> Any help would be much appreciated.
>
> Brad


Gordon Wells
Department of Biochemistry
University of Pretoria



Re: TOC problems

2003-10-16 Thread Gordon Wells
On Thursday, 16 October 2003 09:00, Gordon Wells wrote:
> Hi
>
> Can help with some of this.
>
> After inserting the toc try these erts:
> \renewcommand\thepage{\arabic{page}}
Sorry should be: renewcommand\thepage{\roman{page}}
> \setcounter{page}{4}
>
> So far I've only managed to alter which pages are numbered in the class
> file I'm using.
>
> As for underlining in the toc, no idea I'm afraid.
>
> Hope this helps
>
> On Thursday, 16 October 2003 00:22, Bradley Navarro wrote:
> > Hello,
> >
> > I am having two problems and cannot find solutions to them:
> >
> > 1) I need the first page of the TOC to not show a page number, but the
> > counter started at number vi. But I need the second page of the TOC to
> > show the next page number. So for example my TOC begins on page vi and
> > the second page is on page vii. But I don't want the first page to show
> > the page number.
> >
> > 2) I have my sections underlined. Upon completing this task, I found
> > that the TOC also underlines the sections, when what I need is for them
> > not to be underlined in the TOC.
> >
> > For reference I am using the report class in lyx 1.3.3.
> >
> > Any help would be much appreciated.
> >
> > Brad
>
> Gordon Wells
> Department of Biochemistry
> University of Pretoria

-- 
--
 |\  /---\| 
 | -/   o \ \\/  __/
 | -\ \__-/__|__/
 |/  \---/   _/_\__/
   |_ |_ ___/
~~~
Gordon Wells
Department of Biochemistry
University of Pretoria



Re: chapt. titles, hyphenation, alignment and TOC problems

2002-12-03 Thread Olivier Ripoll
Dekel Tsur wrote:

 On Mon, Dec 02, 2002 at 12:03:43PM +0100, Olivier Ripoll wrote:
  I have my chapter titles written in big letters on a A5 paper. I'm using
  a layout from
  http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
 [...]
  \def\@makechapterhead#1{%
 [...]
  \parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
 [...]

  What I would like is either
  - a way to specify no imphenation for every word (like emphasis, bold,

 To disable hyphenation in the chapter titles, put \hyphenpenalty=1
 before the \Huge above.

  - a way to specify that the title is not block aligned (left-aligned) is
  great and not to have this breaking the TOC layout.
  or

 Put \raggedright before the \Huge.
 Note that doing this will also disable hyphenation.

Thanks, the second trick did it.
Thanks also to Herbert Voss who suggested the same idea in private email.

Kind regards,

Olivier.






Re: chapt. titles, hyphenation, alignment and TOC problems

2002-12-03 Thread Olivier Ripoll
Dekel Tsur wrote:

 On Mon, Dec 02, 2002 at 12:03:43PM +0100, Olivier Ripoll wrote:
  I have my chapter titles written in big letters on a A5 paper. I'm using
  a layout from
  http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
 [...]
  \def\@makechapterhead#1{%
 [...]
  \parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
 [...]

  What I would like is either
  - a way to specify no imphenation for every word (like emphasis, bold,

 To disable hyphenation in the chapter titles, put \hyphenpenalty=1
 before the \Huge above.

  - a way to specify that the title is not block aligned (left-aligned) is
  great and not to have this breaking the TOC layout.
  or

 Put \raggedright before the \Huge.
 Note that doing this will also disable hyphenation.

Thanks, the second trick did it.
Thanks also to Herbert Voss who suggested the same idea in private email.

Kind regards,

Olivier.






Re: chapt. titles, hyphenation, alignment and TOC problems

2002-12-03 Thread Olivier Ripoll
Dekel Tsur wrote:

> On Mon, Dec 02, 2002 at 12:03:43PM +0100, Olivier Ripoll wrote:
> > I have my chapter titles written in big letters on a A5 paper. I'm using
> > a layout from
> > http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
> [...]
> > \def\@makechapterhead#1{%
> [...]
> > \parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
> [...]
>
> > What I would like is either
> > - a way to specify no imphenation for every word (like emphasis, bold,
>
> To disable hyphenation in the chapter titles, put \hyphenpenalty=1
> before the \Huge above.
>
> > - a way to specify that the title is not block aligned (left-aligned) is
> > great and not to have this breaking the TOC layout.
> > or
>
> Put \raggedright before the \Huge.
> Note that doing this will also disable hyphenation.

Thanks, the second trick did it.
Thanks also to Herbert Voss who suggested the same idea in private email.

Kind regards,

Olivier.






chapt. titles, hyphenation, alignment and TOC problems

2002-12-02 Thread Olivier Ripoll

Hi all,

Here is my little problem:
I have my chapter titles written in big letters on a A5 paper. I'm using
a layout from
http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
(the one with a huge 1 at the right and a line under)
with this added in my preamble (between the dashed lines):
-
\newfont{\scaledfont}{cmr10 scaled 6000}
\renewcommand\thechapter{\arabic{chapter}}
\def\@makechapterhead#1{%
%  \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth \m@ne
  \if@mainmatter
\par\nobreak
\vskip 20\p@
  \fi
\fi
\interlinepenalty\@M
\parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
\hfill\scaledfont\thechapter\par\normalsize%
\rule{\textwidth}{1pt}%  --- the rule
\nobreak
\vskip 40\p@
  }%
}
-

This makes my titles being displayed on several lines. The problem is
the title is justified (block?) and all my titles are hyphenated,
which is very ugly, as in, for example
Simulation of large opti-
cal elements

What I would like is the words not to be hyphenated.
So I first tried to add ctrl-return to force the line break to
Simulation of large
optical elements

Unfortunately this has two side-effects:
1- the headers are distorted, which is solved by redefining the title
with \chapertmark.
2- the TOC also has this line breaks
3.Simulation of large
optical elements

Then I canceled this and tried to change the paragraph properties of the
title with an alignment from block to left. It solves the
hyphenation problem, but the TOC now looks like
3.
Simulation of large optical elements

which is not much better.

Conclusion:
What I would like is either
- a way to specify no imphenation for every word (like emphasis, bold,
etc.)
or
- a way to redefine the chapter title used in the TOC to be different
from the one in the text. so I can use the ctrl-return line breaks
or
- a way to specify that the title is not block aligned (left-aligned) is
great and not to have this breaking the TOC layout.
or
- any other solution that makes my titles being not hyphenated and one
line in the TOC.

Ideas somemone?

Thanks in advance,

Olivier.

PS: I'm thinking of using math-mode for every single word, but that
looks ugly.






Re: chapt. titles, hyphenation, alignment and TOC problems

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 12:03:43PM +0100, Olivier Ripoll wrote:
 I have my chapter titles written in big letters on a A5 paper. I'm using
 a layout from
 http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
[...]
 \def\@makechapterhead#1{%
[...]
 \parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
[...]

 What I would like is either
 - a way to specify no imphenation for every word (like emphasis, bold,

To disable hyphenation in the chapter titles, put \hyphenpenalty=1
before the \Huge above.

 - a way to specify that the title is not block aligned (left-aligned) is
 great and not to have this breaking the TOC layout.
 or

Put \raggedright before the \Huge.
Note that doing this will also disable hyphenation.



chapt. titles, hyphenation, alignment and TOC problems

2002-12-02 Thread Olivier Ripoll

Hi all,

Here is my little problem:
I have my chapter titles written in big letters on a A5 paper. I'm using
a layout from
http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
(the one with a huge 1 at the right and a line under)
with this added in my preamble (between the dashed lines):
-
\newfont{\scaledfont}{cmr10 scaled 6000}
\renewcommand\thechapter{\arabic{chapter}}
\def\@makechapterhead#1{%
%  \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth \m@ne
  \if@mainmatter
\par\nobreak
\vskip 20\p@
  \fi
\fi
\interlinepenalty\@M
\parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
\hfill\scaledfont\thechapter\par\normalsize%
\rule{\textwidth}{1pt}%  --- the rule
\nobreak
\vskip 40\p@
  }%
}
-

This makes my titles being displayed on several lines. The problem is
the title is justified (block?) and all my titles are hyphenated,
which is very ugly, as in, for example
Simulation of large opti-
cal elements

What I would like is the words not to be hyphenated.
So I first tried to add ctrl-return to force the line break to
Simulation of large
optical elements

Unfortunately this has two side-effects:
1- the headers are distorted, which is solved by redefining the title
with \chapertmark.
2- the TOC also has this line breaks
3.Simulation of large
optical elements

Then I canceled this and tried to change the paragraph properties of the
title with an alignment from block to left. It solves the
hyphenation problem, but the TOC now looks like
3.
Simulation of large optical elements

which is not much better.

Conclusion:
What I would like is either
- a way to specify no imphenation for every word (like emphasis, bold,
etc.)
or
- a way to redefine the chapter title used in the TOC to be different
from the one in the text. so I can use the ctrl-return line breaks
or
- a way to specify that the title is not block aligned (left-aligned) is
great and not to have this breaking the TOC layout.
or
- any other solution that makes my titles being not hyphenated and one
line in the TOC.

Ideas somemone?

Thanks in advance,

Olivier.

PS: I'm thinking of using math-mode for every single word, but that
looks ugly.






Re: chapt. titles, hyphenation, alignment and TOC problems

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 12:03:43PM +0100, Olivier Ripoll wrote:
 I have my chapter titles written in big letters on a A5 paper. I'm using
 a layout from
 http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
[...]
 \def\@makechapterhead#1{%
[...]
 \parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
[...]

 What I would like is either
 - a way to specify no imphenation for every word (like emphasis, bold,

To disable hyphenation in the chapter titles, put \hyphenpenalty=1
before the \Huge above.

 - a way to specify that the title is not block aligned (left-aligned) is
 great and not to have this breaking the TOC layout.
 or

Put \raggedright before the \Huge.
Note that doing this will also disable hyphenation.



chapt. titles, hyphenation, alignment and TOC problems

2002-12-02 Thread Olivier Ripoll

Hi all,

Here is my little problem:
I have my chapter titles written in big letters on a A5 paper. I'm using
a layout from
http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
(the one with a huge 1 at the right and a line under)
with this added in my preamble (between the dashed lines):
-
\newfont{\scaledfont}{cmr10 scaled 6000}
\renewcommand\thechapter{\arabic{chapter}}
\def\@makechapterhead#1{%
%  \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
  \if@mainmatter
\par\nobreak
\vskip 20\p@
  \fi
\fi
\interlinepenalty\@M
\parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
\hfill\scaledfont\thechapter\par\normalsize%
\rule{\textwidth}{1pt}%  <--- the rule
\nobreak
\vskip 40\p@
  }%
}
-

This makes my titles being displayed on several lines. The problem is
the title is "justified" (block?) and all my titles are hyphenated,
which is very ugly, as in, for example
"Simulation of large opti-
cal elements"

What I would like is the words not to be hyphenated.
So I first tried to add ctrl-return to force the line break to
"Simulation of large
optical elements"

Unfortunately this has two side-effects:
1- the headers are distorted, which is solved by redefining the title
with \chapertmark.
2- the TOC also has this line breaks
"3.Simulation of large
optical elements"

Then I canceled this and tried to change the paragraph properties of the
title with an alignment from "block" to "left". It solves the
hyphenation problem, but the TOC now looks like
"3.
Simulation of large optical elements"

which is not much better.

Conclusion:
What I would like is either
- a way to specify no imphenation for every word (like emphasis, bold,
etc.)
or
- a way to redefine the chapter title used in the TOC to be different
from the one in the text. so I can use the ctrl-return line breaks
or
- a way to specify that the title is not block aligned (left-aligned) is
great and not to have this breaking the TOC layout.
or
- any other solution that makes my titles being not hyphenated and one
line in the TOC.

Ideas somemone?

Thanks in advance,

Olivier.

PS: I'm thinking of using math-mode for every single word, but that
looks ugly.






Re: chapt. titles, hyphenation, alignment and TOC problems

2002-12-02 Thread Dekel Tsur
On Mon, Dec 02, 2002 at 12:03:43PM +0100, Olivier Ripoll wrote:
> I have my chapter titles written in big letters on a A5 paper. I'm using
> a layout from
> http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml
[...]
> \def\@makechapterhead#1{%
[...]
> \parbox{0.9\textwidth}{\Huge \bfseries #1}\ %
[...]

> What I would like is either
> - a way to specify no imphenation for every word (like emphasis, bold,

To disable hyphenation in the chapter titles, put \hyphenpenalty=1
before the \Huge above.

> - a way to specify that the title is not block aligned (left-aligned) is
> great and not to have this breaking the TOC layout.
> or

Put \raggedright before the \Huge.
Note that doing this will also disable hyphenation.