Search found 35 matches

by neGODnick
Tue Mar 31, 2009 6:43 am
Forum: Page Layout
Topic: ToC --- how to add margins around?
Replies: 9
Views: 9144

ToC --- how to add margins around?

neGODnick wrote:This commands works fine with LaTeX original ToC, but with tocloft package can bring wrong formatting in the 1st ToC’s line
<…>
R-r-r!!!
To fix that, the tocloft package must be loaded with option “titles”:

Code: Select all

\usepackage[titles]{tocloft} 
:—)
by neGODnick
Mon Mar 30, 2009 7:56 pm
Forum: Page Layout
Topic: ToC --- how to add margins around?
Replies: 9
Views: 9144

ToC --- how to add margins around?

Yes, it's not good that the heading of the ToC is also indented… In my running document it bring no influence because I do the ToC title centered, but for future it seems to need the correction.

Unfortunately, it affects centered ToC title, too. So, the last one may be given as folowing:

With ...
by neGODnick
Mon Mar 30, 2009 1:49 pm
Forum: Page Layout
Topic: ToC --- how to add margins around?
Replies: 9
Views: 9144

ToC --- how to add margins around?

…the heading of the ToC is also indented. I didn't find out yet how to do that with tocloft .
Yes, it's not good that the heading of the ToC is also indented… In my running document it bring no influence because I do the ToC title centered, but for future it seems to need the correction.
Now I ...
by neGODnick
Mon Mar 30, 2009 12:25 pm
Forum: Page Layout
Topic: ToC --- how to add margins around?
Replies: 9
Views: 9144

ToC --- how to add margins around?

Mmm…

Yes, it's not good that the heading of the ToC is also indented… In my running document it bring no influence because I do the ToC title centered, but for future it seems to need the correction.

I think, your code can solve my problem, thank you!

So, we have only one way — to put ...
by neGODnick
Mon Mar 30, 2009 10:53 am
Forum: Page Layout
Topic: ToC --- how to add margins around?
Replies: 9
Views: 9144

ToC --- how to add margins around?

I'm sorry again, may be, my english is too bad and poor.
Yes, I just want to have the ToC with wider margins :—)

I want to make ToC more narrow than the main text. I want to indent ToC from left and right page edges, like quotations. Now ToC is normal but looks too wide for my taste.
by neGODnick
Mon Mar 30, 2009 10:28 am
Forum: Page Layout
Topic: ToC --- how to add margins around?
Replies: 9
Views: 9144

ToC --- how to add margins around?

localghost , I'm very sorry!


\documentclass[a4paper,12pt]{article}
\usepackage{lipsum}
\usepackage{tocloft}

\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}

\begin{document}
\tableofcontents{}
\section{The First Section}
\lipsum[1-4]

\section{Very-very-very long, \emph{very-very-very ...
by neGODnick
Mon Mar 30, 2009 9:29 am
Forum: Page Layout
Topic: ToC --- how to add margins around?
Replies: 9
Views: 9144

ToC --- how to add margins around?

Hello, people!

I'm writing two-column article with table of content before the main text, enclosed in \begin{strip}. . . \end{strip}. ToC looks too wide, so I want left & right margins around it like quotations etc. have. How to do this with tocloft package?
by neGODnick
Sat Mar 28, 2009 1:25 pm
Forum: Page Layout
Topic: Double lines in Koma-Script headers & footers
Replies: 2
Views: 3538

Double lines in Koma-Script headers & footers

Hurrah!!!

phi, you are genius! This is exactly that I need. And how simple (I was afraid it would be monstrous code with @…# etc. :—)! Thank you very, very much!
by neGODnick
Sat Mar 28, 2009 8:16 am
Forum: Page Layout
Topic: Double lines in Koma-Script headers & footers
Replies: 2
Views: 3538

Double lines in Koma-Script headers & footers

Hello!

Could anybody help me to make double decorative lines (like =) in Koma-Script headers & footers (scrpage2 package)? With nccfancyhdr package based on fancyhdr this can be made by

\usepackage[plain,headings]{nccfancyhdr}
\makeatletter
\renewcommand{\headrule}{%
\setlength\@tempdima ...
by neGODnick
Mon Mar 09, 2009 3:00 pm
Forum: LyX
Topic: Cyrillic formatted text in mathmode
Replies: 1
Views: 3235

Re: Cyrillic formatted text in mathmode