Hi Lyx Community, First, thanks for Lyx, it made some things easier and nicer to do.
Well, I am trying to import a latex template for a conference, but the title and authors disappear. It would be very nice if someone con point me out how to import this template to Lyx. I am appending the latex files to this message, they are small anyway. If that should not be done, please tell me. I am using Lyx 1.4.3, apt package for kubuntu 6.10. Thanks in advace, gk
@Book{knuth:89,
author = {Donald E. Knuth},
title = {The {\TeX} Book},
publisher = {Addison-Wesley},
year = {1989},
edition = {15th}
}
@InCollection{smith:99,
author = {A. Smith and B. Jones},
title = {On the Complexity of Computing},
booktitle = {Advances in Computer Science},
pages = {555--566},
publisher = {Publishing Press},
year = {1999},
editor = {A. B. Smith-Jones}
}
example.tex
Description: TeX document
exampleFig.eps
Description: PostScript document
% LaTeX definitions for SBC 2001 style
%
% Created by Jomi & Rafael, june 2001
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sbc2003}[2001/06/09]
% margem sup 3.5 cm: há 1,5 cm para header, + 2 cm para top
% margem inf 2.5 cm: há 1,5 cm para foot, + 1 cm para bottom
% margem esq/dir 3 cm
\RequirePackage[a4paper,top=2cm,left=3cm,right=3cm,bottom=1.5cm]{geometry}
\parindent 1.27cm
\parskip 6pt
\flushbottom
% captions
\RequirePackage[bf,sf,footnotesize,hang]{caption}
\setlength{\captionmargin}{0.8cm}
\renewcommand{\captionfont}{\sffamily\footnotesize\bfseries}
% font
\RequirePackage{times}
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
% new commands
\newcounter{instn}
\setcounter{instn}{1}
\newcommand{\instnum}{\arabic{instn}}
\newcommand{\inst}[1]{\ensuremath{^#1}}
\newcommand{\nextinstitute}{\\\mbox{}\\[-6pt] \addtocounter{instn}{1}\inst{\instnum}}
\newcommand{\email}[1]{\\\mbox{}\\[-6pt]\footnotesize\texttt{#1}}
\renewcommand{\and}{, }
% to avoid [...] in the bibliography
% \item[] instead of [EMAIL PROTECTED]
[EMAIL PROTECTED]@filesw
{\let\protect\noexpand
\immediate
[EMAIL PROTECTED]
\renewenvironment{thebibliography}[1]
{\section*{\refname
[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]
\leftmargin\labelwidth
\advance\leftmargin\labelsep
%% changed!
\itemindent -\leftmargin
\itemsep 6pt
%%%%%%%%%%%
[EMAIL PROTECTED]@code
\usecounter{enumiv}%
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]@enumiv}}%
\sloppy
\clubpenalty4000
[EMAIL PROTECTED] \clubpenalty
\widowpenalty4000%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}%
\endlist}
% itens
\setlength\leftmargini {1.27cm}
\setlength\leftmargin {\leftmargini}
\setlength\leftmarginii {\leftmargini}
\setlength\leftmarginiii {\leftmargini}
\setlength\leftmarginiv {\leftmargini}
\setlength \labelsep {.5em}
\setlength \labelwidth {\leftmargini}
\addtolength\labelwidth {-\labelsep}
[EMAIL PROTECTED]
\parsep 0\p@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@
\topsep 0\p@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@
[EMAIL PROTECTED]
[EMAIL PROTECTED]@listI
[EMAIL PROTECTED]
[EMAIL PROTECTED] {\leftmargin\leftmarginii
\labelwidth\leftmarginii
\advance\labelwidth-\labelsep
\topsep 0\p@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@}
[EMAIL PROTECTED]
\labelwidth\leftmarginiii
\advance\labelwidth-\labelsep
\topsep 0\p@ [EMAIL PROTECTED]@[EMAIL PROTECTED]@
\parsep \z@
\partopsep \p@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@}
% sections
[EMAIL PROTECTED]@}%
{-18\p@ [EMAIL PROTECTED] -4\p@ [EMAIL PROTECTED] [EMAIL PROTECTED]
{1\p@ [EMAIL PROTECTED] 4\p@ [EMAIL PROTECTED] [EMAIL PROTECTED]
{\normalfont\XIIIPT\bfseries\boldmath
\rightskip=\z@ [EMAIL PROTECTED] 8em\pretolerance=10000 }}
[EMAIL PROTECTED]@}%
{-6\p@ [EMAIL PROTECTED] -4\p@ [EMAIL PROTECTED] [EMAIL PROTECTED]
{1\p@ [EMAIL PROTECTED] 4\p@ [EMAIL PROTECTED] [EMAIL PROTECTED]
{\normalfont\normalsize\bfseries\boldmath
\rightskip=\z@ [EMAIL PROTECTED] 8em\pretolerance=10000 }}
\RequirePackage{titlesec}
\titlelabel{\thetitle.\hspace{1ex}}
% first page
\pagestyle{empty}
\newcommand{\authortag}[1]{$^{#1}$}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
%\null % isso dava um espaco extra antes do title
\begin{center}
%\vglue -6pt
\vspace*{12pt}
[EMAIL PROTECTED]
\vglue 6pt plus 3pt minus 3pt
{\normalsize
[EMAIL PROTECTED]
\vglue 6pt plus 3pt minus 3pt
{\normalsize
[EMAIL PROTECTED]
\vglue 6pt plus 3pt minus 3pt
\end{center}\par
}
\let\maketitleOLD\maketitle
\renewcommand{\maketitle}{\maketitleOLD\thispagestyle{empty}}
\renewenvironment{abstract}{%
\list{}{%\advance\topsep by0.35cm\relax%\small
\leftmargin=0.8cm
\labelwidth=\z@
\listparindent=\z@
\itemindent\listparindent
\rightmargin\leftmargin}\item[\hskip\labelsep
\bfseries\itshape Abstract.]\itshape}%
{\endlist}
\newenvironment{resumo}{%
\list{}{%\advance\topsep by0.35cm\relax%\small
\leftmargin=0.8cm
\labelwidth=\z@
\listparindent=\z@
\itemindent\listparindent
\rightmargin\leftmargin}\item[\hskip\labelsep
\bfseries\itshape Resumo.]\itshape}%
{\endlist}
