Difference between revisions of "LaTeX"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''You are here''': [[Main Page]] >> [[Spoken Tutorial Processes]] >> LaTeX
+
'''LaTeX''' is a '''typesetting software''' for document preparation, letter writing, report writing and such. When writing, the writer uses plain text and LaTeX does all the formatting, stylizing and indentation.  LaTeX's prominent use is in the preparation and publication of books and articles that contain complex mathematical formulae, numbering and cross-referencing of tables and figures, chapter and section headings, the inclusion of graphics, page layout, indexing and bibliographies.
==Scripts for LaTeX==
+
  
 +
'''Learners''' : UG/PG students, faculty and research scholars.
 +
 +
 +
__TOC__
 
== Basic Level LaTeX ==
 
== Basic Level LaTeX ==
 
# LaTeX on Windows using TeXworks
 
# LaTeX on Windows using TeXworks
Line 7: Line 10:
 
#* Writing basic LaTeX document using TeXworks editor
 
#* Writing basic LaTeX document using TeXworks editor
 
#* Configuring MikTeX to download missing packages
 
#* Configuring MikTeX to download missing packages
# What is Compiling?
+
# Report Writing
#* Using an editor, open a new ''source'' file, hello.tex, add the following lines and save:
+
#*report style having chapter, section and subsection
#* \documentclass[12pt]{article} hello world! \end{document}
+
#*article style having section, subsection and subsubsection
#* Compile using ''pdflatex hello.tex'' and also using ''pdflatex hello''
+
#*Automatic generation of table of contents
#* Importance of saving before compilation
+
#*toc file to store the information that goes into the table of contents
#* Importance of saving frequently
+
#*Automatic numbering of section numbers
#* Screen arrangement to viewing three activities: editing, compiling and viewing the output
+
#*Appendix; its appearance in report and article style
#* View the compiled file using a browser that shows the latest changes
+
#*exiting from LaTeX when a compilation error occurs
#* Change the file, compile and demonstrate how the pdf file shows the changes
+
#* Why LaTeX is important
+
#* Summary of spoken tutorials available on LaTeX
+
#* Where to get more help
+
 
# Letter Writing  
 
# Letter Writing  
#* Letter document class
+
#*Letter document class
#* 12pt and 11pt and 10pt font size
+
#* From address  
#* From address appearing in top right hand corner - remove and put it back
+
 
#* Automatic generation and format of date
 
#* Automatic generation and format of date
 
#* Starting a new line with double slash
 
#* Starting a new line with double slash
#* To address
+
#*To address
#* Opening statement
+
#*Starting a new paragraph with a blank line
#* Starting a new paragraph with a blank line
+
 
#* itemize environment for bullet points
 
#* itemize environment for bullet points
 
#* enumerate environment for numbered points
 
#* enumerate environment for numbered points
#* Closing statement
+
#*Closing statement
#* Signature  
+
#* Signature
#* Carbon copy
+
#* Carbon copy  
# Report Writing
+
#* report style having chapter, section and subsection
+
#* article style having section, subsection and subsubsection
+
#* Size of the above three are proportionate to each other and to the font size chosen
+
#* Blank lines do not change the appearance in the output
+
#* Automatic generation of table of contents
+
#* toc file to store the information that goes into the table of contents
+
#* Table of contents appearing in the place where tableofcontents command is given
+
#* Automatic numbering of section numbers
+
#* maketitle command to create title, author information and date
+
#* appendix command to create Appendix; its appearance in report and article style
+
#* exiting from LaTeX when a compilation error occurs
+
 
# Mathematical Typesetting  
 
# Mathematical Typesetting  
 
#* $ sign to begin and end mathematical expressions
 
#* $ sign to begin and end mathematical expressions
Line 74: Line 59:
 
#* left[, right] and also left[. (i.e. left bracking fullstop)
 
#* left[, right] and also left[. (i.e. left bracking fullstop)
 
#* Blank lines in the align environment is not permissible
 
#* Blank lines in the align environment is not permissible
 +
#Numbering Equations
 +
#*amsmath
 +
#*numbering equations
 +
#*align environment
 +
#*nonumber command
 +
#*labelling equations with the label command
 +
#*cross referencing equations with the ref command
 +
#*case dependence of variables in label command
 +
#*taking help from stackexchange
 +
#*learning from ltx-primer.pdf
 +
#*typing if-else with cases command
 
# Tables and Figures  
 
# Tables and Figures  
 
#* Creating tables and figures in Latex
 
#* Creating tables and figures in Latex
Line 80: Line 76:
 
# Bibliography  
 
# Bibliography  
 
#* Creaing Bibliography in Latex
 
#* Creaing Bibliography in Latex
# Inside story of Bibliography
 
  
 
==Intermediate Level==
 
==Intermediate Level==
 +
 +
#Feedback diagram with Maths
 +
#* Open the .fig file saved in the feedback control tutorial
 +
#* Put $G(z) = \frac z{z-1}$ in the second block diagram
 +
#* Choose the special flag
 +
#* Save and export it as combined tex and pdf
 +
#* Show that if "special" is not chosen, we get only text
 +
#* Change /frac into /dfrac
 +
#* Show that at the time of compilation, dfrac unknown error
 +
#* Include \usepackage{amsmath} in the tex file
 +
#* Recompile it and show that the equation is now coming properly
 +
#* Use pdfcrop to trim the pdf file, mention Briss
 +
# newcommand in LaTeX
 +
#* What is a command?
 +
#* Different types of commands with examples
 +
#* Defining a new command
 +
#* Defining short commands for long repeated input.   
 +
#* Commands with parameter
 +
#* Passing parameters to the commands defined
 +
#* Renewcommand
 +
#* Redefining the existing commands to the required output
 +
# newenvironment in LaTeX
 +
#* What is an environment?
 +
#* Defining a new environment
 +
#* Defining environments with parameters
 +
#* Renewenvironment
 +
#* Redefining an existing environment to the required output
 +
# Writing Style Files in LaTeX
 +
#* About LaTeX Styles files.
 +
#* Writing a Style file for LaTeX.
 +
#* Importing a Style file in LaTeX.
 +
#* Defining a standard Style file for LaTeX.
 +
#* newcommand in LateX.newenvironment in LaTeX.
 +
#* RequirePackage command in LaTeX.
 +
#* usepackage command in LaTeX.
 +
#* Style file identification.
 +
#* Preliminary declarations of a Style file.
 +
#* NeedsTeXFormat.
 +
#* ProvidesPackage.
 +
# Indic Language Typesetting in LaTeX
 +
#* Typeset a document in Indic language using XeLaTeX.
 +
#* Indic language fonts bundle.
 +
#* Installing Indic language Fonts.
 +
#* Installing Nirmala UI Fonts.XeLaTeX Compiler.
 +
#* Using Fontspec package.
 +
#* Using Polyglossia package.
 +
#* Select language command.
 +
#* Set default language in LaTeX.
 +
#* Set other language in LaTeX.
  
 
==Advanced Level==
 
==Advanced Level==

Latest revision as of 11:52, 11 October 2021

LaTeX is a typesetting software for document preparation, letter writing, report writing and such. When writing, the writer uses plain text and LaTeX does all the formatting, stylizing and indentation. LaTeX's prominent use is in the preparation and publication of books and articles that contain complex mathematical formulae, numbering and cross-referencing of tables and figures, chapter and section headings, the inclusion of graphics, page layout, indexing and bibliographies.

Learners : UG/PG students, faculty and research scholars.


Basic Level LaTeX

  1. LaTeX on Windows using TeXworks
    • Installing MikTeX on Windows
    • Writing basic LaTeX document using TeXworks editor
    • Configuring MikTeX to download missing packages
  2. Report Writing
    • report style having chapter, section and subsection
    • article style having section, subsection and subsubsection
    • Automatic generation of table of contents
    • toc file to store the information that goes into the table of contents
    • Automatic numbering of section numbers
    • Appendix; its appearance in report and article style
    • exiting from LaTeX when a compilation error occurs
  3. Letter Writing
    • Letter document class
    • From address
    • Automatic generation and format of date
    • Starting a new line with double slash
    • To address
    • Starting a new paragraph with a blank line
    • itemize environment for bullet points
    • enumerate environment for numbered points
    • Closing statement
    • Signature
    • Carbon copy
  4. Mathematical Typesetting
    • $ sign to begin and end mathematical expressions
    • Creating alpha, beta, gamma and delta
    • Space being used as a terminator of symbols
    • Creating spaces in mathematical formulae
    • Difference in font of text and formula
    • Difference in the minus sign in text and in formula
    • frac command to create fractions
    • Subscripts and superscripts
    • Use of braces {} to demarcate arguments
    • Not equal to, greater than or equal to, less than or equal to, much less than
    • Right arrow, left arrow, left right arrow, up arrow
    • Integral sign, limits of an integral
    • Matrices of different rows and columns
  5. Equations
    • amsmath package and align and align* environments to create equations
    • Matrix differential equation
    • aligning two equations using &, with and without intervening text
    • Automatic numbering of equations using align
    • Labeling equations with the label command
    • Cross referencing equation numbers through the ref command
    • Inserting text between two aligned equations through the intertext command
    • Automatic generation of equation numbers at run time allows insertion and removal of an equation from a set of equations
    • Labeling sections and subsections for easy and fool-proof cross referencing
    • Breaking an equation into more than one line
    • Suppression of equation numbers in the align environment using the nonumber command
    • Use of backslash (\) to make braces appear as braces
    • left[, right] and also left[. (i.e. left bracking fullstop)
    • Blank lines in the align environment is not permissible
  6. Numbering Equations
    • amsmath
    • numbering equations
    • align environment
    • nonumber command
    • labelling equations with the label command
    • cross referencing equations with the ref command
    • case dependence of variables in label command
    • taking help from stackexchange
    • learning from ltx-primer.pdf
    • typing if-else with cases command
  7. Tables and Figures
    • Creating tables and figures in Latex
  8. Beamer
    • Creating a presentation using a Beamer
  9. Bibliography
    • Creaing Bibliography in Latex

Intermediate Level

  1. Feedback diagram with Maths
    • Open the .fig file saved in the feedback control tutorial
    • Put $G(z) = \frac z{z-1}$ in the second block diagram
    • Choose the special flag
    • Save and export it as combined tex and pdf
    • Show that if "special" is not chosen, we get only text
    • Change /frac into /dfrac
    • Show that at the time of compilation, dfrac unknown error
    • Include \usepackage{amsmath} in the tex file
    • Recompile it and show that the equation is now coming properly
    • Use pdfcrop to trim the pdf file, mention Briss
  2. newcommand in LaTeX
    • What is a command?
    • Different types of commands with examples
    • Defining a new command
    • Defining short commands for long repeated input.
    • Commands with parameter
    • Passing parameters to the commands defined
    • Renewcommand
    • Redefining the existing commands to the required output
  3. newenvironment in LaTeX
    • What is an environment?
    • Defining a new environment
    • Defining environments with parameters
    • Renewenvironment
    • Redefining an existing environment to the required output
  4. Writing Style Files in LaTeX
    • About LaTeX Styles files.
    • Writing a Style file for LaTeX.
    • Importing a Style file in LaTeX.
    • Defining a standard Style file for LaTeX.
    • newcommand in LateX.newenvironment in LaTeX.
    • RequirePackage command in LaTeX.
    • usepackage command in LaTeX.
    • Style file identification.
    • Preliminary declarations of a Style file.
    • NeedsTeXFormat.
    • ProvidesPackage.
  5. Indic Language Typesetting in LaTeX
    • Typeset a document in Indic language using XeLaTeX.
    • Indic language fonts bundle.
    • Installing Indic language Fonts.
    • Installing Nirmala UI Fonts.XeLaTeX Compiler.
    • Using Fontspec package.
    • Using Polyglossia package.
    • Select language command.
    • Set default language in LaTeX.
    • Set other language in LaTeX.

Advanced Level

Contributors and Content Editors

Gaurav, Minal, Nancyvarkey, PoojaMoolya, Pravin1389