LyX ⇒ Put "Contents", List of figure, table on the centre of the p
Put "Contents", List of figure, table on the centre of the p
Do you know can i set lyx to move the Contents, list of figure and list of table on the centre of the page? I mean just the header...
thx
/davide
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Put "Contents", List of figure, table on the centre of the p
it depends on the document class you are using.
One possibility is to use the titlesec package, see its documentation.
For instance this code will provide centered sections with standard classes:
Code: Select all
\titleformat{\section}{%
\centering\normalfont\Large\bfseries}{\thesection}{1em}{}
Re: Put "Contents", List of figure, table on the centre of the p
Re: Put "Contents", List of figure, table on the centre of the p
/davide
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Put "Contents", List of figure, table on the centre of the p
which error did you get?
Perhaps you didn't include the titlesec package in your document preamble:
Code: Select all
\usepackage{titlesec}
Re: Put "Contents", List of figure, table on the centre of the p
\usepackage{titlesec}
\titleformat{\section}[block]
{\filcenter\large
\addtolength{\titlewidth}{2pc}%
%\titleline*[c]{\titlerule*[.6pc]{\tiny\textbullet}}%
\addvspace{6pt}%
\bfseries\huge\sffamily}
{\thesection}{1em}{}
\titlespacing{\section}
{5pc}{*2}{*2}[5pc]
/davide