X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FTutorial.lyx;h=a4733d054cae1ffc6917b119fc797bd6d2ee2454;hb=f5fd6998473b690ea19ba138f5b8212bb5c91a2e;hp=de1922e7b80ea58cf132f595786bd59187e886d7;hpb=2f4233721d3e0353899e1ee03ae2ad61cb6d23c0;p=lyx.git diff --git a/lib/doc/Tutorial.lyx b/lib/doc/Tutorial.lyx index de1922e7b8..a4733d054c 100644 --- a/lib/doc/Tutorial.lyx +++ b/lib/doc/Tutorial.lyx @@ -1,36 +1,10 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 503 +\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 - -\usepackage{ifpdf} % part of the hyperref bundle -\ifpdf % if pdflatex is used - - % set fonts for nicer pdf view - \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{} - -\fi % end if pdflatex is used - -% 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 @@ -40,9 +14,9 @@ logicalmkup \language_package default \inputencoding auto \fontencoding global -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" +\font_roman "palatino" "default" +\font_sans "helvet" "default" +\font_typewriter "courier" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false @@ -51,7 +25,7 @@ logicalmkup \font_sf_scale 100 100 \font_tt_scale 100 100 \graphics default -\default_output_format default +\default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default @@ -66,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 @@ -167,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 @@ -301,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 @@ -320,10 +290,6 @@ User's Guide \begin_layout Itemize Detailed explanations of \SpecialChar LaTeX . -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_deeper @@ -464,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 @@ -556,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 @@ -595,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 @@ -635,10 +629,6 @@ arg "redo" \end_inset ) to get it back. -\begin_inset Separator parbreak -\end_inset - - \end_layout \begin_deeper @@ -896,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 @@ -1398,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 @@ -1693,7 +1688,8 @@ Space s. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -1773,7 +1769,8 @@ User's Guide environments. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -1787,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 @@ -1945,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 @@ -2268,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 @@ -2325,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 @@ -2428,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 @@ -2504,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 @@ -2700,7 +2709,8 @@ reference "sec:Document-Classes" \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise @@ -2878,7 +2888,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 @@ -3070,7 +3081,8 @@ User's Guide for details. \end_layout -\begin_layout Standard +\begin_layout Labeling +\labelwidthstring 00.00.0000 \series bold Exercise: @@ -3182,7 +3194,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 @@ -3232,8 +3245,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 @@ -3526,7 +3542,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}}$ @@ -3536,12 +3552,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 @@ -3876,12 +3897,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 @@ -4059,12 +4085,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 @@ -4143,25 +4174,25 @@ Columns or the math toolbar buttons \begin_inset Info type "icon" -arg "inset-modify tabular append-row" +arg "tabular-feature append-row" \end_inset , \begin_inset Info type "icon" -arg "inset-modify tabular delete-row" +arg "tabular-feature delete-row" \end_inset , \begin_inset Info type "icon" -arg "inset-modify tabular append-column" +arg "tabular-feature append-column" \end_inset , \begin_inset Info type "icon" -arg "inset-modify tabular delete-column" +arg "tabular-feature delete-column" \end_inset . @@ -4207,11 +4238,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. @@ -4269,7 +4296,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 @@ -4281,7 +4309,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 @@ -4633,8 +4662,7 @@ Anything that you enter in \SpecialChar TeX by choosing \family sans Insert\SpecialChar menuseparator -\SpecialChar TeX - +TeX \begin_inset space ~ \end_inset @@ -4805,8 +4833,7 @@ You can import a \SpecialChar LaTeX \family sans File\SpecialChar menuseparator Import\SpecialChar menuseparator -\SpecialChar LaTeX - +LaTeX \begin_inset space ~ \end_inset @@ -4921,8 +4948,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 @@ -4986,8 +5012,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 @@ -5022,8 +5047,7 @@ List \end_inset TOC\SpecialChar menuseparator -Bib\SpecialChar TeX - +BibTeX \begin_inset space ~ \end_inset