Am 12.01.22 um 13:22 schrieb Joseph Hesse via lyx-users:
I am writing a programing book and want to have programs that have
been prepared with a text editor included in the book. This is what I
have done so far.
Insert->File->Child Document
File: CodeListings/Test.cpp
Include Type: Program Listing
Caption: My Caption
Label: First Program
More Parameters: numbers=left, frame=tb, caption=b, float
It sort of works but I need assistance.
The caption I have set above does not appear on the bottom as
"caption=b" would suggest.
The label I have set above does not appear anywhere.
I would like the text of the inserted program to have "typewriter"
font and be colored green. How do I do this.
Am I on the right track, is the above the correct way of doing what I
want?
Use /Insert -> Program Listing/ option.
Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users