On Feb 16 2008 12:08, rgheck wrote:
>
>> - What is  Insert > Program Listing  in LyX good for, compared to
>> LyX-Code environments?
>
> LyX-Code just uses a typewriter font, etc. Program Listing uses the
> LaTeX listings package, which provides a lot of other features,
> which can be invoked by right-clicking in a Listing inset, or at
> Document>Settings>Text Layout. There must be something about this
> in the LyX manuals, but I don't know where. Bo Peng is the one who
> implemented this, and he knows all about it.

The Embedded Objects has an URL to a very long document explaining
{listing} in and out - long, but eventually I found it

        basewidth=0.5em

to make it look like LyX-Code. The default 0.6em is quite "spacey".

>> - I would like to change the citation style so that square brackets [1] are
>> used instead of the default round brackets (2) that article.layout uses by
>> default. Is this probably a deeper change somewhere in /usr/share/lyx?
>
> This is set by BibTeX. How to change it depends upon your bibliography 
> settings
> and has nothing to do with the document class. You set your bibliography stuff
> under Doc>Set>Bib. To change the brackets, you'll have to add something to the
> preamble, but, again, what you add depends upon your settings.

Ok I seem to have solved that one too.


>> Manual split points should be "zero-width breaking spaces", something like a
>> hyphenation point (C-Minus), but without showing a hyphen iff it
>> wraps/"(white)hyphens" the word.
>
> I believe this has been implemented by Uwe for 1.6. It can't be backported to
> 1.5 because that would change the file format. But you can do it manually by
> putting " \linebreak[0]" in ERT where you want to allow the line to be broken.

Thanks, that is what I needed. :)


All points solved - big thanks!
Jan

Reply via email to