Design of TOC

2014-07-26 Thread Jonas Weiher
Hello,

my professor wants a slightly different design of the table of contents:

1. Lyx makes the section title and page-number in TOC bold and the other
levels normal. My professor wants all in normal, so the section-title and
-pagenumber shouldn't be bold.

2. The section-level has no filling dots between title and page-number in
the doc but the other levels have them. My professor wants also filling
dots in the section-level.

How can I do these 2 things in Lyx? I've tried to right-click the
TOC-placeholder because I thought that could be set there, but I can't find
any setting for that.

Thanks,
Jonas


Re: Design of TOC

2014-07-26 Thread Richard Heck

On 07/26/2014 06:30 AM, Jonas Weiher wrote:

Hello,

my professor wants a slightly different design of the table of contents:

1. Lyx makes the section title and page-number in TOC bold and the 
other levels normal. My professor wants all in normal, so the 
section-title and -pagenumber shouldn't be bold.


2. The section-level has no filling dots between title and page-number 
in the doc but the other levels have them. My professor wants also 
filling dots in the section-level.


How can I do these 2 things in Lyx? I've tried to right-click the 
TOC-placeholder because I thought that could be set there, but I can't 
find any setting for that.


This all has to be done in LaTeX. LyX doesn't provide any means to 
customize this, as it is all defined in the document class. I haven't 
messed with this in a long time, but I seem to recall that the titletoc 
package is very helpful.


Richard



Re: Design of TOC

2014-07-26 Thread Jürgen Spitzmüller
Jonas Weiher wrote:
 Hello,
 
 my professor wants a slightly different design of the table of contents:
 
 1. Lyx makes the section title and page-number in TOC bold and the other
 levels normal. My professor wants all in normal, so the section-title and
 -pagenumber shouldn't be bold.
 
 2. The section-level has no filling dots between title and page-number in
 the doc but the other levels have them. My professor wants also filling
 dots in the section-level.

All these settings depend on the document class. Which one do you use?

 How can I do these 2 things in Lyx? I've tried to right-click the
 TOC-placeholder because I thought that could be set there, but I can't find
 any setting for that.

Some document classes allow for direct customization of TOC appearance. 
Alternatively, you need to use a specific LaTeX package such as tocloft. E.g. 
in preamble:

\usepackage{tocloft}
\renewcommand\cftsecfont{\mdseries\normalfont}
\renewcommand\cftsecpagefont{\mdseries\normalfont}
\renewcommand\cftsecleader{\cftdotfill{\cftsecdotsep}}
\renewcommand\cftsecdotsep{\cftdotsep}


Jürgen

 Thanks,
 Jonas




Re: Design of TOC

2014-07-26 Thread stefano franchi
On Sat, Jul 26, 2014 at 9:26 AM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Jonas Weiher wrote:
  Hello,
 
  my professor wants a slightly different design of the table of contents:
 
  1. Lyx makes the section title and page-number in TOC bold and the other
  levels normal. My professor wants all in normal, so the section-title and
  -pagenumber shouldn't be bold.
 
  2. The section-level has no filling dots between title and page-number in
  the doc but the other levels have them. My professor wants also filling
  dots in the section-level.

 All these settings depend on the document class. Which one do you use?

  How can I do these 2 things in Lyx? I've tried to right-click the
  TOC-placeholder because I thought that could be set there, but I can't
 find
  any setting for that.

 Some document classes allow for direct customization of TOC appearance.
 Alternatively, you need to use a specific LaTeX package such as tocloft.
 E.g.
 in preamble:

 \usepackage{tocloft}
 \renewcommand\cftsecfont{\mdseries\normalfont}
 \renewcommand\cftsecpagefont{\mdseries\normalfont}
 \renewcommand\cftsecleader{\cftdotfill{\cftsecdotsep}}
 \renewcommand\cftsecdotsep{\cftdotsep}




Jürgen's solution is going to work fine, but I think you should ask
yourself if this is the last formatting modification your professor is
going to request or (as it sometimes happens), the first of many. In the
latter case, you may consider switching from your current LaTeX class
(whichever it is) to a class that can be easily and heavily customized to
your (professor's) needs, such as KomaScript or memoir.
It will take some time to learn how to do so, but it will pay off in the
end. Unless you are already at the end...in which case: congrats!


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Design of TOC

2014-07-26 Thread Jonas Weiher
Hello,

my professor wants a slightly different design of the table of contents:

1. Lyx makes the section title and page-number in TOC bold and the other
levels normal. My professor wants all in normal, so the section-title and
-pagenumber shouldn't be bold.

2. The section-level has no filling dots between title and page-number in
the doc but the other levels have them. My professor wants also filling
dots in the section-level.

How can I do these 2 things in Lyx? I've tried to right-click the
TOC-placeholder because I thought that could be set there, but I can't find
any setting for that.

Thanks,
Jonas


Re: Design of TOC

2014-07-26 Thread Richard Heck

On 07/26/2014 06:30 AM, Jonas Weiher wrote:

Hello,

my professor wants a slightly different design of the table of contents:

1. Lyx makes the section title and page-number in TOC bold and the 
other levels normal. My professor wants all in normal, so the 
section-title and -pagenumber shouldn't be bold.


2. The section-level has no filling dots between title and page-number 
in the doc but the other levels have them. My professor wants also 
filling dots in the section-level.


How can I do these 2 things in Lyx? I've tried to right-click the 
TOC-placeholder because I thought that could be set there, but I can't 
find any setting for that.


This all has to be done in LaTeX. LyX doesn't provide any means to 
customize this, as it is all defined in the document class. I haven't 
messed with this in a long time, but I seem to recall that the titletoc 
package is very helpful.


Richard



Re: Design of TOC

2014-07-26 Thread Jürgen Spitzmüller
Jonas Weiher wrote:
 Hello,
 
 my professor wants a slightly different design of the table of contents:
 
 1. Lyx makes the section title and page-number in TOC bold and the other
 levels normal. My professor wants all in normal, so the section-title and
 -pagenumber shouldn't be bold.
 
 2. The section-level has no filling dots between title and page-number in
 the doc but the other levels have them. My professor wants also filling
 dots in the section-level.

All these settings depend on the document class. Which one do you use?

 How can I do these 2 things in Lyx? I've tried to right-click the
 TOC-placeholder because I thought that could be set there, but I can't find
 any setting for that.

Some document classes allow for direct customization of TOC appearance. 
Alternatively, you need to use a specific LaTeX package such as tocloft. E.g. 
in preamble:

\usepackage{tocloft}
\renewcommand\cftsecfont{\mdseries\normalfont}
\renewcommand\cftsecpagefont{\mdseries\normalfont}
\renewcommand\cftsecleader{\cftdotfill{\cftsecdotsep}}
\renewcommand\cftsecdotsep{\cftdotsep}


Jürgen

 Thanks,
 Jonas




Re: Design of TOC

2014-07-26 Thread stefano franchi
On Sat, Jul 26, 2014 at 9:26 AM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Jonas Weiher wrote:
  Hello,
 
  my professor wants a slightly different design of the table of contents:
 
  1. Lyx makes the section title and page-number in TOC bold and the other
  levels normal. My professor wants all in normal, so the section-title and
  -pagenumber shouldn't be bold.
 
  2. The section-level has no filling dots between title and page-number in
  the doc but the other levels have them. My professor wants also filling
  dots in the section-level.

 All these settings depend on the document class. Which one do you use?

  How can I do these 2 things in Lyx? I've tried to right-click the
  TOC-placeholder because I thought that could be set there, but I can't
 find
  any setting for that.

 Some document classes allow for direct customization of TOC appearance.
 Alternatively, you need to use a specific LaTeX package such as tocloft.
 E.g.
 in preamble:

 \usepackage{tocloft}
 \renewcommand\cftsecfont{\mdseries\normalfont}
 \renewcommand\cftsecpagefont{\mdseries\normalfont}
 \renewcommand\cftsecleader{\cftdotfill{\cftsecdotsep}}
 \renewcommand\cftsecdotsep{\cftdotsep}




Jürgen's solution is going to work fine, but I think you should ask
yourself if this is the last formatting modification your professor is
going to request or (as it sometimes happens), the first of many. In the
latter case, you may consider switching from your current LaTeX class
(whichever it is) to a class that can be easily and heavily customized to
your (professor's) needs, such as KomaScript or memoir.
It will take some time to learn how to do so, but it will pay off in the
end. Unless you are already at the end...in which case: congrats!


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Design of TOC

2014-07-26 Thread Jonas Weiher
Hello,

my professor wants a slightly different design of the table of contents:

1. Lyx makes the section title and page-number in TOC bold and the other
levels normal. My professor wants all in normal, so the section-title and
-pagenumber shouldn't be bold.

2. The section-level has no filling dots between title and page-number in
the doc but the other levels have them. My professor wants also filling
dots in the section-level.

How can I do these 2 things in Lyx? I've tried to right-click the
TOC-placeholder because I thought that could be set there, but I can't find
any setting for that.

Thanks,
Jonas


Re: Design of TOC

2014-07-26 Thread Richard Heck

On 07/26/2014 06:30 AM, Jonas Weiher wrote:

Hello,

my professor wants a slightly different design of the table of contents:

1. Lyx makes the section title and page-number in TOC bold and the 
other levels normal. My professor wants all in normal, so the 
section-title and -pagenumber shouldn't be bold.


2. The section-level has no filling dots between title and page-number 
in the doc but the other levels have them. My professor wants also 
filling dots in the section-level.


How can I do these 2 things in Lyx? I've tried to right-click the 
TOC-placeholder because I thought that could be set there, but I can't 
find any setting for that.


This all has to be done in LaTeX. LyX doesn't provide any means to 
customize this, as it is all defined in the document class. I haven't 
messed with this in a long time, but I seem to recall that the titletoc 
package is very helpful.


Richard



Re: Design of TOC

2014-07-26 Thread Jürgen Spitzmüller
Jonas Weiher wrote:
> Hello,
> 
> my professor wants a slightly different design of the table of contents:
> 
> 1. Lyx makes the section title and page-number in TOC bold and the other
> levels normal. My professor wants all in normal, so the section-title and
> -pagenumber shouldn't be bold.
> 
> 2. The section-level has no filling dots between title and page-number in
> the doc but the other levels have them. My professor wants also filling
> dots in the section-level.

All these settings depend on the document class. Which one do you use?

> How can I do these 2 things in Lyx? I've tried to right-click the
> TOC-placeholder because I thought that could be set there, but I can't find
> any setting for that.

Some document classes allow for direct customization of TOC appearance. 
Alternatively, you need to use a specific LaTeX package such as tocloft. E.g. 
in preamble:

\usepackage{tocloft}
\renewcommand\cftsecfont{\mdseries\normalfont}
\renewcommand\cftsecpagefont{\mdseries\normalfont}
\renewcommand\cftsecleader{\cftdotfill{\cftsecdotsep}}
\renewcommand\cftsecdotsep{\cftdotsep}


Jürgen

> Thanks,
> Jonas




Re: Design of TOC

2014-07-26 Thread stefano franchi
On Sat, Jul 26, 2014 at 9:26 AM, Jürgen Spitzmüller  wrote:

> Jonas Weiher wrote:
> > Hello,
> >
> > my professor wants a slightly different design of the table of contents:
> >
> > 1. Lyx makes the section title and page-number in TOC bold and the other
> > levels normal. My professor wants all in normal, so the section-title and
> > -pagenumber shouldn't be bold.
> >
> > 2. The section-level has no filling dots between title and page-number in
> > the doc but the other levels have them. My professor wants also filling
> > dots in the section-level.
>
> All these settings depend on the document class. Which one do you use?
>
> > How can I do these 2 things in Lyx? I've tried to right-click the
> > TOC-placeholder because I thought that could be set there, but I can't
> find
> > any setting for that.
>
> Some document classes allow for direct customization of TOC appearance.
> Alternatively, you need to use a specific LaTeX package such as tocloft.
> E.g.
> in preamble:
>
> \usepackage{tocloft}
> \renewcommand\cftsecfont{\mdseries\normalfont}
> \renewcommand\cftsecpagefont{\mdseries\normalfont}
> \renewcommand\cftsecleader{\cftdotfill{\cftsecdotsep}}
> \renewcommand\cftsecdotsep{\cftdotsep}
>
>


Jürgen's solution is going to work fine, but I think you should ask
yourself if this is the last formatting modification your professor is
going to request or (as it sometimes happens), the first of many. In the
latter case, you may consider switching from your current LaTeX class
(whichever it is) to a class that can be easily and heavily customized to
your (professor's) needs, such as KomaScript or memoir.
It will take some time to learn how to do so, but it will pay off in the
end. Unless you are already at the end...in which case: congrats!


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org