LyXAgain... page numbering and disappearing numbers

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
paddan
Posts: 2
Joined: Sun Nov 08, 2009 9:51 pm

Again... page numbering and disappearing numbers

Post by paddan »

Hello world

I've searched for hours on this subject.

I have a document that starts on Chapter 1. That's perfect. But on some pages numbers disappears. If I remove \pagestyle{empty} at the top of the code, everything solves, but the number counting starts on the frontpage instead of Chapter 1. It probably something with this who mess all things up?

I also want the page numbering counter to end at appendix. Can somebody help me?

Here you have some of the code, the text is removed using "textex tex text"...

Code: Select all

% Preview source code from paragraph 0 to 9

\pagestyle{empty}

\begin{flushleft}
\includegraphics[scale=0.7]{\string"../../../LO_HAN_cenSV copy\string".jpg}
\par\end{flushleft}


\vfill 
\begin{center}\textbf{\LARGE{texttextext texttex.}}} - \LARGE{texttextext texttex.}}
\\ \vspace{20pt {Author}}\end{center}
\vfill  vt.2009\\ Instit\\ essay\\ advisor
\begin{abstract}
\noindent {\footnotesize texttextext texttex.}\\
{\footnotesize }\\
\textbf{\scriptsize keyword: }{\footnotesize texttextext texttex.}}\\
{\footnotesize \par}

\noindent \textbf{\textcolor{white}{\large .......................................
}}\textbf{\textcolor{black}{\normalsize Abstract}}\textbf{\large }\\
{\large \par}

\noindent {\footnotesize texttextext texttex.}
}\\
{\footnotesize \par}

\noindent \textbf{\textcolor{black}{\scriptsize Key word:}}\textcolor{black}{\footnotesize{}
texttextext texttex.}}{\footnotesize \par}

\noindent \tableofcontents\foreignlanguage{english}{\textbf{\thispagestyle{empty}}}
\end{abstract}

\chapter{Background and purpose}


\section{Background}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

magicmoose
Posts: 90
Joined: Fri Nov 06, 2009 7:29 am

Re: Again... page numbering and disappearing numbers

Post by magicmoose »

Hi
You can put in multiple \pagestyle commands, each command affects the current page and pages after where the command is placed

Hope that helps
Post Reply