Hi there,

I have a problem with my Lyx. When I export my files to latex I Lyx
writes following preamble:
-----------------------------begin---------------------------------------------
%% LyX 1.5.6 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{setspace}
\onehalfspacing
\usepackage{amssymb}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{a4wide}
\usepackage{epic}
\usepackage{eepic}
----------------------------------------end-------------------------------

As a consequence the contents of the page is moved down. It means that
there is a big margin at the top and some of the contents does not fit
at the bottom.
But if I move the line \usepackage{a4wide} like follows:

-------------------------------------begin-----------------------------
%% LyX 1.5.6 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{a4wide}
\usepackage{setspace}
\onehalfspacing
\usepackage{amssymb}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{epic}
\usepackage{eepic}
-----------------------------end----------------------------

Then everything is OK. Is there any way to force lyx to put the line at
the front??

I have the some problem under PLD-linux and MAC OS X.

Thanks for any help in advance.

Best regards

greg
  • Preamble Grzesiek Sójka

Reply via email to