Enboldened by my sucess with the previous question, here's a second.

Attched is a small (3kB) file that creates a sample header page. I've 
followed Herbert's HOWTO on the help pages to get this far and, indeed, it 
looks very good. However, it's a right royal pain to write. Even I can type 
more quickly than LyX can update the screen in a table inside a table. And 
all that ERT!

Is there some package that can do something similar with less magic from me?

Angus
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass extarticle
\begin_preamble
%% Use a Sans Serif font as the default
\renewcommand{\familydefault}{cmss}

%% Turn off page numbering
\let\ps@plain\ps@empty
\ps@empty

%% Used on the title page
\newfont{\TitleFont}{cmss12 scaled 6000}
\newfont{\SubTitleSS}{cmss12 scaled 4000}
\newfont{\SubSubTitleSS}{cmss12 scaled 3000}
\newfont{\SubTitleTT}{cmtt12 scaled 3000}

\newlength{\myVSpace}%
\setlength{\myVSpace}{2ex}% the default
\newcommand{\xstruct}{\raisebox{-2\myVSpace}{\rule{0pt}{\myVSpace}}}
\end_preamble
\options titlepage
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\float_placement b
\paperfontsize 20
\spacing single 
\papersize a3paper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 1
\use_numerical_citations 0
\paperorientation landscape
\leftmargin 1cm
\topmargin -0.5cm
\rightmargin 1cm
\bottommargin -0.1cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip bigskip
\quotes_language english
\quotes_times 2
\papercolumns 2
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
date{} %%don't print the date
\end_inset 


\begin_inset  Tabular
<lyxtabular version="3" rows="5" columns="1">
<features>
<column alignment="center" valignment="top" width="0pt">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
TitleFont 
\backslash 
xstruct 
\end_inset 

A title that goes on over
\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
TitleFont 
\backslash 
xstruct   
\backslash 
rule[-2ex]{0ex}{2ex} 
\end_inset 

several lines and more and more  
\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset  Tabular
<lyxtabular version="3" rows="1" columns="2">
<features>
<column alignment="left" valignment="center" width="10cm">
<column alignment="center" valignment="top" width="0pt">
<row>
<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset Graphics FormatVersion 1
        filename crest.eps
        display default
        size_kind width_height
        width 7cm
        rotateOrigin center
        lyxsize_kind original
        lyxwidth 7cm

\end_inset 


\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
SubTitleSS 
\end_inset 

A.N.
 Author and A.N.
 Second
\end_inset 
</cell>
</row>
</lyxtabular>

\end_inset 


\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
SubSubTitleSS 
\backslash 
rule{0ex}{4ex} 
\end_inset 

Address of august establishment, Small Town, Small Country
\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
SubTitleTT 
\backslash 
rule{0ex}{4ex} 
\end_inset 

[EMAIL PROTECTED]
\end_inset 
</cell>
</row>
</lyxtabular>

\end_inset 


\layout Section*

Introduction
\layout Standard

blah blah blah
\the_end

Reply via email to