How to insert a program into a lyx document?
Then in the window that will appear change the type to program listing and configure it as you need, for example you could want to enter the parameter language=Python (you can type a ? to view all the parameters). The insert->Program Listing feature works great.
What are some of LyX’s most used shortcuts?
Here are some of his most frequently used math shortcuts: Add new line to multi-line equation environment, if necessary creating multi-line (eqnarray) environment Move to next element of multi-element structure or multi-line environment Alt-m . Used for instance within ()’s or fraction. It will remove the ()’s or other component of fraction
Is there LaTeX support for LyX book document?
The code is small examples less than 20 lines. My Lyx document is using the Book document class. There should be an Insert -> Program Listing option. That uses listings Latex package, so you should have that installed. The support seems to have been added in Lyx 1.5, and from their screenshot, it seems it gives you a lot of customization options.
Where can I find the latest version of LyX?
This automatically uses the source code, and any change in the external source code will be visible in the LyX output. The latest version is available at http://www.taljaren.se/MinLyXTutorial.pdf
How do I load a graphic in LyX?
In Lyx load the Graphic as usual. Manually edit the textbox in which the path of the file is shown and make the path relative. Example directoy structure: In the insert graphics dialogue of file lyxfilename.lyx you would enter the following path:
How to put figures in a different folder in LyX?
If you want to have your figures in a different folder then the lyx files. You can follow this procedure: In Lyx load the Graphic as usual. Manually edit the textbox in which the path of the file is shown and make the path relative. Example directoy structure: