Chaka Ben wrote:
Hello Lyx-Users,
I am a total newbie to LyX from Germany. I really appreciate the ability of LyX
as an WYSIWYG-Program and the possibility to see how LyX converts inputs to the
LaTeX-Code.
But is there a possibility to change the LaTeX-Code within LyX? If not, how do
you change the LaTeX-Code if necessary?
You don't change latex code within LyX. You change the LyX document, and
that may of course result in changes to the generated latex code too.
If you want to see what happens immediately, use the "view" menu and
check "view source".
Note that LyX is *not* a latex editor, it is a document processor with
its own file format. LyX produce latex code as output, when printing
documents. (LyX uses latex as its printing engine.)
If you need different latex-code, then write things differently in LyX.
LyX supports many latex constructs directly. (sections, floats, tables,
math, footnotes, graphics and much more.)
If you need something that isn't supported, then use "Insert->TeX code".
You get a little red box, into which you can type latex code exactly as
you want it.
Helge Hafting