#LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 486
+\lyxformat 503
\begin_document
\begin_header
+\origin unavailable
\textclass scrbook
\begin_preamble
% DO NOT ALTER THIS PREAMBLE!!!
% the documentation team
% email: lyx-docs@lists.lyx.org
-\usepackage{ifpdf} % part of the hyperref bundle
-\ifpdf % if pdflatex is used
-
- % set fonts for nicer pdf view
- \IfFileExists{lmodern.sty}
- {\usepackage{lmodern}}{}
-
-\fi % end if pdflatex is used
-
% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\let\myTOC\tableofcontents
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\@ifundefined{extrasenglish}{\usepackage[english]{babel}}{}
-\addto\extrasenglish{%
- \renewcommand*{\equationautorefname}[1]{}%
- \renewcommand{\sectionautorefname}{sec.\negthinspace}%
- \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
- \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
-}
+\@ifpackageloaded{babel}{
+ \addto\extrasenglish{%
+ \renewcommand*{\equationautorefname}[1]{}%
+ \renewcommand{\sectionautorefname}{sec.\negthinspace}%
+ \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
+ \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
+ }
+}{}
\end_preamble
\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false
logicalmkup
\end_modules
\maintain_unincluded_children false
-\begin_local_layout
-Format 35
-InsetLayout Flex:MenuItem
-LyxType charstyle
-LabelString menu
-LatexType command
-LatexName menuitem
-Font
-Family Sans
-EndFont
-Preamble
-\newcommand*{\menuitem}[1]{{\sffamily #1}}
-EndPreamble
-End
-# In case we need to do with sans...
-#InsetLayout CharStyle:Code
-#Font
-#Family Sans
-#EndFont
-#Preamble
-#\renewcommand{\code}[1]{{\sffamily #1}}
-#EndPreamble
-#End
-\end_local_layout
\language english
\language_package default
\inputencoding auto
\fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
+\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
\graphics default
-\default_output_format default
+\default_output_format pdf2
\output_sync 0
\bibtex_command default
\index_command default
\papercolumns 1
\papersides 2
\paperpagestyle headings
-\tracking_changes true
+\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict true
-\author -712698321 "Jürgen Spitzmüller"
-\author -195340706 "Georg Baum"
-\author 155139281 "Jrgen Spitzmller"
-\author 274215730 "scott"
\end_header
\begin_body
\begin_inset Newline newline
\end_inset
-Version 2.1.x
+Version 2.2.x
\end_layout
\begin_layout Standard
Before continuing to read this chapter, you should find out where your
\SpecialChar LyX
library and user directories are by using
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset space ~
\end_inset
-\SpecialChar LyX
-
+LyX
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
and the latter
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
's behavior.
You can change many of these files from within \SpecialChar LyX
itself through the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
\begin_layout Standard
The files, which are to be found in
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
It is currently unused by the \SpecialChar LyX
program itself, but the information extracted,
and more, is made available with
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
contains example files that explain how to use some features.
In the file browser, press the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
contains image files that are used by the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
contains some files that demonstrate the capabilities of the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
template files described in
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Creating-Templates"
+reference "subsec:Creating-Templates"
\end_inset
this file contains the list of \SpecialChar LyX
developers.
The contents are displayed with the menu entry
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset space ~
\end_inset
-\SpecialChar LyX
-
+LyX
\end_layout
\end_inset
\end_inset
this file contains the templates available to the new
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
(see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:I18n"
+reference "subsec:I18n"
\end_inset
\end_inset
in
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset space ~
\end_inset
-\SpecialChar LyX
-
+LyX
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
\begin_layout Itemize
The preferences set in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Itemize
When you reconfigure using
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
will be added to the list of classes in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
and the items in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
subdirectory, however, since it contains a file written by the configuration
script (also accessible through
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
The first step is to define your file formats if they are not already defined.
To do so, open the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
dialog.
Under
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
press the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
button to define your new format.
The
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
field contains the name used to identify the format in the GUI.
The
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
You will also need to enter a file extension.
These are all required.
The optional
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
field is used to provide a keyboard shortcut on the menus.
(For example, pressing
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
will
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
A Format can have a
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
and an
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
associated with it.
For example, you might want to use
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
next section.
The viewer is launched when you view an image in \SpecialChar LyX
or use the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
menu.
The editor is for example launched when you right-click on an image and
choose
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
The
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
The
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
), the format will appear in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
menu.
The format will also appear in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
The option
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
that a format can contain vector graphics.
This information is used to determine the target format of included graphics
for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
export.
Included graphics may need to be converted to either
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
,
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
, or
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
, since
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
cannot handle other image formats.
If an included graphic is not already in
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
,
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
, or
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
format, it is converted to
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
if the vector format option is set, and otherwise to
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
—and make it executable, if you need to do so on your platform.
Then, in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
dialog, select under
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
into the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
For example, if appropriate programs are found, \SpecialChar LyX
will automatically install
copiers for the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
and
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-conv
+LyXconv
\end_layout
\end_inset
\end_inset
, so HTML generated from
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
will end up in
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
-/path/to/filename.html.\SpecialChar LyX
-conv
+/path/to/filename.html.LyXconv
\end_layout
\end_inset
\begin_layout Standard
You can define your own Converters to convert files between different formats.
This is done in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
To define a new converter, select the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
and
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
from the drop-down lists, enter the command needed for the conversion,
and then press the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
In the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Needs the \SpecialChar LaTeX
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
The following three flags are not really flags at all because they take
an argument in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Enumerate
Directly, using
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Enumerate
via (DVI and) PostScript, using
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Enumerate
via DVI, using
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Enumerate
directly using
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Enumerate
directly using
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
.
For example, in the standard configuration, the formats named
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
(for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
),
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
(for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
),
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
(for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
),
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
(for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
), and
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
(for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
) are defined, all of which share the extension
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
--file could be added to the \SpecialChar LyX
+ file could be added to the \SpecialChar LyX
distribution, so others can use it.
Adding it involves making additional changes to \SpecialChar LyX
.
\begin_layout Standard
The online documentation (in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir/doc/xx/DocName.lyx
+LyXDir/doc/xx/DocName.lyx
\end_layout
\end_inset
\end_inset
(
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Itemize
Sometimes the original document (from the \SpecialChar LyX
--team) will be updated.
+ team) will be updated.
Use the source viewer at
\begin_inset CommandInset href
LatexCommand href
\begin_layout Standard
An example of a
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
statement to cause the symbol
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
to be output for the keystroke
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\family default
Note that a
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\family default
\emph default
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
This allows you to press
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\family default
\shape default
in this case cancels the last dead key, so if you press
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
For example, in order to map
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
.
You could bind the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
file.
Now, whenever you type the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
never takes a circumflex accent.
Hitting
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Please note this last point! If you bind a key to a dead-key, you'll need
to rebind the character on that key to yet another key.
Binding the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
One common way to bind dead-keys is to use
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
,
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
, and
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
acts in some ways just like
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
files.
I have my
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
symbolic keys bound such things as
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
and
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
key: One of the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
You can edit your preferences so that your desired language environment
is automatically configured when \SpecialChar LyX
starts up, via the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\backslash
Programs
\backslash
-MiK\SpecialChar TeX
-
+MiKTeX
\backslash
tex
\backslash
\backslash
Programme
\backslash
-MiK\SpecialChar TeX
-
+MiKTeX
\backslash
tex
\backslash
status collapsed
\begin_layout Plain Layout
-MiK\SpecialChar TeX
-
+MiKTeX
\backslash
2.8
\backslash
\backslash
2.8
\backslash
-MiK\SpecialChar TeX
-
+MiKTeX
\backslash
tex
\backslash
that there are new packages available.
So, in \SpecialChar LyX
, use the menu
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset space ~
\end_inset
-(FoilTe
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-x)
+(FoilTex)
\end_layout
\end_inset
will now be available under
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
If you would like to use a \SpecialChar LaTeX
document class that is not even listed in the
menu
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Layout modules
\begin_inset CommandInset label
LatexCommand label
-name "sub:Layout-modules"
+name "subsec:Layout-modules"
\end_inset
requires editing that file.
Modules, by contrast, are selected in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
appear in the menu.
However, changes you make to the module will be seen immediately, if you
open
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
Layout for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
document class.
For the sake of the example, we'll assume that the style file is called
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
and that it is meant to be used with
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
Start \SpecialChar LyX
and select
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Then restart \SpecialChar LyX
and try creating a new document.
You should see "
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
" as a document class option in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
If
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout LyX-Code
#
\backslash
-Declare\SpecialChar LyX
-Module{My Package}
+DeclareLyXModule{My Package}
\end_layout
\begin_layout LyX-Code
\begin_layout Subsection
Layout for
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
There are two possibilities here.
One is that the class file is itself based upon an existing document class.
For example, many thesis classes are based upon
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Creating templates
\begin_inset CommandInset label
LatexCommand label
-name "sub:Creating-Templates"
+name "subsec:Creating-Templates"
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir/templates/
+LyXDir/templates/
\end_layout
\end_inset
to the same place, and redefine the template path in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
.
This template is loaded every time you create a new document with
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
To create this template from inside \SpecialChar LyX
, all you have to do is to open a document
with the correct settings, and use the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-python \SpecialChar LyX
-Dir/scripts/layout2layout.py myclass.old myclass.layout
+python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir
+LyXDir
\end_layout
\end_inset
\size small
#
\backslash
-DeclareLaT
-\size default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-
-\size small
-eXClass{Article (Standard Class)}
+DeclareLaTeXClass{Article (Standard Class)}
\end_layout
\begin_layout LyX-Code
\end_inset
that appears above is used as a description of the text class in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
in the example) is also used in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\size small
#
\backslash
-DeclareLaT
-\size default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-
-\size small
-eXClass[article]{Article (with My Own Headings)}
+DeclareLaTeXClass[article]{Article (with My Own Headings)}
\end_layout
\begin_layout LyX-Code
\size small
#
\backslash
-DeclareLaT
-\size default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-
-\size small
-eXClass[article,foo.sty]{Article (with My Own Headings)}
+DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
\end_layout
\begin_layout LyX-Code
\size small
#
\backslash
-DeclareLaT
-\size default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-
-\size small
-eXClass[class,package.sty]{layout description}
+DeclareLaTeXClass[class,package.sty]{layout description}
\end_layout
\begin_layout LyX-Code
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir/layouts/
+LyXDir/layouts/
\end_layout
\end_inset
\end_inset
, run
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
You can force a reload of the current layout by using the \SpecialChar LyX
function
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Warning
\emph default
:
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout LyX-Code
#
\backslash
-DeclareL
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-yXModule[endnotes.sty]{Endnotes}
+DeclareLyXModule[endnotes.sty]{Endnotes}
\end_layout
\begin_layout Standard
The mandatory argument, in curly brackets, is the name of the module, as
it should appear in
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
packages
on which the module depends.
It is also possible to use the form
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout LyX-Code
#You will need to add
\backslash
-theendnotes in \SpecialChar TeX
- code where you
+theendnotes in TeX code where you
\end_layout
\begin_layout LyX-Code
\begin_layout Standard
The description is used in
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
\begin_inset CommandInset label
LatexCommand label
-name "sub:General-text-class"
+name "subsec:General-text-class"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Citation-format-description"
+reference "subsec:Citation-format-description"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:ClassOptions"
+reference "subsec:ClassOptions"
\end_inset
\emph default
to having one or two columns.
Can be changed in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Counters"
+reference "subsec:Counters"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
\end_inset
] This is the style that will be assigned to new paragraphs, usually
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Modules have their own way of excluding other modules (see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Layout-modules"
+reference "subsec:Layout-modules"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Floats"
+reference "subsec:Floats"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Counters"
+reference "subsec:Counters"
\end_inset
\begin_inset Flex Code
status collapsed
-\begin_layout Plain Layout
-IfStyle
-\end_layout
-
-\end_inset
-
- [
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-<style>
-\end_layout
-
-\end_inset
-
-] Modifies the properties of the given paragraph style.
- If the style does not exist, the statement is ignored.
- Must end with
-\begin_inset Quotes eld
-\end_inset
-
-
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-End
-\end_layout
-
-\end_inset
-
-
-\begin_inset Quotes erd
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
-
\begin_layout Plain Layout
Input
\end_layout
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Flex-insets-and"
+reference "subsec:Flex-insets-and"
\end_inset
\begin_inset Flex Code
status collapsed
+\begin_layout Plain Layout
+ModifyStyle
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+<style>
+\end_layout
+
+\end_inset
+
+] Modifies the properties of the given paragraph style.
+ If the style does not exist, this section is ignored.
+ Must end with
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+End
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
\begin_layout Plain Layout
NoCounter
\end_layout
] The default pagestyle.
Can be changed in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset Flex Code
status collapsed
+\begin_layout Plain Layout
+ProvideStyle
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+<style>
+\end_layout
+
+\end_inset
+
+] Creates a new paragraph style if it does not already exist.
+ If the style does exist, this section is ignored.
+ Must end with
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+End
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
\begin_layout Plain Layout
Requires
\end_layout
\end_inset
- for the list of features.)
+ for the list of features.).
+ If you require a package with specific options, you can additionally use
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+PackageOptions
+\end_layout
+
+\end_inset
+
+.
\end_layout
\begin_layout Description
] Whether the class-default should be printing on one or both sides of the
paper.
Can be changed in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
section
\begin_inset CommandInset label
LatexCommand label
-name "sub:ClassOptions"
+name "subsec:ClassOptions"
\end_inset
Paragraph styles
\begin_inset CommandInset label
LatexCommand label
-name "sub:Paragraph-Styles"
+name "subsec:Paragraph-Styles"
\end_inset
The font used for the argument content, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
The font used for the label; see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
layout can be automatically inserted.
\end_layout
-\begin_layout Standard
-By default, the text entered in the \SpecialChar LyX
- workarea in the respective layout is
- the last (mandatory) argument of a command if the
+\begin_layout Itemize
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-LatexType
+InsertCotext
\end_layout
\end_inset
- is
+
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-Command
+[int=0]
\end_layout
\end_inset
-.
- However, arguments with the prefix
+ If this is set to
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-post:
+1
\end_layout
\end_inset
- are output after this workarea argument.
- Note that post-argument numbering restarts at 1, so the first argument
- following the workarea argument is
+, this argument will be inserted with a copy of the co-text (either selected
+ text or the whole paragraph) as content.
+\end_layout
+
+\begin_layout Itemize
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+PassThruChars
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string of characters
+\end_layout
+
+\end_inset
+
+]
+\family typewriter
+
+\family default
+Defines individual characters that should be output in raw form, meaning
+ without special translations that \SpecialChar LaTeX
+ would require.
+ Note that, contrary to PassThru, this needs to be explicitly defined for
+ arguments.
+ That is, arguments do not inherit PassThruChars from their parent inset
+ or layout.
+\end_layout
+
+\begin_layout Standard
+By default, the text entered in the \SpecialChar LyX
+ workarea in the respective layout is
+ the last (mandatory) argument of a command if the
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LatexType
+\end_layout
+
+\end_inset
+
+ is
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Command
+\end_layout
+
+\end_inset
+
+.
+ However, arguments with the prefix
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+post:
+\end_layout
+
+\end_inset
+
+ are output after this workarea argument.
+ Note that post-argument numbering restarts at 1, so the first argument
+ following the workarea argument is
\begin_inset Flex Code
status collapsed
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:I18n"
+reference "subsec:I18n"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Style-XHTML"
+reference "subsec:Paragraph-Style-XHTML"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Counters"
+reference "subsec:Counters"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
in
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Counters"
+reference "subsec:Counters"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:I18n"
+reference "subsec:I18n"
\end_inset
\end_inset
can be defined in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
means that the left margin depends on the string entered in the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset Flex Code
status collapsed
+\begin_layout Plain Layout
+ParagraphGroup
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+0
+\end_layout
+
+\end_inset
+
+,
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+
+] Determines whether consecutive pragraphs of the same type are treated
+ as belonging together.
+ This has the effect that the
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+GuiLabel
+\end_layout
+
+\end_inset
+
+ is only printed once before such a group.
+ By default, this is true for
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LaTeXType
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Environment
+\end_layout
+
+\end_inset
+
+ and
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Bib_Environment
+\end_layout
+
+\end_inset
+
+ and false for all other types.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
\begin_layout Plain Layout
ParbreakIsNewline
\end_layout
] Whether the contents of this paragraph should be output in raw form, meaning
without special translations that \SpecialChar LaTeX
would require.
-\change_inserted 155139281 1429534178
-
\end_layout
\begin_layout Description
-
-\change_inserted 155139281 1429534242
-
-\lang ngerman
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\change_inserted 155139281 1429534178
PassThruChars
\end_layout
\end_inset
-
-\lang english
[
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\change_inserted 155139281 1429534178
-string of characters
+string
\end_layout
\end_inset
Defines individual characters that should be output in raw form, meaning
without special translations that \SpecialChar LaTeX
would require.
-\change_unchanged
-
\end_layout
\begin_layout Description
\end_inset
-.
- See the description of
+ (see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "chap:List-of-functions"
+
+\end_inset
+
+ for the list of features).
+ If you require a package with specific options, you can additionally use
+
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-Provides
+PackageOptions
\end_layout
\end_inset
- above (
+ as a general text class parameter (see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:General-text-class"
+reference "subsec:General-text-class"
\end_inset
-) for information on `features'.
+).
\end_layout
\begin_layout Description
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
\series default
The level of the style in the table of contents.
This is used for automatic numbering of section headings.
-\change_inserted -712698321 1401363541
-
\end_layout
\begin_layout Description
-
-\change_inserted -712698321 1401363906
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1401363547
ToggleIndent
\end_layout
\begin_layout Plain Layout
-\change_inserted -712698321 1401363664
-
\emph on
default
-\change_unchanged
-
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1401363669
always
-\change_unchanged
-
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1401363675
never
-\change_unchanged
-
\end_layout
\end_inset
\begin_layout Plain Layout
-\change_inserted -712698321 1401363761
-
\emph off
default
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1401363844
always
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1401363901
never
\end_layout
\end_inset
, indentation can never be toggled.
-\change_unchanged
-
\end_layout
\begin_layout Description
\begin_layout Subsection
\begin_inset CommandInset label
LatexCommand label
-name "sub:I18n"
+name "subsec:I18n"
\end_inset
Floats
\begin_inset CommandInset label
LatexCommand label
-name "sub:Floats"
+name "subsec:Floats"
\end_inset
\begin_layout Standard
It is necessary to define the floats (
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
,
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset Flex Code
status collapsed
+\begin_layout Plain Layout
+AllowedPlacement
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=!htbpH] Allowed placement options for this float type.
+ The value is a string of placement characters.
+ Possible characters include:
+\emph on
+h
+\emph default
+ (
+\begin_inset Quotes eld
+\end_inset
+
+here if possible
+\begin_inset Quotes erd
+\end_inset
+
+),
+\emph on
+t
+\emph default
+ (
+\begin_inset Quotes eld
+\end_inset
+
+top of page
+\begin_inset Quotes erd
+\end_inset
+
+),
+\emph on
+b
+\emph default
+ (
+\begin_inset Quotes eld
+\end_inset
+
+bottom of page
+\begin_inset Quotes erd
+\end_inset
+
+),
+\emph on
+p
+\emph default
+ (
+\begin_inset Quotes eld
+\end_inset
+
+page of floats
+\begin_inset Quotes erd
+\end_inset
+
+),
+\emph on
+H
+\emph default
+ (
+\begin_inset Quotes eld
+\end_inset
+
+here definitely
+\begin_inset Quotes erd
+\end_inset
+
+) and
+\emph on
+!
+\emph default
+ (
+\begin_inset Quotes eld
+\end_inset
+
+ignore LaTeX rules
+\begin_inset Quotes erd
+\end_inset
+
+).
+ The order of the characters in the string does not matter.
+ If no placement options are allowed, use the string
+\emph on
+none
+\emph default
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+AllowsSideways
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\emph off
+0
+\end_layout
+
+\end_inset
+
+,
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\emph on
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\emph on
+1
+\end_layout
+
+\end_inset
+
+
+\emph default
+] Defines whether the float allows to be rotated via the \SpecialChar LaTeX
+-package
+\family typewriter
+rotfloat
+\family default
+ (sidewaysfloat).
+ Set to
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+0
+\end_layout
+
+\end_inset
+
+ if the float does not support this feature.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+AllowsWide
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\emph off
+0
+\end_layout
+
+\end_inset
+
+,
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\emph on
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\emph on
+1
+\end_layout
+
+\end_inset
+
+
+\emph default
+] Defines whether the float has a starred variant that spans columns in
+ a two column paragraph.
+ Set to
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+0
+\end_layout
+
+\end_inset
+
+ if the float does not support this feature.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
\begin_layout Plain Layout
Extension
\end_layout
Flex insets and InsetLayout
\begin_inset CommandInset label
LatexCommand label
-name "sub:Flex-insets-and"
+name "subsec:Flex-insets-and"
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Type
+LyXType
\end_layout
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
Preamble for changing language commands; see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:I18n"
+reference "subsec:I18n"
\end_inset
] As with paragraph styles, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
\end_inset
later if you want them to be different.
-\change_inserted -195340706 1421002157
-
\end_layout
\begin_layout Description
-
-\change_inserted -195340706 1421002157
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -195340706 1421002157
FixedWidthPreambleEncoding
\end_layout
\begin_layout Plain Layout
-\change_inserted -195340706 1421002157
-
\emph on
0
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -195340706 1421002157
1
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -195340706 1421002157
BabelPreamble
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -195340706 1421002157
LangPreamble
\end_layout
\end_inset
code generated by this layout.
- This is needed for special packages like the listings package that do not
- work with variable width encodings such as utf8.
- Default is false.
- This setting is ignored if fully unicode aware \SpecialChar LaTeX
- backends such as Xe\SpecialChar LaTeX
- are
- used.
-\change_unchanged
-
+ This is needed for special \SpecialChar LaTeX
+-packages like
+\family typewriter
+listings
+\family default
+ that do not work with variable width encodings such as
+\family sans
+utf8
+\family default
+.
+ This setting is ignored if fully Unicode aware \SpecialChar LaTeX
+ backends such as Xe\SpecialChar TeX
+ or
+ Lua\SpecialChar TeX
+ are used.
\end_layout
\begin_layout Description
in \SpecialChar TeX
code or URL.
A kludge.
-\change_inserted -712698321 1417441977
-
\end_layout
\begin_layout Description
-
-\change_inserted -712698321 1417442090
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1417441983
ForceOwnlines
\end_layout
\begin_layout Plain Layout
-\change_inserted -712698321 1417441978
-
\emph on
0
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1417441978
1
\end_layout
output before the inset starts and after
the inset ends.
This assures the inset itself is output on its own lines, for parsing purposes.
-
-\change_inserted 274215730 1419105878
- Default is false.
-\change_unchanged
-
\end_layout
\begin_layout Description
] As with paragraph styles, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
] As with paragraph styles, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
Language dependent preamble; see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:I18n"
+reference "subsec:I18n"
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Type
+LyXType
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Type
+LyXType
\end_layout
\end_inset
\end_inset
.
-\change_inserted -712698321 1417953494
-
\end_layout
\begin_layout Description
-
-\change_inserted -712698321 1417953559
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1417953494
ObsoletedBy
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1417953574
<layout>
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1417953533
InsetLayout
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1417953551
InsetLayout
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\change_inserted -712698321 1417953559
InsetLayout
\end_layout
\end_inset
, while keeping backward compatibility.
-\change_unchanged
-
\end_layout
\begin_layout Description
] As with paragraph styles, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
] As with paragraph styles, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
As with paragraph styles, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
] As with paragraph styles, see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Paragraph-Styles"
+reference "subsec:Paragraph-Styles"
\end_inset
Counters
\begin_inset CommandInset label
LatexCommand label
-name "sub:Counters"
+name "subsec:Counters"
\end_inset
\begin_layout Standard
It is necessary to define the counters (
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\end_inset
,
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
Font description
\begin_inset CommandInset label
LatexCommand label
-name "sub:Font-description"
+name "subsec:Font-description"
\end_inset
\begin_layout Subsection
\begin_inset CommandInset label
LatexCommand label
-name "sub:Citation-format-description"
+name "subsec:Citation-format-description"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:General-text-class"
+reference "subsec:General-text-class"
\end_inset
\begin_layout Subsection
\begin_inset CommandInset label
LatexCommand label
-name "sub:Paragraph-Style-XHTML"
+name "subsec:Paragraph-Style-XHTML"
\end_inset
(see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Floats"
+reference "subsec:Floats"
\end_inset
See
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Citation-format-description"
+reference "subsec:Citation-format-description"
\end_inset
declaration (see
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Font-description"
+reference "subsec:Font-description"
\end_inset
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
comes with predefined templates for Xfig figures, various
raster format images, chess diagrams, and LilyPond music notation.
You can check the actual list by using the menu
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-\SpecialChar LyX
-Dir/lib/external_templates
+LyXDir/lib/external_templates
\end_layout
\end_inset
\begin_inset space ~
\end_inset
-\SpecialChar LaTeX
-|PDF\SpecialChar LaTeX
-|PlainText|DocBook
+LaTeX|PDFLaTeX|PlainText|DocBook
\end_layout
\end_inset
The file format of the converted file.
This must be the name of a format that is known to \SpecialChar LyX
(see the
-\begin_inset Flex MenuItem
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
\begin_inset Flex Code
status collapsed
+\begin_layout Plain Layout
+$$pngOrjpg
+\end_layout
+
+\end_inset
+
+ This will be the string
+\begin_inset Quotes eld
+\end_inset
+
+jpg
+\begin_inset Quotes erd
+\end_inset
+
+ if the file is in JPEG format, otherwise it will be the string
+\begin_inset Quotes eld
+\end_inset
+
+png
+\begin_inset Quotes erd
+\end_inset
+
+.
+ This is useful to avoid uneeded conversions for output formats that support
+ both PNG and JPEG fomats.
+ The predefined RasterImage template uses this macro for the pdf\SpecialChar TeX
+ output
+ format.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
\begin_layout Plain Layout
$$FName
\end_layout