Christopher M. Jones wrote:

> I need the numbering of sections to be placed against the left/right margin, 
> depending on whether it appears on an odd or even page (twoside). The section 
> text should be centered. How would I go about this?
> 


something like this?


\renewcommand{\section}[1]{%
     \vspace{2.3ex}\refstepcounter{section}
     \ifthenelse{\isodd{\value{page}}}{%
          % the oddpart
          \normalfont\Large\bfseries%
          \begin{center}#1\ \thesection\end{center}
          \normalsize\normalfont\vspace{2.3ex}%
      }{%
         % the evenpart
         \normalfont\Large\bfseries%
         \hfill\begin{center}\thesection\ #1\end{center}
         \normalsize\normalfont\vspace{2.3ex}%
      }%
}


Herbert

-- 
http://www.lyx.org/help/

Reply via email to