On Sun, Sep 08, 2002 at 01:52:04PM +0200, Philip Gr�ting wrote:
> when I include an algorithm float, there is always about 2cm of space to the
> left of each line. Where and how can I overwrite that value? As well, I

The space is not generated by algorithm float, but by the LyX-code layout.

> would like to change the default font size used in an algorithm float to
> "small" and the font to "lyx-code"...

To change the size of the left margin in the LyX-Code layout, and change the
font to small, put the following lines in the preamble:

 \renewenvironment{lyxcode}
   {\begin{list}{}{
     \setlength{\leftmargin}{0in} %% <- You can change the value here
     \raggedright
     \setlength{\itemsep}{0pt}
     \setlength{\parsep}{0pt}
     \normalfont\ttfamily\small}%
    \item[]}
   {\end{list}}

Reply via email to