On 14/04/2010 3:03 PM, Sajjad wrote:
It seems very obvious that i have get down more on the basics of LaTeX.
Even though i managed so far with LyX, without getting too much on LaTeX,
it will not take me any further.
Some of the options can be set by editing the from the LyX interface and
some of hem through inserting TEX code.
And i find that hard to decide which one is the better option to go with .
Regards
Sajjad
When a feature is already implemented in LyX, you should use it over TeX
code. For example, a \clearpage command can be put in TeX code, but it
is neater to use LyX's Import > Formatting > Clear Page.
When a feature is not already supported by LyX, it could be implemented.
LyX can be customized in many ways, which makes it quite powerful. To
list those options from the top of my head:
file formats and converters:
for inserting graphics from your favorite editor and what not.
layouts:
for new types of documents (closely linked to latex document classes)
modules:
for simple functionality not necessarily tied to a document type
(closely related to latex packages)
Mind you, editing a custom layout or module is something of an advanced
feature. It's not overly difficult in simple cases, but it sure can get
complicated, and relies on knowledge of LyX's syntax and of LaTeX in
many cases. When done properly, one can happily write text inside LyX
and not worry about "programming" your document so that it produces
output. But the starting point for new features will often be tried out
first in TeX code boxes, and then moved to a module or layout. And
sometimes one can be very happy with TeX code in the document and in the
preamble, as long as it works.
So whatever works for you, I guess. If you have specific issues we'll be
happy to help.
Regards,
Julien