On Samstag, 22. November 2003 20:56, you wrote:
> > After the export I don't get the correct formatting for the document
> > (this was  OK in the Lyx files). I tryed to set the papersize to A4 in
> > Layout/Documet and the margins to 1 inch, but nothing changed.
> > Does somebody has an idea, what do I wrong? Please help me!
>
> Do you have the latex package called geometry installed? On a command
> prompt, type "kpsewhich geometry.sty" (w/o the quotes of course) and see
> if it returns a path to the file geometry.sty .. if not, then you need
> to install this package - should be downloadable from one of the
> standard sites.. LyX uses the geometry package to set the margins and
> specify the paper.. you can see this if you look at the .tex file that
> LyX creates - it will have something similar to the following:
>
> \usepackage{geometry}
> \geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1
>in}
>
> nirmal




Thank you for your help. Yes the package is installed 
(/usr/share/texmf/tex/latex/misc/geometry.sty). I think Latex use this:-)).
So, the left margin, and the top margin is now OK. But there is still a bit 
problem. If I write a long line, there isn`t a line break. 
Do you have any idea, where can I set this option?
/ I send the .lyx, .tex, .dvi files. /

Thanx you for the help.

Attachment: t.dvi
Description: TeX dvi file

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 5
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

mmmmmmmmmmmmmmmmmmmhhhhhhhhhhhhhhhhhhhhhhhkkkkkkkkkkkkkkkkkkkggggggggggggggggggg
ggggggggggggggggggggggggggtttttttttttttttttttttttttttttttttttzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzdddddddddddddddddddddddddddddddddddddddddddddddddwwwwwwwwwwwwwwww
wwwwwwwwwww
\layout Standard

\the_end
%% LyX 1.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
\setcounter{secnumdepth}{5}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
[EMAIL PROTECTED]

\usepackage{babel}
\makeatother
\begin{document}
mmmmmmmmmmmmmmmmmmmhhhhhhhhhhhhhhhhhhhhhhhkkkkkkkkkkkkkkkkkkkgggggggggggggggggggggggggggggggggggggggggggggtttttttttttttttttttttttttttttttttttzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzdddddddddddddddddddddddddddddddddddddddddddddddddwwwwwwwwwwwwwwwwwwwwwwwwwww
\end{document}

Reply via email to