X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FTutorial.lyx;h=a13e2f556af4e8958517a18db00d14d4c366e1ba;hb=1eb43536da25a9617e3d471b3e24d0c4a239c21b;hp=35f04c27c41f8e120012dee19e6a0bf9817940eb;hpb=6196645ccefa4a03a0617e2741a824156ed9404f;p=lyx.git diff --git a/lib/doc/Tutorial.lyx b/lib/doc/Tutorial.lyx index 35f04c27c4..a13e2f556a 100644 --- a/lib/doc/Tutorial.lyx +++ b/lib/doc/Tutorial.lyx @@ -1,29 +1,10 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 507 +\lyxformat 508 \begin_document \begin_header \save_transient_properties true \origin /systemlyxdir/doc/ \textclass book -\begin_preamble -% DO NOT ALTER THIS PREAMBLE!!! -% -%This preamble is designed to ensure that the document prints -% out as advertised. If you mess with this preamble, -% parts of the document may not print out as expected. If you -% have problems LaTeXing this file, please contact -% the documentation team -% email: lyx-docs@lists.lyx.org - -% the pages of the TOC is numbered roman -% and a pdf-bookmark for the TOC is added -\let\myTOC\tableofcontents -\renewcommand\tableofcontents{% - \frontmatter - \pdfbookmark[1]{\contentsname}{} - \myTOC - \mainmatter } -\end_preamble \use_default_options false \begin_modules logicalmkup @@ -59,7 +40,7 @@ logicalmkup \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 1 -\pdf_breaklinks false +\pdf_breaklinks true \pdf_pdfborder false \pdf_colorlinks true \pdf_backref false @@ -160,7 +141,7 @@ Welcome to \SpecialChar LyX This manual is designed for all of you who have never heard of \SpecialChar LaTeX , or do not know it very well. - Now, do not panic - you will not need to learn \SpecialChar LaTeX + Now, do not panic – you will not need to learn \SpecialChar LaTeX to use \SpecialChar LyX . That is, after all, the whole point of \SpecialChar LyX @@ -294,10 +275,6 @@ will not \begin_layout Itemize Detailed explanations of all of \SpecialChar LyX 's features. -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_deeper @@ -313,10 +290,6 @@ User's Guide \begin_layout Itemize Detailed explanations of \SpecialChar LaTeX . -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_deeper @@ -457,7 +430,11 @@ Notes \end_inset If you want to cheat, or check what you have done, there is also a file - called + called +\begin_inset Newline newline +\end_inset + + \family typewriter example_lyxified.lyx \family default @@ -549,28 +526,6 @@ arg "buffer-view" \SpecialChar LyX will open a PDF-viewer program displaying your document as it will look when printed. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -You can save time by leaving the PDF-viewer running in the background. - Then, you can use -\family sans -Document\SpecialChar menuseparator -Update -\family default - or the toolbar button -\begin_inset Info -type "icon" -arg "buffer-update" -\end_inset - - and just click on the PDF-viewer window (or unminimize it) afterwards. -\end_layout - -\end_inset - - \end_layout \begin_layout Itemize @@ -588,6 +543,52 @@ Export Congratulations! You have written your first \SpecialChar LyX document. All of the rest is just details. +\begin_inset Newline newline +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold +A hint: +\series default + You can save time by leaving the PDF viewer running in the background. + Under MacOS and Linux you can use +\family sans +Document\SpecialChar menuseparator +Update +\family default + or the toolbar button +\begin_inset Info +type "icon" +arg "buffer-update" +\end_inset + + and just click on the PDF viewer window afterwards. + Under Windows still use +\family sans +Document\SpecialChar menuseparator +View +\family default + or +\begin_inset Info +type "icon" +arg "buffer-view" +\end_inset + + respectively. +\end_layout + +\begin_layout Standard + +\series bold +Another hint: +\series default + In case you are using a high-resolution display, the LyX toolbar icons + are quite small. + To change their size, right-click into a toolbar. \end_layout \begin_layout Subsection @@ -628,10 +629,6 @@ arg "redo" \end_inset ) to get it back. -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_deeper @@ -889,7 +886,7 @@ Space \family sans Tab \family default - has no grammatical function at all - so \SpecialChar LyX + has no grammatical function at all – so \SpecialChar LyX does not support it. Using \SpecialChar LyX , you will spend more of your time worrying about the @@ -1391,12 +1388,17 @@ Subsubsection and note how the other section numbers are updated. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise \series default -: Fix the section and subsection headings in +: Fix the section and subsection headings in +\begin_inset Newline newline +\end_inset + + \family typewriter example_raw.lyx \family default @@ -1686,7 +1688,8 @@ Space s. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -1766,7 +1769,8 @@ User's Guide environments. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -1780,7 +1784,11 @@ Quote, \SpecialChar LyX \family sans Verse \family default - in + in +\begin_inset Newline newline +\end_inset + + \family typewriter example_raw.lyx \end_layout @@ -1938,10 +1946,6 @@ Special Document Classes Additional Features \emph default manual for many more details. -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_layout Standard @@ -2261,6 +2265,13 @@ Templates can be a huge time-saver, and we urge you to use them whenever a letter template customized for their company, for example. \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Section Document Titles \end_layout @@ -2318,7 +2329,8 @@ Abstract page, like the first page of this tutorial. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -2421,7 +2433,11 @@ Place the cursor somewhere in Section \end_layout \begin_layout LyX-Code -If you want to know more about this document, then see Section . +If you want to know more about this document, +\begin_inset Newline newline +\end_inset + +then see Section . \end_layout \begin_layout Standard @@ -2464,7 +2480,7 @@ Format \begin_inset Quotes eld \end_inset - on page + \begin_inset Quotes erd \end_inset @@ -2482,7 +2498,7 @@ sec:About-This-Document \begin_inset Quotes eld \end_inset -Ref+Text: sec:About-This-Document +Ref: sec:About-This-Document \begin_inset Quotes erd \end_inset @@ -2497,7 +2513,7 @@ Space (shortcut \begin_inset Info type "shortcut" -arg "command-alternatives space-insert protected ; math-space" +arg "command-alternatives math-space ; space-insert protected" \end_inset ) in between the word @@ -2528,7 +2544,7 @@ arg "paste" ). In the printed document, this reference marker will be replaced with the - section number and then the page number. + section number. Preview your document and you will see that \SpecialChar LaTeX has been even cleverer than that. @@ -2540,39 +2556,7 @@ Section 2 \begin_inset Quotes erd \end_inset - and depending how much text you have between the start of Section -\begin_inset space ~ -\end_inset - -2 and this cross-reference you may see -\begin_inset Quotes eld -\end_inset - -on this page -\begin_inset Quotes erd -\end_inset - -, -\begin_inset Quotes eld -\end_inset - -on the previous page -\begin_inset Quotes erd -\end_inset - - or -\begin_inset Quotes eld -\end_inset - -on page n -\begin_inset Quotes erd -\end_inset - - (where -\emph on -n -\emph default - is the page number). +. \end_layout \begin_layout Standard @@ -2693,7 +2677,8 @@ reference "sec:Document-Classes" \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -2871,7 +2856,8 @@ Change your \SpecialChar LyX again to see what the margin note looks like. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -3063,7 +3049,8 @@ User's Guide for details. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise: @@ -3175,7 +3162,8 @@ To get rid of the Table of Contents, you can delete the table of contents button just like any other text. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -3225,8 +3213,11 @@ Somewhere in your \SpecialChar LyX \end_layout \begin_layout LyX-Code -I like what Einstein said, E=mc^2, because it is so simple. - +I like what Einstein said, E=mc^2, because it is +\begin_inset Newline linebreak +\end_inset + +so simple. \end_layout \begin_layout Standard @@ -3519,7 +3510,7 @@ _ \begin_inset Quotes erd \end_inset - . +. You can subscript and superscript both subscripts and superscripts like this: \begin_inset Formula $A_{a_{0}+b^{2}}+C^{a_{0}+b^{2}}$ @@ -3529,12 +3520,17 @@ _ \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise \series default -: Put equation 1 of +: Put equation +\begin_inset space ~ +\end_inset + +1 of \family typewriter example_raw.lyx \family default @@ -3869,12 +3865,17 @@ Down \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise \series default -: Put equation 2 of +: Put equation +\begin_inset space ~ +\end_inset + +2 of \family typewriter example_raw.lyx \family default @@ -4052,12 +4053,17 @@ The function list includes other trigonometric functions and their inverses, . \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise \series default -: Put equation 3 of +: Put equation +\begin_inset space ~ +\end_inset + +3 of \family typewriter example_raw.lyx \family default @@ -4200,11 +4206,7 @@ arg "math-display" in the \family sans -Math -\begin_inset space ~ -\end_inset - -Toolbar +Math Toolbar \family default . This centers the formula and adds a blank line before and after it. @@ -4262,7 +4264,8 @@ after paragraph settings, which is probably not what you want. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -4274,7 +4277,8 @@ example_raw.lyx into display mode, and see how they are typeset differently. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -4626,8 +4630,7 @@ Anything that you enter in \SpecialChar TeX by choosing \family sans Insert\SpecialChar menuseparator -\SpecialChar TeX - +TeX \begin_inset space ~ \end_inset @@ -4798,8 +4801,7 @@ You can import a \SpecialChar LaTeX \family sans File\SpecialChar menuseparator Import\SpecialChar menuseparator -\SpecialChar LaTeX - +LaTeX \begin_inset space ~ \end_inset @@ -4914,8 +4916,7 @@ You might wish to convert a \SpecialChar LyX \family sans File\SpecialChar menuseparator Export\SpecialChar menuseparator -\SpecialChar LaTeX - +LaTeX \family default . This will create a file @@ -4979,8 +4980,7 @@ If you have special commands to put in the preamble of a \SpecialChar LaTeX \family sans Document\SpecialChar menuseparator Settings\SpecialChar menuseparator -\SpecialChar LaTeX - +LaTeX \begin_inset space ~ \end_inset @@ -5015,8 +5015,7 @@ List \end_inset TOC\SpecialChar menuseparator -Bib\SpecialChar TeX - +BibTeX \begin_inset space ~ \end_inset