X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FTutorial.lyx;h=edeedbccc71132c5c745b1557225a13b4a4abf03;hb=8be71ab8e20c7299c9ff4e986184d7d32abeb2a3;hp=ce8a8ebf76db40025cafa14eafbe6ac5553cad14;hpb=506aac3ba6b028d341c4b703ff3ab5a2cc4ad4e2;p=lyx.git diff --git a/lib/doc/Tutorial.lyx b/lib/doc/Tutorial.lyx index ce8a8ebf76..edeedbccc7 100644 --- a/lib/doc/Tutorial.lyx +++ b/lib/doc/Tutorial.lyx @@ -1,5 +1,5 @@ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 334 +\lyxformat 338 \begin_document \begin_header \textclass book @@ -21,15 +21,14 @@ \fi % end if pdflatex is used - % the pages of the TOC are numbered roman - % and a pdf-bookmark for the TOC is added - \pagenumbering{roman} - \let\myTOC\tableofcontents - \renewcommand\tableofcontents{% - \pdfbookmark[1]{Contents}{} - \myTOC - \cleardoublepage - \pagenumbering{arabic} } +% 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 } % redefine the \LyX macro for PDF bookmarks \def\LyX{\texorpdfstring{% @@ -46,6 +45,7 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default \paperfontsize 12 \spacing single @@ -238,7 +238,7 @@ Tutorial Tutorial \emph default , you should definitely check out Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset @@ -284,7 +284,7 @@ Unnecessary. you can have a look at the \emph on Embedded -\begin_inset Space ~ +\begin_inset space ~ \end_inset Objects @@ -436,7 +436,7 @@ examples \family sans File\SpecialChar \menuseparator Save -\begin_inset Space ~ +\begin_inset space ~ \end_inset As @@ -479,7 +479,7 @@ Save your document with \family sans File\SpecialChar \menuseparator Save -\begin_inset Space ~ +\begin_inset space ~ \end_inset As\SpecialChar \@. @@ -649,11 +649,11 @@ Find/Replace Use \family sans Edit\SpecialChar \menuseparator Find -\begin_inset Space ~ +\begin_inset space ~ \end_inset & -\begin_inset Space ~ +\begin_inset space ~ \end_inset Replace @@ -669,7 +669,7 @@ Replace In the dialog, search with the \family sans Find -\begin_inset Space ~ +\begin_inset space ~ \end_inset Next @@ -700,7 +700,7 @@ t. \begin_layout Description Character -\begin_inset Space ~ +\begin_inset space ~ \end_inset Formatting You can @@ -720,7 +720,7 @@ Noun Style \family sans Edit\SpecialChar \menuseparator Text -\begin_inset Space ~ +\begin_inset space ~ \end_inset Style @@ -1064,7 +1064,7 @@ Environment \family typewriter More -\begin_inset Space ~ +\begin_inset space ~ \end_inset Stuff @@ -1079,7 +1079,7 @@ Stuff \begin_layout Standard It gets better. Go to the end of Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 1 again (after @@ -1118,7 +1118,7 @@ About This Document \family default . Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset @@ -1130,11 +1130,11 @@ More Stuff \end_inset , which used to be Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2, has been automatically renumbered to Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 3! In true WYSIWYM fashion, you just need to identify the text that makes @@ -1209,11 +1209,11 @@ Subsection . If you put yet another section before Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2, Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2 will be renumbered as Section 3, and the subsections will be renumbered @@ -1268,7 +1268,7 @@ Section \family default s, but you're only allowed to use them in certain types (text classes) of LyX documents (see Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset @@ -1449,7 +1449,7 @@ item , one way is to use the \family sans Protected -\begin_inset Space ~ +\begin_inset space ~ \end_inset Break @@ -1466,7 +1466,7 @@ Standard environment (or just use the keybinding, \family sans M-p -\begin_inset Space ~ +\begin_inset space ~ \end_inset s @@ -1562,7 +1562,7 @@ List the words with \family sans Protected -\begin_inset Space ~ +\begin_inset space ~ \end_inset Blank @@ -1792,7 +1792,7 @@ style files American Mathematics Society journals using the \family sans Article -\begin_inset Space ~ +\begin_inset space ~ \end_inset (AMS) @@ -2001,11 +2001,11 @@ Open a new file with \family sans File\SpecialChar \menuseparator New -\begin_inset Space ~ +\begin_inset space ~ \end_inset from -\begin_inset Space ~ +\begin_inset space ~ \end_inset Template @@ -2027,7 +2027,7 @@ Environment box, you'll see several environments, like the \family sans My -\begin_inset Space ~ +\begin_inset space ~ \end_inset Address @@ -2097,7 +2097,7 @@ One warning, if you're writing from a template. erase the whole \family sans My -\begin_inset Space ~ +\begin_inset space ~ \end_inset Address @@ -2292,7 +2292,7 @@ Your first cross-reference \begin_layout Standard Place the cursor somewhere in Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2 of your document. @@ -2320,7 +2320,7 @@ section \family sans Insert\SpecialChar \menuseparator Cross -\begin_inset Space ~ +\begin_inset space ~ \end_inset Reference @@ -2370,7 +2370,7 @@ Apply (To be really correct, you should put a \family sans Protected -\begin_inset Space ~ +\begin_inset space ~ \end_inset Blank @@ -2401,7 +2401,7 @@ Cross-reference \end_inset Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2 @@ -2413,7 +2413,7 @@ Section \end_inset Page -\begin_inset Space ~ +\begin_inset space ~ \end_inset 1 @@ -2421,7 +2421,7 @@ Page \end_inset (or whatever page Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2's title is on). @@ -2436,11 +2436,11 @@ Cross-Reference dialog, clicking \family sans Go -\begin_inset Space ~ +\begin_inset space ~ \end_inset to -\begin_inset Space ~ +\begin_inset space ~ \end_inset Label @@ -2456,7 +2456,7 @@ More fun with labels We told you that LyX takes care about numbering cross-references; now you can test that. Add a new section before Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2. @@ -2478,11 +2478,11 @@ About this Document \end_inset to a subsection, and the cross-reference will reference Subsection -\begin_inset Space ~ +\begin_inset space ~ \end_inset 2.1 instead of Section -\begin_inset Space ~ +\begin_inset space ~ \end_inset 3. @@ -2524,7 +2524,7 @@ status collapsed \begin_layout Plain Layout By the way, copying a chapter title may cause an error, because chapters aren't allowed in the article class, see section -\begin_inset Space ~ +\begin_inset space ~ \end_inset @@ -2689,7 +2689,7 @@ Margin notes can be added using the menu \family sans Insert\SpecialChar \menuseparator Marginal -\begin_inset Space ~ +\begin_inset space ~ \end_inset Note @@ -2794,7 +2794,7 @@ The Lyx Tutorial, by the LyX Documentation Team Click on the boxed reference number, and the \family sans Bibliography -\begin_inset Space ~ +\begin_inset space ~ \end_inset item @@ -2875,7 +2875,7 @@ Add The \family sans Text -\begin_inset Space ~ +\begin_inset space ~ \end_inset after @@ -2902,7 +2902,7 @@ Label field in the \family sans Bibliography -\begin_inset Space ~ +\begin_inset space ~ \end_inset item @@ -2941,20 +2941,20 @@ Return \family sans Insert\SpecialChar \menuseparator List -\begin_inset Space ~ +\begin_inset space ~ \end_inset / -\begin_inset Space ~ +\begin_inset space ~ \end_inset TOC\SpecialChar \menuseparator Table -\begin_inset Space ~ +\begin_inset space ~ \end_inset of -\begin_inset Space ~ +\begin_inset space ~ \end_inset Contents @@ -3050,7 +3050,7 @@ LaTeX is used by many scientists because it outputs great looking equations, If, on the other hand, you've never written in LaTeX, then the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Panel @@ -3103,7 +3103,7 @@ Instead, we create a formula that will get typeset properly. Insert\SpecialChar \menuseparator Math\SpecialChar \menuseparator Inline -\begin_inset Space ~ +\begin_inset space ~ \end_inset Formula @@ -3153,11 +3153,11 @@ sqrt \family default ; this can be frustrating, because you can't see what an expression looks like until you LaTeX the file, and may have to spend time to find e. -\begin_inset Space \thinspace{} +\begin_inset space \thinspace{} \end_inset g. -\begin_inset Space ~ +\begin_inset space ~ \end_inset missing brackets. @@ -3330,7 +3330,7 @@ Exponents and Indices An exponent can be entered from the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -3397,7 +3397,7 @@ The Math Toolbar The \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -3418,7 +3418,7 @@ Math However, we're going to concentrate on using the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbars @@ -3483,7 +3483,7 @@ Math \end_inset Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset (auto) @@ -3501,7 +3501,7 @@ Greek and symbols The \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -3624,15 +3624,15 @@ Delimiter will look bad if you have a big fraction or matrix inside the parentheses. So better use in this case one of the three delimiter buttons that insert directly e. -\begin_inset Space \thinspace{} +\begin_inset space \thinspace{} \end_inset g. -\begin_inset Space ~ +\begin_inset space ~ \end_inset a ( -\begin_inset Space \thinspace{} +\begin_inset space \thinspace{} \end_inset ) pair. @@ -3645,7 +3645,7 @@ You can also put delimiters or a square root sign or a decoration on already on the button you want from the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -3682,7 +3682,7 @@ To create a fraction, click on the fraction button in the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -3821,7 +3821,7 @@ Space Click on the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -3936,7 +3936,7 @@ Click on the matrix button in the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -3982,11 +3982,11 @@ If you need to change the number of rows and columns, use the menu Edit\SpecialChar \menuseparator Math\SpecialChar \menuseparator Rows -\begin_inset Space \thinspace{} +\begin_inset space \thinspace{} \end_inset & -\begin_inset Space \thinspace{} +\begin_inset space \thinspace{} \end_inset Columns @@ -4068,7 +4068,7 @@ Click on the display button in the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -4159,7 +4159,7 @@ After you've done it the hard way, give Insert\SpecialChar \menuseparator Math\SpecialChar \menuseparator Cases -\begin_inset Space ~ +\begin_inset space ~ \end_inset Environment @@ -4239,7 +4239,7 @@ User's Guide and the \emph on Embedded -\begin_inset Space ~ +\begin_inset space ~ \end_inset Objects @@ -4271,7 +4271,7 @@ right button to get a \family sans Table -\begin_inset Space ~ +\begin_inset space ~ \end_inset Settings @@ -4356,7 +4356,7 @@ Customization\SpecialChar \@. \begin_layout Itemize LyX can read LaTeX documents. See section -\begin_inset Space ~ +\begin_inset space ~ \end_inset @@ -4411,7 +4411,7 @@ Because this is just a tutorial, we are only going to mention things that The the \emph on Extended -\begin_inset Space ~ +\begin_inset space ~ \end_inset Features @@ -4419,7 +4419,7 @@ Features and the \emph on Embedded -\begin_inset Space ~ +\begin_inset space ~ \end_inset Objects @@ -4439,7 +4439,7 @@ Anything that you enter in TeX mode will be passed straight to LaTeX, and \family sans Insert\SpecialChar \menuseparator TeX -\begin_inset Space ~ +\begin_inset space ~ \end_inset Code @@ -4512,7 +4512,7 @@ gamma This may be faster than using the \family sans Math -\begin_inset Space ~ +\begin_inset space ~ \end_inset Toolbar @@ -4548,7 +4548,7 @@ LyX can't do absolutely everything that LaTeX can do. usepackage{foo} \family default in the preamble (see section -\begin_inset Space ~ +\begin_inset space ~ \end_inset @@ -4583,7 +4583,7 @@ You can import a LaTeX file into LyX by using the File\SpecialChar \menuseparator Import\SpecialChar \menuseparator LaTeX -\begin_inset Space ~ +\begin_inset space ~ \end_inset (plain) @@ -4696,7 +4696,7 @@ E x \bar default tra -\begin_inset Space ~ +\begin_inset space ~ \end_inset Options @@ -4723,7 +4723,7 @@ If you have special commands to put in the preamble of a LaTeX file, you Document\SpecialChar \menuseparator Settings\SpecialChar \menuseparator LaTeX -\begin_inset Space ~ +\begin_inset space ~ \end_inset Preamble @@ -4747,11 +4747,11 @@ I \bar default nsert\SpecialChar \menuseparator List -\begin_inset Space ~ +\begin_inset space ~ \end_inset / -\begin_inset Space ~ +\begin_inset space ~ \end_inset T @@ -4764,7 +4764,7 @@ C\SpecialChar \menuseparator B \bar default ibTeX -\begin_inset Space ~ +\begin_inset space ~ \end_inset Bibliography @@ -4793,7 +4793,7 @@ Insert\SpecialChar \menuseparator Citation \family default (see section -\begin_inset Space ~ +\begin_inset space ~ \end_inset @@ -4826,7 +4826,7 @@ Sometimes when you LaTeX a document, there will be errors, things that LyX When this happens, LyX will open a \family sans LaTeX -\begin_inset Space ~ +\begin_inset space ~ \end_inset Errors