From: Uwe Stöhr Date: Sat, 3 Nov 2012 23:12:13 +0000 (+0100) Subject: French Additional.lyx: correct porting X-Git-Tag: 2.1.0beta1~1308 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=22d4b628ed5d2d7cc514ce297bccddaf28c5323e;p=features.git French Additional.lyx: correct porting there was a section that is for a new feature in lyX 2.1 and I accidentally overwrote this in previous commit --- diff --git a/lib/doc/fr/Additional.lyx b/lib/doc/fr/Additional.lyx index d62856b5c6..a2aabe8688 100644 --- a/lib/doc/fr/Additional.lyx +++ b/lib/doc/fr/Additional.lyx @@ -46,6 +46,7 @@ logicalmkup theorems-ams theorems-ams-extended +multicol \end_modules \maintain_unincluded_children false \begin_local_layout @@ -111,6 +112,7 @@ End \paperorientation portrait \suppress_date false \use_refstyle 1 +\notefontcolor #0000ff \index Index \shortcut idx \color #008000 @@ -24479,102 +24481,114 @@ Multi-colonnes \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. - + +\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 + +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 -Le paquetage + +\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 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 +\begin_inset Index idx status collapsed \begin_layout Plain Layout -Plusieurs colonnes -\end_layout - -\end_inset - doit être positionnée pour les flottants. +\lang english +LaTeX-packages ! multicol \end_layout -\begin_layout Subsection -Deux Colonnes -\end_layout +\end_inset -\begin_layout Standard -Si vous voulez avoir deux colonnes dans votre texte, il faut insérer + installed. \end_layout \begin_layout Standard -\series bold - -\backslash -begin{multicols}{2} -\end_layout - -\begin_layout Standard -en mode LaTeX à l'endroit où vous voulez démarrer la disposition en deux - colonnes, et +\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 -\begin_layout Standard - -\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 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 @@ -24621,46 +24635,24 @@ ty which utterly submerged my mind. 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 +\lang english +Here is an example with 3 +\begin_inset space ~ +\end_inset -\backslash -begin{multicols}{3} +columns: \end_layout -\end_inset - +\begin_layout Begin Multiple Columns +\lang english +3 \end_layout \begin_layout Standard @@ -24688,28 +24680,26 @@ It can be imagined that my close intimacy with Sherlock Holmes had interested 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 @@ -24720,20 +24710,8 @@ Des Colonnes dans une Colonne 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 @@ -24747,20 +24725,8 @@ The Honourable Ronald Adair was the second son of the Earl of Maynooth, 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 @@ -24779,19 +24745,7 @@ The youth moved in the best society–had, so far as was known, no enemies 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 @@ -24823,78 +24777,131 @@ The evidence of those who had played with him– Mr. So much for his recent history as it came out at the inquest. \end_layout +\begin_layout End Multiple Columns + +\end_layout + +\begin_layout Subsection + +\lang english +Advanced Examples +\end_layout + \begin_layout Standard -\begin_inset ERT + +\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 + +\begin_inset Index idx status collapsed \begin_layout Plain Layout - -\backslash -end{multicols} +\lang english +LaTeX-packages ! multicol \end_layout \end_inset +\lang french +, +\begin_inset CommandInset citation +LatexCommand cite +key "multicol" + +\end_inset + +. \end_layout -\begin_layout Standard -Veuillez lire le fichier -\family typewriter -d'exemple MultiColonnes.lyx -\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. +\begin_layout Subsubsection + +\lang english +Preface \end_layout \begin_layout Standard -\begin_inset Newpage newpage -\end_inset +\lang english +To add a preface text for multiple columns, add the command +\end_layout + +\begin_layout Standard +\series bold +}[ \end_layout -\begin_layout Section -Paragraphes de forme inhabituelle +\begin_layout Standard + +\lang english +as TeX Code behind the number of columns in the +\family sans + Begin Multiple Columns +\family default + style. + behind the command write the text. + At the end of the style use the command \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed -\begin_layout Plain Layout +\series bold +]{ +\end_layout +\begin_layout Standard -\backslash -begin{sloppypar} +\lang english +as TeX Code. + An example with some preface text: \end_layout +\begin_layout Standard + +\lang english +\begin_inset VSpace bigskip \end_inset \end_layout -\begin_layout Standard +\begin_layout Begin Multiple Columns +2 \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -newdimen -\backslash -varunit +}[ \end_layout -\begin_layout Plain Layout +\end_inset -\backslash -setlength{ -\backslash -varunit}{4.5in} +\lang english +And the story continues and continues and continues and continues +\lang french +\SpecialChar \ldots{} + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +]{ \end_layout \end_inset @@ -24903,11 +24910,805 @@ varunit}{4.5in} \end_layout \begin_layout Standard -\noindent -\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 + +\end_layout + +\begin_layout Standard + +\lang english +You can also use a section heading as the preface if you use a section command + as TeX Code behind the first TeX Code. + For example the command +\end_layout + +\begin_layout Standard + +\series bold +\lang english + +\backslash +subsection{subsection title} +\end_layout + +\begin_layout Standard + +\lang english +creates a subsection. + In this example the preface is a subsubsection: +\end_layout + +\begin_layout Begin Multiple Columns + +\lang english +2 +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +}[ +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +subsubsection{ +\end_layout + +\end_inset + +This is a subsubsection heading as a preface +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +]{ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\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 End Multiple Columns + +\end_layout + +\begin_layout Standard + +\lang english +If there is less vertical space left on the page at the beginning of the + multiple columns than needed for 6 +\begin_inset space ~ +\end_inset + +text lines, 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 value. + It is determined by inserting the command +\end_layout + +\begin_layout Standard + +\series bold +][number +\backslash +baselineskip +\end_layout + +\begin_layout Standard + +\lang english +as TeX Code behind the preface definition but before the final +\series bold +]{ +\series default + command. + +\emph on +number +\emph default + is hereby the number of text lines. + In this example the space is set to 7 +\begin_inset space ~ +\end_inset + +text lines: +\end_layout + +\begin_layout Begin Multiple Columns +2 +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +}[ +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +subsubsection{ +\end_layout + +\end_inset + + +\lang english +This is the sectioning command +\begin_inset Newline newline +\end_inset + +as a preface and +\begin_inset Newline newline +\end_inset + +with multiple text lines +\lang french + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +][7 +\backslash +baselineskip +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +]{ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\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 + + +\lang english + +\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 + + +\lang english + +\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 + + +\lang english + +\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 +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +begin{sloppypar} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +newdimen +\backslash +varunit +\end_layout + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +varunit}{4.5in} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout \backslash @@ -25157,6 +25958,42 @@ end{sloppypar} \end_inset +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "multicol" + +\end_inset + + +\lang english +Documentation of the LaTeX-package +\lang french + +\begin_inset CommandInset href +LatexCommand href +name "multicol" +target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf" + +\end_inset + + +\lang english + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +LaTeX-packages ! multicol +\end_layout + +\end_inset + + \end_layout \end_body