-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 459
\begin_document
\begin_header
\textclass scrbook
\cleardoublepage
\pagenumbering{arabic}}
-
-% used for multi-column text
-\usepackage{multicol}
-
% extra space for tables
\newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
\end_preamble
logicalmkup
theorems-ams
theorems-ams-extended
+multicol
+shapepar
\end_modules
\maintain_unincluded_children false
\begin_local_layout
\font_roman default
\font_sans default
\font_typewriter default
+\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
-
\graphics default
\default_output_format default
\output_sync 0
\pdf_backref false
\pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
-\papersize default
+\papersize a4paper
\use_geometry false
-\use_amsmath 1
-\use_esint 0
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
+\justification true
\use_refstyle 1
+\notefontcolor #0000ff
\index Index
\shortcut idx
\color #008000
\end_layout
\begin_layout Standard
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:code-LaTeX"
-
-\end_inset
-
Vous pouvez faire en LyX tout ce que vous faites en LaTeX, pour une raison
très simple: vous pouvez toujours insérer du code LaTeX dans un document
LyX.
\end_inset
- pour plus de détails, et lisez le chapitre
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "chap:Fonctionnalités-particulières"
-
-\end_inset
-
-.
+ pour plus de détails.
\end_layout
\begin_layout Standard
LaTeX
\family default
risque de ne pas être visible en une fois, même en plein écran.
- Il y a aussi d'autres exemples et un assortiment de
-\begin_inset Quotes fld
-\end_inset
-
-trucs et astuces
-\begin_inset Quotes frd
-\end_inset
-
- LaTeX dans le chapitre
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "chap:Fonctionnalités-particulières"
-
-\end_inset
-
-.
\end_layout
\begin_layout Section
\begin_layout Subsection
Bibliographies sectionnées
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Bibliographies-sectionnées"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Section
Article (mwart), book (mwbk) and report (mwrep)
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
\lang french
et la commande est donc grisée si celui-ci n'est pas installé.
- Vous pouvez vous le procurer de CTAN,
+ Vous pouvez vous le procurer de CTAN,
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset CommandInset href
LatexCommand href
target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
\end_layout
\begin_layout Standard
-Si le programme est installé, l'employer est un jeu d'enfant : faites
+Si le programme est installé, l'employer est un jeu d'enfant : faites
+\begin_inset Newline newline
+\end_inset
+
+
\family sans
Outils\SpecialChar \menuseparator
Correction
\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\lang english
file revision information.
- The result comes from parsing the output of
+ The result comes from parsing the output of
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Flex Code
status collapsed
new project
\family default
in Windows Explorer, right click it, and select
-\family typewriter
-TortoiseSVN > Repo-browser
+\family sans
+TortoiseSVN\SpecialChar \menuseparator
+Repo-browser
\family default
.
If necessary, adjust the URL for the repository, then click OK.
\lang english
Right click the level of the repository under which you want to place the
new project folder (typically the top level) and click
-\family typewriter
-Create folder\SpecialChar \ldots{}
-
+\family sans
+Create folder
\family default
Supply a name for the project folder and click OK.
Add a message for the log file if desired, then click OK again.
\lang english
Create or open your document in LyX and click
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
\begin_inset space ~
\end_inset
Control\SpecialChar \menuseparator
-
-\bar under
-R
-\bar default
-egister.
+Register.
\family default
Add a log message and click OK to commit the document to version control.
\lang english
From this point onward, you should have full functionality in the
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
\begin_inset space ~
\end_inset
\end_inset
-, section [tunnels], setup ssh command, e.g.
-
+, section [tunnels], setup ssh command, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Flex Code
status collapsed
\begin_layout Enumerate
\lang english
-Checkout the SVN archive, e.g.
-
+Checkout the SVN archive, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Flex Code
status collapsed
\begin_layout Standard
LyX vous permet d'entrer du code par l'intermédiaire d'un format nommé
-\family sans
-Scrap
-\begin_inset Foot
+\lang english
+
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
-\family sans
-\noun on
-Le terme équivalent sous Noweb est
-\begin_inset Quotes fld
-\end_inset
-
+\lang english
Chunk
-\begin_inset Quotes frd
-\end_inset
-
-.
- Pour des raisons historiques, j'ai gardé le terme
-\begin_inset Quotes fld
-\end_inset
-
-scrap
-\begin_inset Quotes frd
-\end_inset
-
- d'un autre outil littéraire appelé Nuweb, que j'ai utilisé bien des années
- avant de me convertir à Noweb.
\end_layout
\end_inset
-\family default
+\lang french
.
- Noweb délimite les scraps ainsi :
+ Noweb délimite les
+\lang english
+chunks
+\lang french
+ ainsi :
\end_layout
\begin_layout LyX-Code
-<<Mon scrap>>=
+<<Mon code>>=
\end_layout
\begin_layout LyX-Code
\family default
doit être pris tel quel, c'est-à-dire que LyX ne doit faire aucune interprétati
on de ce qui a été écrit.
- C'est géré par un environnement spécial appelé
-\family sans
-Scrap
-\family default
-, qui fonctionne comme un paragraphe normal mais qui présente une totale
- liberté en ce qui concerne l'espacement.
-\end_layout
+ C'est aussi géré par le environnement
+\lang ngerman
-\begin_layout Standard
-L'inconvénient de l'environnement de paragraphe
-\family sans
-Scrap
-\family default
- est que des paragraphes consécutifs de code vont être séparés par une ligne
- vide dans le code source et dans la documentation imprimée.
- Pour éviter ça, il faut donc, dans un
-\family sans
-Scrap
-\family default
- donné, finir chaque ligne de code par un saut de ligne (
-\family sans
-C-Entrée
-\family default
-) et non un
-\family sans
-Entrée
-\family default
- normal.
- L'exemple ci-dessus donnera donc
-\begin_inset Foot
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
-Sur un document imprimé, il n'y a aucune différence entre cet exemple et
- le précédent.
-\end_layout
-
-\end_inset
-
- :
-\end_layout
-
-\begin_layout LyX-Code
-<<Mon scrap>>=
-\begin_inset Newline newline
-\end_inset
-
- code
-\begin_inset Newline newline
-\end_inset
-
- encore du code
-\begin_inset Newline newline
-\end_inset
-
- toujours du code
-\begin_inset Newline newline
-\end_inset
-
- @
-\end_layout
-
-\begin_layout Standard
-Cet environnement fonctionne bien.
- Le seul réel inconvénient est de devoir taper
-\family sans
-C-Entrée
-\family default
- et non un simple
-\family sans
-Entrée
-\begin_inset Foot
-status collapsed
-\begin_layout Plain Layout
-Régler ce problème fait partie de la liste des améliorations à apporter.
+\lang ngerman
+Chunk
\end_layout
\end_inset
-\family default
-.
+\lang french
+, qui fonctionne comme un paragraphe normal mais qui présente une totale
+ liberté en ce qui concerne l'espacement.
\end_layout
\begin_layout Standard
\family default
- de Noweb dans vos scraps pour ajouter des éléments de référence croisée
- :
+ de Noweb dans vos
+\lang english
+chunks
+\lang french
+ pour ajouter des éléments de référence croisée :
\end_layout
\begin_layout LyX-Code
<<Mon scrap>>=
-\begin_inset Newline newline
-\end_inset
+\end_layout
- def une_fonction(param):
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+def une_fonction(param):
+\end_layout
- "C'est la documentation de cette fonction."
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+ "C'est la documentation de cette fonction."
+\end_layout
- print "Mes paramètres : ", param
+\begin_layout LyX-Code
+ print "Mes paramètres : ", param
\end_layout
\begin_layout LyX-Code
Remarquez que la seule différence est cette extension : LyX n'a rien de
particulier à faire.
Tant que vous avez utilisé l'environnement
-\family sans
-Scrap
-\family default
+\lang english
+
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Chunk
+\end_layout
+
+\end_inset
+
+
+\lang french
en entrant le texte, tout se passera sans problème.
\end_layout
\family sans
Convertisseur
\family default
-, doit contenir
+, doit contenir
+\begin_inset Newline newline
+\end_inset
+
+
\family typewriter
\begin_inset Quotes fld
:
\end_layout
-\begin_layout LyX-Code
-#!/bin/sh
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
\end_layout
-\begin_layout LyX-Code
-#
+\begin_layout Standard
+\begin_inset Newpage pagebreak
+\end_inset
+
+
\end_layout
-\begin_layout LyX-Code
-notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
+\begin_layout Standard
+
+\family sans
+#!/bin/sh
\end_layout
\begin_layout Standard
-L'autre partie de la définition du convertisseur est le champ
+
\family sans
-Autres
-\begin_inset space ~
-\end_inset
+#
+\end_layout
-Options
-\family default
- qui doit contenir
-\family typewriter
+\begin_layout Standard
-\begin_inset Quotes fld
-\end_inset
+\family sans
+notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
+\end_layout
-originaldir,parselog=listerrors
-\begin_inset Quotes frd
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The next part of the converter setting is the
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Flags
+\begin_inset Quotes erd
+\end_inset
+
+ which is to be set to
+\begin_inset Quotes eld
\end_inset
-\family default
-.
- Ça fera passer toutes les erreurs générées par
-\family typewriter
-build-script
-\family default
- à travers le programme
\family typewriter
-listerrors
+parselog=$$s/scripts/listerrors
\family default
+
+\begin_inset Quotes erd
+\end_inset
+
.
+\begin_inset Newline newline
+\end_inset
+
+This will run any errors that are generated by the
+\begin_inset Quotes eld
+\end_inset
+
+build-script
+\begin_inset Quotes erd
+\end_inset
+
+ process through the
+\begin_inset Quotes eld
+\end_inset
+
+listerrors
+\begin_inset Quotes erd
+\end_inset
+
+ program.
\end_layout
\begin_layout Standard
-La gestion des convertisseurs cherche le programme
-\family typewriter
-listerrors
-\family default
- d'abord dans
-\family typewriter
-\emph on
-MON_RÉPERTOIRE_LYX
-\emph default
-/scripts
-\family default
-, puis dans
+
+\lang english
+The build will normally take place in LyX's temporary directory, so the
+ files produced by the conversion will be in that directory.
+ LyX will copy out what it regards as the `main' file, but the
\family typewriter
-\emph on
-LIBDIR
-\emph default
-/scripts
+Noweb->Program
\family default
- puis dans le chemin d'accès par défaut.
+ conversion may produce several files, and so most of these would then be
+ deleted when LyX was closed.
+ This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
+ the build-script chunk can place the generated files in that location.
\end_layout
\begin_layout Paragraph
\end_layout
\begin_layout Standard
-La dernière partie de l'interface entre LyX et noweb est le scrap
+La dernière partie de l'interface entre LyX et noweb est le
+\lang english
+chunk
+\lang french
+
\begin_inset Quotes fld
\end_inset
.
En général, les instructions de compilation de votre programme doivent
- être regroupées dans un scrap à part.
+ être regroupées dans un
+\lang english
+chunk
+\lang french
+ à part.
Le
\family typewriter
build-script
\family typewriter
notangle
\family default
- pour rechercher ce scrap (appelé
+ pour rechercher ce
+\lang english
+chunk
+\lang french
+ (appelé
\begin_inset Quotes fld
\end_inset
\end_layout
\begin_layout Standard
-Typiquement, un tel scrap ressemble à ceci :
+Typiquement, un tel
+\lang english
+chunk
+\lang french
+ ressemble à ceci :
\end_layout
\begin_layout LyX-Code
<<build-script>>=
-\begin_inset Newline newline
-\end_inset
+\end_layout
+\begin_layout LyX-Code
#!/bin/sh
\begin_inset Newline newline
\end_inset
-
-\begin_inset Newline newline
-\end_inset
-
if [ -z "${NOWEB_SOURCE}" ]
\begin_inset Newline newline
\end_inset
then
-\begin_inset Newline newline
-\end_inset
+\end_layout
- NOWEB_SOURCE=mon_fichier.nw
+\begin_layout LyX-Code
+NOWEB_SOURCE=myfile.nw
\begin_inset Newline newline
\end_inset
\end_inset
[...
- code pour extraire les fichiers ...]
+ code to extract files ...
+ use NOWEB_OUTPUT_DIR here ...]
\begin_inset Newline newline
\end_inset
[...
- code pour compiler les fichiers ...]
+ code to compile files ...]
\begin_inset Newline newline
\end_inset
\emph default
/examples/listerrors.lyx
\family default
- ou dans
+ ou dans
+\begin_inset Newline newline
+\end_inset
+
+
\family typewriter
\emph on
LIBDIR
sur :
\end_layout
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
\end_layout
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
Ainsi, quand vous utilisez
\family typewriter
\family default
et
\family sans
-Scrap
+\lang english
+Chunk
\family default
+\lang french
.
Le dernier bouton est un raccourci vers la commande
\begin_inset Quotes fld
\end_layout
\begin_layout LyX-Code
- Icon "layout Scrap"
+ Icon "layout Chunk"
\end_layout
\begin_layout LyX-Code
.
Une des choses qui ennuient nombre d'entre nous est la couleur du code
LaTeX.
- La couleur par défaut est le rouge, or les scraps utilisent la police LaTeX,
- et comme il y a beaucoup de scraps dans un document de programmation littéraire
-, vous en aurez sûrement marre de tout voir en rouge.
+ La couleur par défaut est le rouge, or les
+\lang english
+chunks
+\lang french
+ utilisent la police LaTeX, et comme il y a beaucoup de
+\lang english
+chunks
+\lang french
+ dans un document de programmation littéraire, vous en aurez sûrement marre
+ de tout voir en rouge.
Vous pouvez la changer dans l'onglet
\family sans
Apparence\SpecialChar \menuseparator
plus.
\end_layout
-\begin_layout Chapter
-Fonctionnalités particulières
-\begin_inset CommandInset label
-LatexCommand label
-name "chap:Fonctionnalités-particulières"
+\begin_layout Subsection
-\end_inset
+\lang english
+LyX and knitr/Sweave
+\end_layout
+\begin_layout Standard
+
+\lang english
+Support for
+\family sans
+knitr
+\family default
+ and
+\family sans
+Sweave
+\family default
+ is documented in the
+\emph on
+knitr.lyx
+\emph default
+ example file and in the Sweave manual (menu
+\family sans
+Help\SpecialChar \menuseparator
+Specific Manuals
+\family default
+).
+\end_layout
+\begin_layout Chapter
+Fonctionnalités particulières
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-Le but de ce paragraphe est de montrer comment utiliser le paquetage
-\series bold
-multicol
-\series default
- dans un document LyX.
- LyX ne connaît pas encore le paquetage, vous devrez donc utiliser du code
- TeX.
-
-\end_layout
-
-\begin_layout Standard
-Le paquetage
-\series bold
-multicol
-\series default
- permet de
-\begin_inset Quotes frd
-\end_inset
-
-commuter entre une et plusieurs colonnes dans la même page.
- Les notes de bas de page sont correctement gérées, mais seront placées
- en bas de la page et non pas en bas de chaque colonne.
- Au sein de chaque colonne, vous pouvez utiliser n'importe quelle construction,
- à ceci près que l'option
-\begin_inset Flex MenuItem
-status collapsed
-
-\begin_layout Plain Layout
-Plusieurs colonnes
-\end_layout
+\lang english
+This feature is independent of the option
+\family sans
+Two-column document
+\family default
+ in the document settings under
+\family sans
+Text Layout
+\family default
+.
+ If you want to have 2
+\begin_inset space ~
\end_inset
- doit être positionnée pour les flottants.
-\end_layout
-
-\begin_layout Subsection
-Deux Colonnes
-\end_layout
-
-\begin_layout Standard
-Si vous voulez avoir deux colonnes dans votre texte, il faut insérer
+columns for the whole document, it is recommended to use the
+\family sans
+Two-column document
+\family default
+ option.
+ For all other cases use this feature.
\end_layout
\begin_layout Standard
+\lang english
+To use multiple text columns in your document, you have to load the module
+
+\family sans
+Multiple Columns
+\family default
+ (menu
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+) and must have the LaTeX-package
\series bold
-
-\backslash
-begin{multicols}{2}
+multicol
+\series default
+ installed.
\end_layout
\begin_layout Standard
-en mode LaTeX à l'endroit où vous voulez démarrer la disposition en deux
- colonnes, et
-\end_layout
-\begin_layout Standard
+\lang english
+Footnotes within multiple columns will be placed at the bottom of the page
+ and not under each column.
+ Within the different columns you can use everything, with the limitation
+ that for floats you need to use the float option
+\family sans
+Span columns
+\family default
+.
+\end_layout
-\series bold
+\begin_layout Subsection
-\backslash
-end{multicols}
+\lang english
+Basics
\end_layout
\begin_layout Standard
-là où vous voulez qu'elle se termine.
- Comme ceci
-\begin_inset Foot
-status collapsed
-\begin_layout Plain Layout
-NdT : Les lecteurs anglophobes me pardonneront, mais je ne me lance pas
- à traduire des passages de Sherlock Holmes.
- :-) – of
-\end_layout
+\lang english
+If you want to have 2
+\begin_inset space ~
+\end_inset
+columns in your text, use the style
+\family sans
+Begin Multiple Columns
+\family default
+ where the columns should start.
+ The content of the style is the number of the columns, so in this case
+ use a
+\begin_inset Quotes eld
\end_inset
- :
+2
+\begin_inset Quotes erd
+\end_inset
+
+.
+ At the point where the columns should end use the style
+\family sans
+End Multiple Columns
+\family default
+ and keep it empty.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-begin{multicols}{2}
+\lang english
+Here is an example:
\end_layout
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
\end_layout
\begin_layout Standard
only withdrawn upon the third of last month.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-Colonnes Multiples
-\end_layout
+\begin_layout End Multiple Columns
-\begin_layout Standard
-Le même schéma s'applique si vous voulez plus de deux colonnes (vous pouvez
- avoir plus de 3 colonnes si vous voulez, mais ça risque de ne pas être
- très agréable à regarder.)
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{3}
-\end_layout
+\lang english
+Here is an example with 3
+\begin_inset space ~
\end_inset
+columns:
+\end_layout
+\begin_layout Begin Multiple Columns
+3
\end_layout
\begin_layout Standard
as they were known to the public at the conclusion of the inquest.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+\begin_layout End Multiple Columns
-\backslash
-end{multicols}
\end_layout
-\end_inset
-
+\begin_layout Standard
+\lang english
+You can have up to 10
+\begin_inset space ~
+\end_inset
+
+columns if you want to, but that might not be very pleasant for the readers
+ of your document.
\end_layout
\begin_layout Standard
-Vous pouvez sans problème avoir plus de 3
-\begin_inset space ~
+\begin_inset Newpage newpage
\end_inset
-colonnes, si vous le voulez, mais ce n'est plus très agréable à lire.
+
\end_layout
\begin_layout Subsection
Vous pouvez même avoir des colonnes dans une colonne :
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
\end_layout
\begin_layout Standard
at 427 Park Lane.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
\end_layout
\begin_layout Standard
on the night of March 30, 1894.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
+\begin_layout End Multiple Columns
\end_layout
So much for his recent history as it came out at the inquest.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_layout End Multiple Columns
-\begin_layout Plain Layout
+\end_layout
+\begin_layout Subsection
-\backslash
-end{multicols}
+\lang english
+Advanced Examples
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The examples in this section show some more special features of multiple
+ columns.
\end_layout
+\begin_layout Standard
+
+\lang english
+For more features of multiple columns, have a look at the documentation
+ of the LaTeX-package
+\series bold
+multicol
+\series default
+\lang french
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "multicol"
+
\end_inset
+.
+\end_layout
+
+\begin_layout Subsubsection
+\lang english
+Preface
\end_layout
\begin_layout Standard
-Veuillez lire le fichier
-\family typewriter
-d'exemple MultiColonnes.lyx
+
+\lang english
+To add a preface text for multiple columns, add the optional parameter
+\family sans
+Preface
\family default
- pour des exemples plus complexes avec l'espacement des colonnes et de l'en-tête
-, les lignes de séparation verticale, et plus encore.
+ behind the number of columns in the
+\family sans
+ Begin Multiple Columns
+\family default
+ style.
+ Write in there your preface.
+ An example with some preface text:
\end_layout
\begin_layout Standard
-\begin_inset Newpage newpage
+\begin_inset VSpace bigskip
\end_inset
\end_layout
-\begin_layout Section
-Paragraphes de forme inhabituelle
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_layout Begin Multiple Columns
+2
+\begin_inset Argument post:1
+status open
\begin_layout Plain Layout
+\lang english
+And the story continues and continues and continues and continues\SpecialChar \ldots{}
-\backslash
-begin{sloppypar}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\size small
+\lang english
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
+\end_layout
+\begin_layout End Multiple Columns
-\backslash
-newdimen
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
-
+\begin_layout Standard
-\backslash
-setlength{
-\backslash
-varunit}{4.5in}
+\lang english
+You can also use a section heading as the preface if you use a section command
+ as TeX Code.
+ For example the command
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+\lang english
+\backslash
+subsection{subsection title}
\end_layout
\begin_layout Standard
-\noindent
+
+\lang english
+creates a subsection.
+ In this example the preface is a subsubsection:
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\begin_inset Argument post:1
+status open
+
+\begin_layout Plain Layout
+
+\lang english
\begin_inset ERT
status collapsed
\backslash
-parshape 19 0.45
-\backslash
-varunit 0.367
-\backslash
-varunit
+subsubsection{
\end_layout
-\begin_layout Plain Layout
+\end_inset
-0.40
-\backslash
-varunit 0.335
-\backslash
-varunit
-\end_layout
+This is a subsubsection heading as a preface
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-0.35
-\backslash
-varunit 0.328
-\backslash
-varunit
+}
\end_layout
-\begin_layout Plain Layout
+\end_inset
+
-0.30
-\backslash
-varunit 0.335
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
+\end_inset
+
-0.25
-\backslash
-varunit 0.352
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
-0.20
-\backslash
-varunit 0.377
-\backslash
-varunit
+\size small
+\lang english
+A minute examination of the circumstances served only to make the case more
+ complex.
+ In the first place, no reason could be given why the young man should have
+ fastened the door upon the inside.
+ There was the possibility that the murderer had done this, and had afterwards
+ escaped by the window.
+ The drop was at least twenty feet, however, and a bed of crocuses in full
+ bloom lay beneath.
+ Neither the flowers nor the earth showed any sign of having been disturbed,
+ nor were there any marks upon the narrow strip of grass which separated
+ the house from the road.
+ Apparently, therefore, it was the young man himself who had fastened the
+ door.
+ But how did he come by his death? No one could have climbed up to the window
+ without leaving traces.
+ Suppose a man had fired through the window, he would indeed be a remarkable
+ shot who could with a revolver inflict so deadly a wound.
+ Again, Park Lane is a frequented thoroughfare; there is a cab stand within
+ a hundred yards of the house.
+ No one had heard a shot.
\end_layout
-\begin_layout Plain Layout
+\begin_layout End Multiple Columns
-0.15
-\backslash
-varunit 0.408
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
-0.10
-\backslash
-varunit 0.445
-\backslash
-varunit
-\end_layout
+\lang english
+If there is less vertical space than 6
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
+text lines is left on the page at the beginning of the multiple columns,
+ a page break will be inserted before the multiple columns.
+ Depending on the number of lines of the preface text, you might want to
+ change this space.
+ This is done by inserting the optional parameter
+\family sans
+Space before page break
+\family default
+ behind the preface.
+ There insert the amount of space like e.
+\begin_inset space \thinspace{}
+\end_inset
-0.05
-\backslash
-varunit 0.488
-\backslash
-varunit
-\end_layout
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Plain Layout
-0.00
-\backslash
-varunit 0.535
-\backslash
-varunit
-\end_layout
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Plain Layout
+5cm
+\begin_inset Quotes erd
+\end_inset
-0.05
-\backslash
-varunit 0.488
-\backslash
-varunit
-\end_layout
+.
+ In this example the space is set to 7
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
+text lines by using
+\begin_inset Quotes eld
+\end_inset
-0.10
+7
\backslash
-varunit 0.445
-\backslash
-varunit
-\end_layout
+baselineskip
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Plain Layout
+ (where the command
+\series bold
-0.15
\backslash
-varunit 0.408
-\backslash
-varunit
+baselineskip
+\series default
+ needs to be inserted as TeX code):
\end_layout
+\begin_layout Begin Multiple Columns
+2
+\begin_inset Argument post:1
+status open
+
\begin_layout Plain Layout
-0.20
-\backslash
-varunit 0.377
-\backslash
-varunit
-\end_layout
+\lang english
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-0.25
-\backslash
-varunit 0.352
+
\backslash
-varunit
+subsubsection{
\end_layout
-\begin_layout Plain Layout
+\end_inset
-0.30
-\backslash
-varunit 0.335
-\backslash
-varunit
-\end_layout
+This is the sectioning command
+\begin_inset Newline newline
+\end_inset
-\begin_layout Plain Layout
+as a preface and
+\begin_inset Newline newline
+\end_inset
-0.35
-\backslash
-varunit 0.328
-\backslash
-varunit
-\end_layout
+with multiple text lines
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-0.40
-\backslash
-varunit 0.335
-\backslash
-varunit
+}
\end_layout
-\begin_layout Plain Layout
+\end_inset
+
-0.45
-\backslash
-varunit 0.367
-\backslash
-varunit
\end_layout
+\end_inset
+
+
+\begin_inset Argument post:2
+status open
+
+\begin_layout Plain Layout
+7
+\begin_inset ERT
+status collapsed
+
\begin_layout Plain Layout
+
+\backslash
+baselineskip
\end_layout
\end_inset
-Il y a des fois où il faut en finir avec la tyrannie des paragraphes rectangulai
-res.
- Dans de telles situations, il faut recourir à la délicieuse commande TeX
-
-\family typewriter
-\backslash
-parshape
-\family default
-.
- Comme vous voyez, on peut construire des formes complètement arbitraires
- en déclarant un ensemble de longueurs de ligne.
- Cette forme de paragraphe peut sembler un peu idiote et sans utilité, mais
- on peut imaginer des situations, comme des lettrines finement ajustées,
- l'enrobage de graphiques non rectangulaires, etc.
- qui bénéficieraient d'une telle opération.
-
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
-La syntaxe est
-\family typewriter
-\backslash
-parshape nombre_lignes #1indentation #1longueur #2indentation #2longueur
- \SpecialChar \ldots{}
- #nindentation #nlongueur
-\family default
-, où
-\family typewriter
-nombre_lignes
-\family default
- est le nombre de lignes du texte qui définit le paragraphe.
- S'il n'y a pas assez de lignes, la forme est tronquée ; s'il y en a trop,
- les lignes en surplus ont les mêmes dimensions que la dernière ligne ainsi
- définie.
- Les entrées
-\family typewriter
-#nindentation
+\size small
+\lang english
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Surrounding Space
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The amount of space before and after multiple columns can be changed by
+ changing the length
+\series bold
+
+\backslash
+multicolsep
+\series default
+.
+ For example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+setlength{
+\backslash
+multicolsep}{3cm}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+in TeX Code changes its value to 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ The change must be made before the multiple columns' start.
+ The predefined value is 13
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For this example
+\series bold
+
+\backslash
+multicolsep
+\series default
+ was set to 2.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+multicolsep}{2.5cm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+All day I turned these facts over in my mind, endeavouring to hit upon some
+ theory which could reconcile them all, and to find that line of least resistanc
+e which my poor friend had declared to be the starting-point of every investigat
+ion.
+ I confess that I made little progress.
+ In the evening I strolled across the Park, and found myself about six o'clock
+ at the Oxford Street end of Park Lane.
+ A group of loafers upon the pavements, all staring up at a particular window,
+ directed me to the house which I had come to see.
+ A tall, thin man with coloured glasses, whom I strongly suspected of being
+ a plain-clothes detective, was pointing out some theory of his own, while
+ the others crowded round to listen to what he said.
+ I got as near him as I could, but his observations seemed to me to be absurd,
+ so I withdrew again in some disgust.
+ As I did so I struck against an elderly, deformed man, who had been behind
+ me, and I knocked down several books which he was carrying.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ The values you set with
+\series bold
+
+\backslash
+setlength
+\series default
+ will be used for all following multiple columns until to change them again.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+multicolsep}{13pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Column Separation
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The width of the columns is automatically calculated, but you can modify
+ the space between the columns.
+ This is done by changing the length
+\series bold
+
+\backslash
+columnsep
+\series default
+.
+ Its predefined value is 10
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ Here is an example where
+\series bold
+
+\backslash
+columnsep
+\series default
+ is set to 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnsep}{3cm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+My observations of No.
+\begin_inset space \space{}
+\end_inset
+
+427 Park Lane did little to clear up the problem in which I was interested.
+ The house was separated from the street by a low wall and railing, the
+ whole not more than five feet high.
+ It was perfectly easy, therefore, for anyone to get into the garden, but
+ the window was entirely inaccessible, since there was no water pipe or
+ anything which could help the most active man to climb it.
+ More puzzled than ever, I retraced my steps to Kensington.
+ I had not been in my study five minutes when the maid entered to say that
+ a person desired to see me.
+ To my astonishment it was none other than my strange old book collector,
+ his sharp, wizened face peering out from a frame of white hair, and his
+ precious volumes, a dozen of them at least, wedged under his right arm.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnsep}{10pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Vertical Lines
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Between the columns a rule with a width of the length
+\series bold
+
+\backslash
+columnseprule
+\series default
+ is placed.
+ If this rule width is set to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt (this is the default), the rule is suppressed.
+ In the following example, the line separating the columns is 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt wide.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnseprule}{2pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+You're surprised to see me, sir,
+\begin_inset Quotes erd
+\end_inset
+
+ said he, in a strange, croaking voice.
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+I acknowledged that I was.
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+Well, I've a conscience, sir, and when I chanced to see you go into this
+ house, as I came hobbling after you, I thought to myself, I'll just step
+ in and see that kind gentleman, and tell him that if I was a bit gruff
+ in my manner there was not any harm meant, and that I am much obliged to
+ him for picking up my books.
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+You make too much of a trifle,
+\begin_inset Quotes erd
+\end_inset
+
+ said I.
+
+\begin_inset Quotes eld
+\end_inset
+
+May I ask how you knew who I was?
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
+ you'll find my little bookshop at the corner of Church Street, and very
+ happy to see you, I am sure.
+ Maybe you collect yourself, sir.
+ Here's
+\noun on
+British
+\begin_inset space ~
+\end_inset
+
+Birds
+\noun default
+, and
+\noun on
+Catullus
+\noun default
+, and
+\noun on
+The Holy War
+\noun default
+--a bargain, every one of them.
+ With five volumes you could just fill that gap on that second shelf.
+ It looks untidy, does it not, sir?
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnseprule}{0pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Paragraphes de forme inhabituelle
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\lang english
+LaTeX as well as any other text processor uses by default rectangular paragraphs.
+ For special cases like for example posters, invitation cards or poems you
+ can modify the paragraph shape to one of your choice.
+ This can be done by using the LaTeX-package
+\series bold
+shapepar
+\series default
+ which is loaded by using in the document settings the module
+\family sans
+Custom paragraph shapes
+\family default
+.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Predefined shapes
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ provides the following shapes:
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="13" columns="3">
+<features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="middle" width="16col%">
+<column alignment="center" valignment="middle" width="40col%">
+<column alignment="center" valignment="middle" width="35col%">
+<row endhead="true">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Name
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Description
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Annotation
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+CDlabel
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle with circular hole (in the size of a CD/DVD)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Cannot be scaled, take care there is not too much text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Diamond
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Rhomboid (symbolizing a
+\begin_inset Quotes eld
+\end_inset
+
+diamond
+\begin_inset Quotes erd
+\end_inset
+
+)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart-like shape
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut for bolt (hexagon with circular hole)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Five-point star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Burning candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Drop down/up
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Normal/reversed rain drop
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+TeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+The TeX logo
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangle up/down/
+\begin_inset Newline newline
+\end_inset
+
+left/right
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangles in different orientations
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To use a shape for your paragraph, simply select it in LyX's pull-down box
+ for environments in the toolbar.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example paragraph in the shape of a nut:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: shapepar paragraphs cannot run over a page break.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ takes care that the shape will always be preserved, no matter how much
+ text is in the paragraph.
+ Therefore the paragraph size changes with the amount of contained text.
+ This can lead to paragraph sizes exceeding the page margins.
+ To demonstrate the size scaling, here is the same example paragraph but
+ with twice as much text:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+An exception is the shape
+\family sans
+CDlabel
+\family default
+.
+ It cannot be scaled because it must fit the size of a CD/DVD.
+ Therefore the amount of text that fits into the shape is limited.
+\begin_inset Newline newline
+\end_inset
+
+The
+\family sans
+drop
+\family default
+ shapes and the
+\family sans
+circle
+\family default
+ shape are fragile, meaning that the calculation of their size can fail,
+ depending on the amount of text.
+ You will then get the LaTeX error
+\begin_inset Quotes eld
+\end_inset
+
+Arithmetic overflow
+\begin_inset Quotes erd
+\end_inset
+
+.
+ In this case one can try to remove or add some text; if nothing works one
+ has to use another shape.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For shapes with tips you will maybe see that LaTeX's hyphenation routine
+ fails for text in the tips.
+ Therefore it is often necessary to add hyphenation points
+\family sans
+(
+\begin_inset Info
+type "shortcut"
+arg "specialchar-insert hyphenation"
+\end_inset
+
+
+\family default
+) to the corresponding text parts.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Shapepar paragraphs are either always centered or placed on the page so
+ that their left border touches the left page margin.
+ You can therefore not use the paragraph dialog to align such paragraphs.
+ A solution is to put the paragraph into a minipage or parbox and align
+ the box.
+ The problem is hereby to find the right width for the box.
+ Because if it is too wide and you center the box, the paragraph is not
+ centered too because it sticks at the left side of the box.
+ So you might have to play a bit with the width until it fits.
+ Here are two heart-shaped paragraphs, the first one is not aligned, the
+ second one is right-aligned:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Heart
+\noindent
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align right
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "42col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Heart
+\noindent
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Custom shapes
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+You can define any shape you want.
+ Doing this manually is a lot of work because every coordinate must be specified.
+ But there is a way to let the computer calculate the coordinates:
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Install the program
+\lang french
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Jpgfdraw"
+target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+In
+\family sans
+Jpgfdraw
\family default
- et
-\family typewriter
-#nlongueur
+ go to the menu
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+eX\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Set Normal Size
\family default
- spécifient l'indentation de la ligne à compter de la marge de gauche, et
- la longueur de la ligne à partir de ce point.
- La forme ne s'applique qu'au paragraphe en cours ; tout est remis à la
- normale pour le paragraphe suivant.
+ and select the font size you are using in your document.
+ For example this document uses the size 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
\end_layout
-\begin_layout Standard
+\begin_layout Enumerate
+
+\lang english
+Draw a shape.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Use the menu
+\family sans
+Te
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+{}
+\end_layout
+
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+eX\SpecialChar \menuseparator
+Shapepar
+\family default
+ to export the shape to coordinates.
+ In the appearing dialog use either the outline of your shape for the coordinate
+s or the path itself.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+For more information see
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The coordinates are written into a TeX-file.
+ To use it for your LyX document
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Place the cursor before the first character of your paragraph (or into a
+ new empty one).
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Open in LyX the menu
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child
+\begin_inset space ~
+\end_inset
+
+Document
+\family default
+, select the file and use
+\family sans
+Input
+\family default
+ as
+\family sans
+Include Type.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: The changed shape only applies to the current paragraph; everything is
+ reset to normal for the next paragraph.
+ Therefore the shape definition file must be input into every paragraph
+ with the desired shape.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand input
+filename "../SpecialParagraphShape.tex"
+
+\end_inset
+
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+A tip:
+\series default
+ to draw complexer shapes in
+\family sans
+Jpgfdraw
+\family default
+ you can draw the shape in a program of your choice and import the resulting
+ image to
+\family sans
+Jpgfdraw
+\family default
+.
+ Then you only need to draw a line or spline along the outline of the image.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The module
+\family sans
+Custom paragraph shapes
+\family default
+ also provides the two commands
+\family sans
+shapepar
+\family default
+ and
+\family sans
+Shapepar
+\family default
+ which can be used to define custom shapes coordinate by coordinate.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+These commands are internally used for all shapes described here.
+\end_layout
+
+\end_inset
+
+ For information how these styles are used and about further customization
+ possibilities, have a look at the documentation of the package
+\series bold
+\lang french
+shapepar
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "shapepar"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "multicol"
+
+\end_inset
+
+Documentation du paquetage LaTeX
+\begin_inset CommandInset href
+LatexCommand href
+name "multicol"
+target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
+
+\end_inset
+
-\backslash
-end{sloppypar}
\end_layout
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "shapepar"
+
+\end_inset
+
+Documentation du paquetage LaTeX
+\begin_inset CommandInset href
+LatexCommand href
+name "shapepar"
+target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
+
\end_inset