X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FUserGuide.lyx;h=43a9316095fd82260172291621b6064993173f33;hb=ef4594c71e1dc0e3006b459bc53ea964ce1cdf82;hp=6c1da0d03d2367d64a5672b805aab1db436c0454;hpb=dd0330c349ed047fc05423e8be42822b95c5b692;p=lyx.git diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index 6c1da0d03d..43a9316095 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -1,5 +1,5 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 508 +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 512 \begin_document \begin_header \save_transient_properties true @@ -68,6 +68,7 @@ enumitem \font_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 +\use_microtype false \graphics default \default_output_format pdf2 \output_sync 0 @@ -139,7 +140,9 @@ enumitem \html_math_output 0 \html_css_as_file 0 \html_be_strict true -\author 986154928 "Gnter Milde" +\author 274215730 "scott" +\author 424524441 "rgheck" +\author 2047637253 "Guillaume Munch" \end_header \begin_body @@ -6681,7 +6684,7 @@ The default numbering of numbered lists can be changed by adding an optional argument (menu \family sans Insert\SpecialChar menuseparator -Short Title +Enumerate Options \family default ) to the first item of each level in the list. There you add the command @@ -16115,7 +16118,7 @@ reference "sec:File-Formats" \begin_inset CommandInset ref LatexCommand ref -reference "sec:Doc-Output" +reference "sec:Doc-Formats" \end_inset @@ -16979,42 +16982,6 @@ open close " \family default , generates this automatically. -\change_inserted 986154928 1464030688 - -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\change_inserted 986154928 1464016381 -You can, of course, remove this -\begin_inset Quotes eld -\end_inset - -smart quotes -\begin_inset Quotes erd -\end_inset - - keybinding if you prefer. - See section -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "subsec:Editing-Shortcuts" - -\end_inset - -. -\end_layout - -\end_inset - - -\change_unchanged - \end_layout \begin_layout Standard @@ -17186,23 +17153,7 @@ this \end_layout \begin_layout Standard -For -\change_inserted 986154928 1464016392 - -\begin_inset Quotes eld -\end_inset - -smart -\begin_inset Quotes erd -\end_inset - - -\change_unchanged -single quotes -\change_deleted 986154928 1464016400 -you have to -\change_unchanged -use the shortcut +For single quotes you have to use the shortcut \begin_inset Info type "shortcut" arg "quote-insert single" @@ -19385,7 +19336,7 @@ Header \family default : The current row and all rows above, that don't have any special options defined, are defined to be the header rows of all pages of the longtable. - except for the first page, if + Except for the first page, if \family sans First \begin_inset space ~ @@ -29794,6 +29745,7 @@ Here is an example, where only the question text appears, the answer branch \begin_layout Standard \begin_inset Branch Question +inverted 0 status open \begin_layout Standard @@ -29807,6 +29759,7 @@ Question: Who was the first physics Nobel prize winner? \begin_layout Standard \begin_inset Branch Answer +inverted 0 status collapsed \begin_layout Standard @@ -29913,6 +29866,66 @@ Exam-Question-Answer.pdf if both branches were active. This helps you to export different versions of your document easily. +\change_inserted 424524441 1468296009 + +\end_layout + +\begin_layout Standard + +\change_inserted 424524441 1468297080 +As of LyX 2.3.0, there are also +\begin_inset Quotes eld +\end_inset + +inverted +\begin_inset Quotes erd +\end_inset + + branch insets, whose content is output just in case the branch is +\emph on +not +\emph default + activated. + +\begin_inset Branch Question +inverted 1 +status open + +\begin_layout Standard + +\change_inserted 424524441 1468296217 +For example, this material will only appear when the Question branch is + deactivated. +\change_unchanged + +\end_layout + +\end_inset + + This make it easy to add alternative text for different versions of a document. + To control whether a particular inset is +\begin_inset Quotes eld +\end_inset + +inverted +\begin_inset Quotes erd +\end_inset + +, right-click on the inset button and choose +\begin_inset Quotes eld +\end_inset + + +\change_unchanged +Invert Inset +\change_inserted 424524441 1468297080 + +\begin_inset Quotes erd +\end_inset + +. +\change_deleted 424524441 1468296150 + \end_layout \begin_layout Standard @@ -29997,6 +30010,7 @@ answer}[1]{#1} \begin_layout Standard \begin_inset Branch Question +inverted 0 status open \begin_layout Standard @@ -30033,6 +30047,7 @@ answer}[1]{} \begin_layout Standard \begin_inset Branch Answer +inverted 0 status collapsed \begin_layout Standard @@ -31058,7 +31073,11 @@ Modules \begin_inset Quotes eld \end_inset + +\emph on Custom Header/Footerlines +\emph default + \begin_inset Quotes erd \end_inset @@ -31067,7 +31086,7 @@ Custom Header/Footerlines \begin_inset space ~ \end_inset -styles: +environments: \end_layout \begin_layout Description @@ -31120,6 +31139,7 @@ Footer \begin_layout Standard for the different positions in the header/footer. + These environments can be selected in the environment pull-down box. \end_layout \begin_layout Standard @@ -31367,12 +31387,13 @@ Definition \end_layout \begin_layout Standard -To define your header line, add all three header styles. - The things you add to the styles appear on odd numbered pages, the things - in the optional arguments on even numbered pages. +To define your header line, add all three header environments. + The things you add to each environment appear on odd numbered pages, the + things in the optional arguments on even numbered pages. For single-sided documents, the optional arguments will not be used and can be omitted. - If you leave a style or its argument empty, nothing appears in the output. + If you leave a header environment or its argument empty, nothing appears + in the output. Defining the footer line works similarly. \end_layout @@ -31464,8 +31485,8 @@ Appearance \begin_layout Standard The header and footer will appear on normal pages. Some pages are different. - The title page has a style of its own, and so does any page that starts - a new part or chapter in your book. + The title page has a header/footer environment of its own, and so does + any page that starts a new part or chapter in your book. Such pages will not have the custom headers/footers, but that is normal. There is for example no need to print a header with the chapter name on the chapter page where the chapter heading is in big bold letters anyway. @@ -31509,12 +31530,16 @@ headrulewidth}{thickness} \begin_layout Standard where thickness is a size in standard units like \family sans +\emph on pt \family default +\emph default or \family sans +\emph on mm \family default +\emph default . If you don't want a line, set the thickness to 0 \begin_inset space \thinspace{} @@ -31546,7 +31571,7 @@ Several header/footer lines \begin_layout Standard In case you need more than one text line as a header/footer, you can do - this by adding a normal line break in the style definition. + this by adding a ragged line break in the style definition. However, the default height of the header/footer is only the one of one text line. To expand the height, redefine the \SpecialChar LaTeX @@ -31562,7 +31587,7 @@ headheight \backslash footheight \series default - in this entry in + with this entry in \family sans Document\SpecialChar menuseparator Settings\SpecialChar menuseparator @@ -31586,14 +31611,34 @@ headheight}{height} \end_layout \begin_layout Standard -where height is a size in standard units. - If you don't know which amount of space is needed for the height, define - your header/footer and preview your document as a PDF. +where +\series bold +height +\series default + is a size in standard units (e. +\begin_inset space \thinspace{} +\end_inset + +g. +\begin_inset space \space{} +\end_inset + + +\series bold +1cm +\series default +). + If you don't know how much space is needed for the height, define your + header/footer and preview your document as a PDF. Then open the \SpecialChar LaTeX logfile with the menu \family sans Document\SpecialChar menuseparator -LaTeX Log +LaTeX +\begin_inset space ~ +\end_inset + +Log \family default and use the button \family sans @@ -37608,7 +37653,7 @@ Format \begin_inset CommandInset ref LatexCommand ref -reference "sec:Doc-Output" +reference "sec:Doc-Formats" \end_inset @@ -37875,7 +37920,7 @@ Format \begin_inset CommandInset ref LatexCommand ref -reference "sec:Doc-Output" +reference "sec:Doc-Formats" \end_inset @@ -37972,7 +38017,7 @@ Format \begin_inset CommandInset ref LatexCommand ref -reference "sec:Doc-Output" +reference "sec:Doc-Formats" \end_inset @@ -42767,10 +42812,16 @@ reference "sec:Branches" \end_layout \begin_layout Section + +\change_deleted 2047637253 1472399758 Output +\change_inserted 2047637253 1472400015 +Formats +\change_unchanged + \begin_inset CommandInset label LatexCommand label -name "sec:Doc-Output" +name "sec:Doc-Formats" \end_inset @@ -42949,6 +43000,51 @@ scaling is used for the size of equations in the output. \end_layout +\begin_layout Description +LyX +\begin_inset space ~ +\end_inset + +Format The option +\family sans +Save transient properties +\family default + controls whether document settings that are frequently switched or that + are specific to the user are saved with the document. + The properties that are affected by option are currently +\change_inserted 2047637253 1472400492 +: +\change_unchanged + +\end_layout + +\begin_deeper +\begin_layout Itemize +the activation of change tracking +\change_inserted 2047637253 1472400062 +, +\change_unchanged + +\end_layout + +\begin_layout Itemize +the output of tracked changes +\change_inserted 2047637253 1472400062 +, +\change_unchanged + +\end_layout + +\begin_layout Itemize +the recording of the document directory path. +\end_layout + +\begin_layout Standard +Disabling the option can prevent issues in collaborative work and/or when + using a version control system (for instance unnecessary merge conflicts). +\end_layout + +\end_deeper \begin_layout Section La \family sans @@ -43528,6 +43624,12 @@ arg "closetab" \family default ) at the right side of the tab bar to close tabs. Otherwise every document tab has its own close button. + +\change_inserted 274215730 1469338548 + Regardless of this option, one may always close a tab by middle-clicking + it in the tab bar. +\change_unchanged + \end_layout \begin_layout Standard