diff options
author | Harish Badrinath | 2012-03-06 12:04:01 +0530 |
---|---|---|
committer | Harish Badrinath | 2012-03-06 12:04:01 +0530 |
commit | 0f73a1ddad07d654cb9b0f068ea2b4c2a109b79f (patch) | |
tree | 1c50d65d9d3fad229f7793e04cb907540cd98e34 /Latex/Latex2 | |
parent | 9aa3dead6022749ef41f97bfb0d4cec2dd6ab9f5 (diff) | |
download | sdes-stscripts-0f73a1ddad07d654cb9b0f068ea2b4c2a109b79f.tar.gz sdes-stscripts-0f73a1ddad07d654cb9b0f068ea2b4c2a109b79f.tar.bz2 sdes-stscripts-0f73a1ddad07d654cb9b0f068ea2b4c2a109b79f.zip |
Fixed various errors in the Latex2,Latex3 and Latex6 scripts.
Diffstat (limited to 'Latex/Latex2')
-rw-r--r-- | Latex/Latex2/latex_intro_script.rst | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Latex/Latex2/latex_intro_script.rst b/Latex/Latex2/latex_intro_script.rst index 67a4eaf..964a7b6 100644 --- a/Latex/Latex2/latex_intro_script.rst +++ b/Latex/Latex2/latex_intro_script.rst @@ -136,7 +136,7 @@ of the document. .. R8 -Some of the disadvantages of using LaTeX approach to typesetting is +Some of the disadvantages of using LaTeX approach to typesetting are (1) Designing a whole new layout is difficult. (2) LaTeX is not a word processor, that is the document author is not expected to worry about presentation details like the size of font, for example. @@ -181,9 +181,7 @@ command and ends with an end command. So, as expected LaTeX ignores anything that is written after the \end{document} command. Essentially, anything written after the \end{document} command turns -out to be a comment. But, how do we write comments with in the document. % is -the character to indicate comments. Anything written after a % symbol in a -line, is ignored. +out to be a comment. .. L11 @@ -191,11 +189,14 @@ line, is ignored. .. R11 +But, how do we write comments with in the document. % is +the character to indicate comments. Anything written after a % symbol in a +line, is ignored. But what if we wanted to insert the % symbol in the document? We can do so by escaping it with a \ (backslash). % is one of the many special characters in -LaTeX. The others are, ~ # $ ^ & _ { } \. All of them, except the \ itself, can -be inserted by escaping it with a \. To insert a \ in our document, we use the -command \textbackslash. +LaTeX. The others are shown on the screen. All of them, except the \ itself, +can be inserted by escaping it with a \. To insert a \ in our document, we use +the command \textbackslash. What would happen if we escape a \ with a \? A double backslash is actually another command. It inserts a new line in the @@ -234,8 +235,7 @@ file temp.tex into a DVI file, we use the following command latex temp.tex. -The output file would be temp.dvi.On Gnu/Linux use a program like xdvi to view -the output file. +The output file would be temp.dvi. .. L14 @@ -249,9 +249,6 @@ file temp.tex into a PDF file, we use the following command pdflatex temp.tex -The output file would be temp.pdf.On Gnu/Linux use a program like evince to -view the output file. - Please note that, throughout this course we shall be using pdflatex to compile our documents. |