diff options
Diffstat (limited to 'Latex/Latex1')
-rw-r--r-- | Latex/Latex1/latex_install_script.rst | 143 | ||||
-rw-r--r-- | Latex/Latex1/latex_installation.rst | 208 | ||||
-rw-r--r-- | Latex/Latex1/latex_installation.tex | 240 |
3 files changed, 368 insertions, 223 deletions
diff --git a/Latex/Latex1/latex_install_script.rst b/Latex/Latex1/latex_install_script.rst deleted file mode 100644 index bae8060..0000000 --- a/Latex/Latex1/latex_install_script.rst +++ /dev/null @@ -1,143 +0,0 @@ -.. Objectives -.. ---------- - -.. At the end of this tutorial, you will - -.. Install LaTeX on your computer. -.. Learn how to install a plug-in for a TeX editor. -.. Configure the TeX editor with the LaTeX plug-in. -.. Useful information on some LaTeX packages. -.. Compile a TeX file to pdf. - -.. Prerequisites -.. ------------- - -.. You'll need a TeX distribution. -.. A good text editor and a DVI or PDF viewer. -.. Updated Linux distribution as Operating System. -.. Working internet connection (for installation over the network). - - -.. Author : Kiran Isukapatla < kiran [at] fossee [dot] in > - Internal Reviewer : Kiran Isukapatla < kiran [at] fossee [dot] in > - External Reviewer : - Langauge Reviewer : - Checklist OK? : 25-Feb-2012 - -Script --------- - -.. L1 - -{{{Show the first slide containing title, name of the production team along with the logo of MHRD}}} - -.. R1 - -Hello friends, welcome to the tutorial on 'LaTeX Installation'. - -.. L2 - -{{{Show the slide containing the objectives}}} - -.. R2 - -At the end of this tutorial you will be able to - -1. Install LaTeX on your computer. -#. Learn how to install a plug-in for a TeX editor. -#. Configure the TeX editor with the LaTeX plug-in. -#. Useful information on some LaTeX packages. -#. Compile a TeX file to pdf. - -.. L3 - -{{{Show the slide 'Prerequisites'}}} - -.. R3 - -Before beginning this tutorial, make sure to have a Linux Distribution as Operating System on your computer. You would then require a TeX distribution and a Text editor of your choice. You would require a working Internet connection (for installation over the network). - -.. L4 - -{{{Show the slide 'TeX Distribution'}}} - -.. R4 - -TeX Live is an easy way to get up and running with the TeX document production system. It provides a comprehensive TeX system with binaries for most flavors of Unix, including GNU/Linux, and also Windows. - -.. L5 - -{{{Show the slide 'Installation'}}} - -.. R5 - -There are multiple ways of installation. You may download a LaTeX distribution and run the installer. -An other way is to install using the command: 'sudo apt-get install texlive' (or) 'sudo apt-get install texlive-full'. - -.. L6 - -{{{Move onto next slide of 'Installation'}}} - -.. R6 - -We may also install LaTeX using a package manager like 'Synaptic Package Manager in Ubuntu'. -Using 'Synaptic Package Manager': Open the 'Package Manager' > Search for 'texlive-full' > Mark for installation and apply. - - -.. L7 - -{{{Show the slide 'LaTeX Plug-in'}}} - -.. R7 - -We may use a Text editor (as per your choice) as LaTeX editor. However, we require a plug-in to do this. -We would like to illustrate the same using Gedit. -Install the plug-in: 'sudo apt-get install gedit-latex-plugin'. -To activate the plug-in: Click (Edit > Preferences > Plugins > Check LaTeX Plugin). - -.. L8 - -{{{Show the slide 'LaTeX Packages'}}} - -.. R8 - -Add-on features for LaTeX are known as packages. Dozens of these are pre-installed with LaTeX and can be used in your documents immediately. -Listed here are a few popular ones and their usage. - - -.. L9 - -{{{Show the slide 'Compilation'}}} - -.. R9 - -A given LaTeX document may be compiled using the command: 'pdflatex filename.tex' -This produces an output file, in the pdf format. - - -.. L10 - -{{{Show the slide 'Summary'}}} - -.. R10 - -This brings us to the end of the tutorial. In this tutorial, we have -learnt to, - -1. Install LaTeX on your computer. -#. How to install a plug-in for a TeX editor. -#. Configure the TeX editor with the LaTeX plug-in. -#. Choose a LaTeX packages as per requirement. -#. Compile a TeX file to pdf. - - -.. L11 - -{{{Show the thank you slide}}} - -.. R11 - -Hope you have enjoyed this tutorial and found it useful. -Thank you. - - diff --git a/Latex/Latex1/latex_installation.rst b/Latex/Latex1/latex_installation.rst new file mode 100644 index 0000000..303a3e0 --- /dev/null +++ b/Latex/Latex1/latex_installation.rst @@ -0,0 +1,208 @@ +-------- +Script +-------- + +.. L1 + +{{{Show the first slide containing title, name of the production team along +with the logo of MHRD}}} + +.. R1 + +Hello friends, welcome to the tutorial on 'LaTeX Installation'. + +.. L2 + +{{{Show the slide containing the objectives}}} + +.. R2 + +At the end of this tutorial you will, + +1. Learn how to install LaTeX. +#. Learn how to install a TeX editor plug-in. +#. Know how to configure the TeX editor for LaTeX. +#. Know some useful information on LaTeX packages. +#. Be able to compile a TeX file to pdf. + +.. L3 + +{{{Show the slide 'Prerequisites'}}} + +.. R3 + +Before beginning this tutorial, you will need a TeX distribution, a good text +editor, DVI or PDF viewer. Also make sure to have a Linux Distribution as +Operating System on your computer & a working internet connection for +installing LaTeX over internet. + +.. L4 + +{{{Show the slide 'TeX Distribution'}}} + +.. R4 + +TeX Live is an easy way to get up and running with the TeX document production +system. It provides a comprehensive TeX system with binaries for most flavors +of Unix, including GNU/Linux, and also Windows. + +.. L5 + +{{{Show the slide 'Installation'}}} + +.. R5 + +There are multiple ways of installation. You may download a LaTeX distribution +and run the installer. +An other way is to install using the command: 'sudo apt-get install texlive' +for a subset Latex functionality or 'sudo apt-get install texlive-full' to +install Tex Live with all the functionalities (a complete distribution). + +.. L6 + +{{{Show the slide 'Installation..'}}} + +.. R6 + +We may also install LaTeX using a package manager like 'Synaptic Package +Manager in Ubuntu'. +Using 'Synaptic Package Manager': Open the 'Package Manager' > Search for +'texlive-full' > Mark for installation and apply. + + +.. L7 + +{{{Show the slide 'LaTeX Plug-in'}}} + +.. R7 + +We may use a Text editor (as per your choice) as LaTeX editor. +However, we require a plug-in to do this. +We would like to illustrate the same using Gedit. +Install the plug-in: 'sudo apt-get install gedit-latex-plugin'. +To activate the plug-in: Click (Edit > Preferences > Plugins > +Check LaTeX Plugin). + +.. L8 + +{{{Show the slide 'LaTeX Packages'}}} + +.. R8 + +Add-on features for LaTeX are known as packages. Dozens of these are +pre-installed with LaTeX and can be used in your documents immediately. +Listed here are a few popular ones and their usage. +Latex-beamer package is used to create presentations. +TexPower package is used to create dynamic presentation online. +Prosper is a Latex class which helps writing transparencies and high quality +presentations. + +.. L9 + +{{{Show the slide 'LaTeX Packages..'}}} + +.. R9 + +Also graphic packages like texlive-pictures are available for drawing +graphics & texlive-latex-extra for additional add-on packages. + +.. L10 + +{{{Show the slide 'Compilation'}}} + +.. R10 + +A given LaTeX document may be compiled to pdf using the command: +'pdflatex filename.tex' +This produces an output file, in the pdf format. + + +.. L11 + +{{{Show the slide 'Summary'}}} + +.. R11 + +This brings us to the end of the tutorial. In this tutorial, we have +learnt to, + +1. Install LaTeX on your computer. +#. Install/Configure TeX editor with LaTeX plug-in. +#. Choose a LaTeX packages as per requirement. +#. Compile a TeX file to pdf. + +.. L12 + +{{{ Show the slide 'Exercise' }}} + +.. R12 + +1. How can we check the version of the LaTeX package installed ? +2. How can we check if the plug-in is properly configured with TeX editor ? + +.. L13 + +{{{ Show the slide 'Solutions' }}} + +.. R13 + +1. Use the command latex with -v option to check the version installed +2. In the editor select the edit menu and follow the sequence: +Edit > Preferences > Plugins > Check +LaTeX Plug-in + + + +.. L14 + +{{{ Show the SDES & FOSSEE slide }}} + +.. R14 + +Software Development techniques for Engineers and Scientists - SDES, is an +initiative by FOSSEE. For more information, please visit the given link. + +Free and Open-source Software for Science and Engineering Education - FOSSEE, is +based at IIT Bombay which is funded by MHRD as part of National Mission on +Education through ICT. + +.. L15 + +{{{ Show the ``About the Spoken Tutorial Project'' slide }}} + +.. R15 + +Watch the video available at the following link. It summarises the Spoken +Tutorial project.If you do not have good bandwidth, you can download and +watch it. + +.. L16 + +{{{ Show the `` Spoken Tutorial Workshops'' slide }}} + +.. R16 + +The Spoken Tutorial Project Team conducts workshops using spoken tutorials, +gives certificates to those who pass an online test. + +For more details, contact contact@spoken-tutorial.org + +.. L17 + +{{{ Show the Acknowledgements slide }}} + +.. R17 + +Spoken Tutorial Project is a part of the "Talk to a Teacher" project. +It is supported by the National Mission on Education through ICT, MHRD, +Government of India. More information on this mission is available at the +given link. + +.. L18 + +{{{ Show the Thankyou slide }}} + +.. R18 + +Hope you have enjoyed this tutorial and found it useful. +Thank you! diff --git a/Latex/Latex1/latex_installation.tex b/Latex/Latex1/latex_installation.tex index ca64d44..062bf64 100644 --- a/Latex/Latex1/latex_installation.tex +++ b/Latex/Latex1/latex_installation.tex @@ -1,78 +1,83 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% LateX -% -% Author: FOSSEE -% Copyright (c) 2009, FOSSEE, IIT Bombay -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\documentclass[14pt,compress]{beamer} - +\documentclass[17pt,compress]{beamer} +\usepackage{beamerthemesplit} \mode<presentation> { \usetheme{Warsaw} \useoutertheme{infolines} \setbeamercovered{transparent} + \setbeamertemplate{navigation symbols}{} } +% Taken from Fernando's slides. +\usepackage{ae,aecompl} +\usepackage[scaled=.95]{helvet} \usepackage[english]{babel} \usepackage[latin1]{inputenc} -%\usepackage{times} \usepackage[T1]{fontenc} -% Taken from Fernando's slides. -\usepackage{ae,aecompl} -\usepackage{mathpazo,courier,euler} -\usepackage[scaled=.95]{helvet} +% change the alerted colour to LimeGreen +\definecolor{LimeGreen}{RGB}{50,205,50} +\setbeamercolor{structure}{fg=LimeGreen} +\author[FOSSEE]{} +\institute[IIT Bombay]{} +\date[]{} +% \setbeamercovered{transparent} -\definecolor{darkgreen}{rgb}{0,0.5,0} +% theme split +\usepackage{verbatim} +\newenvironment{colorverbatim}[1][]% +{% +\color{blue} +\verbatim +}% +{% +\endverbatim +}% +\usepackage{mathpazo,courier,euler} \usepackage{listings} -\lstset{language=bash, +\lstset{language=sh, basicstyle=\ttfamily\bfseries, - commentstyle=\color{red}\itshape, - stringstyle=\color{darkgreen}, showstringspaces=false, - keywordstyle=\color{blue}\bfseries} - -\newcommand{\inctime}[1]{\addtocounter{time}{#1}{\tiny \thetime\ m}} + keywordstyle=\color{black}\bfseries} -\newcommand{\typ}[1]{\lstinline{#1}} +% logo +\logo{\includegraphics[height=1.30 cm]{../images/3t-logo.pdf}} +\logo{\includegraphics[height=1.30 cm]{../images/fossee-logo.pdf} -\newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} } - -\setbeamercolor{emphbar}{bg=blue!20, fg=black} -\newcommand{\emphbar}[1] +\hspace{7.5cm} +\includegraphics[scale=0.99]{../images/fossee-logo.pdf}\\ +\hspace{281pt} +\includegraphics[scale=0.80]{../images/3t-logo.pdf}} \begin{document} -\begin{frame} +\sffamily \bfseries +\title +[\LaTeX: \: Installation] +{\LaTeX: \:Installation} +\author +[FOSSEE] +{\small Talk to a Teacher\\{\color{blue}\url{http://spoken-tutorial.org}}\\\vspace{0.25cm}National Mission on Education + through ICT\\{\color{blue}\url{ http://sakshat.ac.in}} \\ [1.65cm] + Contributed by FOSSEE Team \\IIT Bombay \\[0.3cm] +} -\begin{center} -\vspace{12pt} -\textcolor{blue}{\huge {\LaTeX}: Installation} -\end{center} -\vspace{18pt} -\begin{center} -\vspace{10pt} -\includegraphics[scale=0.95]{fossee-logo.png}\\ -\vspace{5pt} -\scriptsize Developed by FOSSEE Team, IIT-Bombay. \\ -\scriptsize Funded by National Mission on Education through ICT\\ -\scriptsize MHRD,Govt. of India\\ -\includegraphics[scale=0.15]{images/iitb-logo.jpg}\\ -\end{center} +% slide 1 +\begin{frame} + \titlepage \end{frame} \begin{frame} \frametitle{Objectives} - At the end of this session, you will + At the end of this tutorial you will, \begin{itemize} - \item Learn how to install LaTeX - \item Learn how to install a TeX editor plug-in - \item Know how to configure the TeX editor for LaTeX - \item Know some useful information on LaTeX packages. - \item Be able to complie a TeX file to pdf. + \item Learn to install LaTeX + \item Learn to install a TeX editor plug-in + \item Learn to configure the TeX editor for LaTeX + \item Know few LaTeX packages + \item Be able to compile a TeX file to pdf \end{itemize} \end{frame} @@ -81,23 +86,21 @@ \frametitle{Prerequisites} Prerequisites for Installation of LaTeX \begin{itemize} - \item You'll need a TeX distribution. - \item A good text editor and a DVI or PDF viewer. - \item Updated Linux distribution as Operating System. - \item Working Internet connection (recommended, for installation over the network). + \item You'll need a TeX distribution + \item Good text editor, DVI or PDF viewer + \item Updated Linux distribution as OS + \item Working Internet connection (for installation over the network) \end{itemize} \end{frame} \begin{frame}[fragile] \frametitle{TeX Distribution} - TeX Live - \begin{itemize} - \item Easy way to get up and running with the TeX document production system. - \end{itemize} - Acquire TeX Live in many ways + TeX Live, \begin{itemize} - \item Getting TeX Live on DVD (recommended, for installation from media). - \item Installing TeX Live over the Internet (recommended, for installation over the network). + \item Easy way to get up and running with the TeX document production system + \item Acquire TeX Live in many ways + \item Getting TeX Live on DVD (for installation from media) + \item Installing TeX Live over the network \end{itemize} \end{frame} @@ -105,17 +108,17 @@ \frametitle{Installation} Running the installer \begin{itemize} - \item Run the \emph{install-tl} script to install. - \end{itemize} + \item Run the \emph{install-tl} script to install Commands - \begin{itemize} - \item \emph{sudo apt-get install texlive} : Basic subset of TeX Live's functionality. - \item \emph{sudo apt-get install texlive-full} : Complete TeX Live distribution. + \item \emph{sudo apt-get install texlive}: + Basic subset of TeX Live's functionality + \item \emph{sudo apt-get install texlive-full}: + Complete TeX Live distribution \end{itemize} \end{frame} \begin{frame}[fragile] - \frametitle{Installation} + \frametitle{Installation..} Using a Package Manager \begin{itemize} \item Open \emph{Package Manager} @@ -129,7 +132,8 @@ Gedit has a plug-in for LaTeX which converts Gedit into a LaTeX editor \begin{itemize} \item \emph{sudo apt-get install gedit-latex-plugin} : Installs plug-in - \item \emph Activate the plug-in : Click (Edit > Preferences > Plugins > Check LaTeX Plugin) + \item \emph Activate the plug-in: + Click (Edit > Preferences > Plugins > Check LaTeX Plugin) \end{itemize} \end{frame} @@ -137,20 +141,26 @@ \frametitle{LaTeX Packages} Recommended LaTeX Packages \begin{itemize} - \item \emph{latex-beamer} : Beamer package is used to create presentations. - \item \emph{TeXPower} : Is a bundle of style and class files for creating dynamic online presentations with LaTeX. - \item \emph{Prosper} : A LaTeX class for writing transparencies. - \item \emph{texlive-pictures} : This is a LaTeX package for drawing graphics. - \item \emph{texlive-latex-extra} : This is a large collection of add-on packages for LaTeX. + \item \emph{latex-beamer} : to create presentations + \item \emph{TeXPower} : for dynamic online presentations + \item \emph{Prosper} : class for writing transparencies + \end{itemize} +\end{frame} + +\begin{frame}[fragile] + \frametitle{LaTeX Packages..} + \begin{itemize} + \item \emph{texlive-pictures} : for drawing graphics + \item \emph{texlive-latex-extra} : add-on packages \end{itemize} \end{frame} \begin{frame}[fragile] \frametitle{Compilation} - LaTeX distribution installed, you may compile a LaTeX document + LaTeX distribution installed, you may compile a LaTeX document to pdf file \begin{itemize} - \item \emph{pdflatex filename.tex} : Compiles the LaTeX document. - \item Output : PDF file. + \item \emph{pdflatex filename.tex} : Compiles the LaTeX document + \item Output : PDF file \end{itemize} \end{frame} @@ -158,23 +168,93 @@ \begin{frame}[fragile] \frametitle{Summary} \begin{itemize} - \item Installing a LaTeX distribution. - \item Install/Configure LaTeX Plug-in. - \item Recommended LaTeX Packages. - \item Compile a LaTeX document. + \item Install LaTeX on your computer + \item Install/Configure TeX editor with LaTeX plug-in + \item Choose a LaTeX package as per requirement + \item Compile a TeX file to PDF + \end{itemize} +\end{frame} + +\begin{frame}[fragile] + \frametitle{Exercise} + \begin{itemize} + \item How can we check the version of the LaTeX package installed ? + \item How can we check if the plug-in is properly configured with TeX + editor ? + \end{itemize} +\end{frame} + +\begin{frame}[fragile] + \frametitle{Solutions} + \begin{itemize} + \item Use the command \textit {latex -v} to check the version installed + \item Edit > Preferences > Plugins > Check LaTeX Plug-in \end{itemize} \end{frame} \begin{frame} -\begin{block}{} +\frametitle{SDES \& FOSSEE} +\begin{center} +\begin{itemize} +\item \small{SDES}\\ +\small{\color{LimeGreen}Software Development techniques + for Engineers and Scientists} \\ +\scriptsize An initiative by FOSSEE. \\ +\vspace{3pt} +\scriptsize For more information on SDES, please visit +{\color{blue}\url{http://fossee.in/sdes}}\\ +\vspace{12pt} +\item \small{FOSSEE}\\ +\small {\color{LimeGreen}Free and Open-source Software for \\ +Science and Engineering Education} \\ +\scriptsize Based at IIT Bombay, Funded by MHRD.\\ +\vspace{3pt} +\scriptsize Part of National Mission on Education through ICT (NME-ICT) \\ +\end{itemize} +\end{center} +\end{frame} + +\begin{frame} +\frametitle{About the Spoken Tutorial Project} +\begin{itemize} +\item Watch the video available at +{\color{blue}\url{http://spoken-tutorial.org /What\_is\_a\_Spoken\_Tutorial}} +\item It summarises the Spoken Tutorial project +\item If you do not have good bandwidth, you can download and watch it +\end{itemize} +\end{frame} + +\begin{frame} +\frametitle{Spoken Tutorial Workshops}The Spoken Tutorial Project Team +\begin{itemize} +\item Conducts workshops using spoken tutorials +\item Gives certificates to those who pass an online test +\item For more details, please write to \\ \hspace {0.5cm} +{\color{blue}contact@spoken-tutorial.org} +\end{itemize} +\end{frame} + +\begin{frame} +\frametitle{Acknowledgements} +\begin{itemize} +\item Spoken Tutorial Project is a part of the Talk to a Teacher project +\item It is supported by the National Mission on Education through +ICT, MHRD, Government of India +\item More information on this Mission is available at: \\ +{\color{blue}\url{http://spoken-tutorial.org/NMEICT-Intro}} +\end{itemize} +\end{frame} + +\begin{frame} + \begin{block}{} \begin{center} - \textcolor{blue}{\Large THANK YOU!} + {\Large THANK YOU!} \end{center} \end{block} \begin{block}{} \begin{center} For more Information, visit our website\\ - \url{http://fossee.in/} + {\color{blue}\url{http://fossee.in/}} \end{center} \end{block} \end{frame} |