Marco Bravi wrote:
>
> On Tue, 25 Jul 2000, Herbert Voss wrote:
>
> > if it's moderately in it's changes, than there will be no problem
> > to do it with the latex preamble and with lyx.
>
> I am attaching the elsart.cls file and the PostScript documentation that
> came with it as compressed as I could :))). I am also giving you the URL
> at Elsevier that refers to all of this:
>
there are some problems with natbib (bibtex-style) but try the
following lyx-layout:
copy: elsart.layout -> home-dir/.lyx/layouts
save: home-dir/.lyx/layouts/lyxmacros.inc as lyxmacros.inc.old
copy: lyxmacros.inc -> home-dir/.lyx/layouts
copy: the latex-class elsart.cls -> /usr/share/texmf/tex/latex/base
(the latex dir might be different! have a look at it)
run (maybe as root!) texhash
and ./configure from home-dir/.lyx or from lyx itself by
option->reconfigure
when you start lyx again, the new document layout
article (elsart)
will be in the list layout->document->class.
if not, look for the right lyx-dir for the layouts!
i attached an example lyx-file and hope, to have some time next days
for the natbib-problem.
Herbert
--
[EMAIL PROTECTED]
http://perce.de/voss
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{article (elsart)}
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper "testmath.tex" of January, 1995
# Author : David L. Johnson <[EMAIL PROTECTED]>
# Probably broken by Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
# modified and modularized by Emmanuel GUREGHIAN <[EMAIL PROTECTED]>
# General textclass parameters
# Description "article (elsart)"
Columns 1
Sides 2
PageStyle Headers
MaxCounter Counter_Section
ClassOptions
FontSize 10|11|12
End
# Standard style definition
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
############### Sections.
# First the standard numbered definitions
Input stdsections.inc
# Redefine some of the section styles.
Style Section
Align Center
AlignPossible Block, Center, Left
# standard font definition
Font
Series Medium
Shape Smallcaps
Size Large
EndFont
End
# Subsection-numbered style definition
Style Subsection
# standard font definition
Font
Series Bold
Size Normal
EndFont
End
# Subsubsection-numbered style definition
Style Subsubsection
# standard font definition
Font
Shape Italic
Size Normal
EndFont
End
# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc
# remove the layouts that we do not need.
NoStyle Chapter
NoStyle Paragraph
NoStyle Subparagraph
NoStyle Chapter*
#NoStyle Paragraph*
#NoStyle Subparagraph*
# Perharp's we should put this at the end of the file so it appears at the end
# of the list box ??
Preamble
\usepackage{graphicx,natbib,theorem}
% \theoremstyle{plain}
% \newtheorem{thm}{Theorem}[section]
% \numberwithin{equation}{section} %% Comment out for sequentially-numbered
% \numberwithin{figure}{section} %% Comment out for sequentially-numbered
% \AtBeginDocument{\begin{frontmatter}}
EndPreamble
Input amsdefs.inc
Input stdlayouts.inc
NoStyle Verse # Although mathematicians tend to be poets at times,
# we don't need this.
Input stdlists.inc
### Finally a few obsolete definitions for compatibility
Input obsolete.inc
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass elsart
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\leftmargin 3cm
\topmargin 3cm
\rightmargin 3cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default
\layout Standard
\latex latex
\lang american
\backslash
begin{frontmatter}
\layout Title
\lang american
My Title
\layout Author
\lang american
Herbert Voss
\layout Address
\lang american
TU-Berlin
\layout Author
\lang american
Marco Bravi
\layout Address
\lang american
Universita Roma
\layout Abstract
\lang german
Bereits 1997 wurde das sogeannte Signaturgesetz vom Deutschen Bundestag
verabschiedet.
Drei Jahre danach fehlen noch immer entsprechende Anwendungsordnungen,
denn ein Gesetz zu erlassen ist eine Sache, die Umsetzung in den Alltag
eine v�llig andere.
So ist momentan �berhaupt noch nicht sicher, wohin eigentlich das Schiff
steuern wird.
Ist es doch eine Mentalit�tsfrage oder behindert die Politik schlichtweg
eine entsprechende technische und wirtschaftliche Entwicklung, um nun endlich
z.B.
ein Auto �ber das Internet zu bestellen.
Die technischen und mathematischen Voraussetzungen sind durch die intensive
Besch�ftigung mit Themen der Kryptologie hinreichend gegeben.
\layout Standard
\latex latex
\lang american
\backslash
end{frontmatter}
\layout Section
\lang american
Introduction
\layout Standard
\lang german
Meyers Hand-Lexikon aus dem Jahre 1883 kennt nur den Begriff
\emph on
Kryptographie
\begin_float footnote
\layout Standard
\lang german
Das Wort entstammt dem Griechischen:
\emph on
kryptos
\emph default
(
\begin_inset Formula \( \kappa \varphi \upsilon \pi \tau \varepsilon \iota \nu \)
\end_inset
- geheim/verbergen),
\emph on
logos
\emph default
(
\begin_inset Formula \( o\lambda o\gamma o\zeta \)
\end_inset
- Sinn),
\emph on
graphein
\emph default
(
\begin_inset Formula \( \gamma \rho \alpha \varphi \varepsilon \iota \nu \)
\end_inset
- schreiben).
\end_float
\lang german
und verweist auf den Eintrag
\emph on
Chiffre
\emph default
, unter dem man folgendes findet:
\layout Quote
\lang german
Zahlzeichen, Ziffer;
\emph on
C.schrift
\emph default
, Geheimschrift, seit Richelieu im diplomatischen Verkehr angewandt, wird
gelesen mittels der
\emph on
Dechiffrierkunst
\emph default
mit und ohne dazugeh�rigen Schl�ssel, im letzteren Fall schwierig;
\emph on
Chiffrierb�reaus
\emph default
, die dazu bestimmte Beh�rde mit den n�tigen
\emph on
Dechiffreuren
\emph default
.
\layout Standard
\lang german
Bereits vor mehr als 2400 Jahren schrieb Aeneas Tacticus ein Werk mit dem
�bersetzten Titel
\emph on
Zur Verteidigung von Befestigungsanlagen
\emph default
, in dem ein Kapitel der kryptografischen Verfahren gewidmet ist.
Etwas sp�ter entwickelte Polybius
\begin_float footnote
\layout Standard
\lang german
200-120 v.Ch., griechischer Geschichtsschreiber, schrieb die erste bekannte
Universalgeschichte (40 B�nde)
\end_float
\lang german
sein nach ihm benanntes
\begin_inset Quotes eld
\end_inset
checkerboard
\begin_inset Quotes erd
\end_inset
, mit dem Buchstaben in Zeichen kodiert werden konnten.
Wie auf vielen anderen mathematischen Gebieten auch, waren es die Araber,
die sich erstmals der Kryptography von der theoretischen Seite n�herten.
1412 hat al-Kalka-shandi eine Enzyklop�die
\emph on
Subh al-a�sha
\emph default
ver�ffentlicht, die sich bereits mit H�ufigkeitsverteilungen von Zeichen
bei der Entschl�sselung unbekannter Texte besch�ftigte.
Der n�chste Aufschwung in der Anwendung kryptografischer Verfahren wurde
im Mittelalter durch den Vatikan und die italienischen Stadtstaaten eingeleitet.
Aus dieser Zeit gibt es noch erhaltende Verschl�sselungsmethoden des Italieners
Gabriele de Lavinde von Parma, die sich nach wie vor im Besitz des Vatikans
befinden.
\layout Standard
\the_end