Feeds:
Posts
Comments

Posts Tagged ‘Latex in Linux’


Fundamental template in latex system is called class, There are many templates like templates for bookwriting, articles, letters presentations and for posters and many more, as you know the first line start with \document class, when you see the word begin with backslash remember that word we called command latex system class are used to state documents types and properties like date, author and title

Preamble: The first part of documents is called the preamble of the document, This is where we choose the class, specify the properties, frankly speaking this preamble define the GENERAL formatting of the documents 

\begin{document}: Starting of this command indicates the end of the preamble and the beginning of the actual document

\end{documents}: This command marks the ending of the actual documents 

\maketitle: Print the title, author and date

\section{‘Introduction’}:  This command is used to format the heading of each section in bigger and bolder format

Advertisements

Read Full Post »


As you guys already know, what is latex if you don’t.  you can have a look in this  page. To install the Latex system in Linux host firstly, we  simply run the yum search command to search the latex that match our architecture, after that we run the yum install command to install it  and this is generally the first method. Second method to install latex in our system is to download the huge ISO file form the tux.org website and install it in Linux host machine

To install the Latex form the repository issue the following command

STEP1: Search Latex in fedora repository

[root@manoj-PC manoj]# yum install latex

STEP-2: Installation Latex

[root@manoj-PC manoj]# yum install texlive texlive-latex

STEP:3 Creating PDF documents using LATEX

To create the first documents in latex open any favorite  editors of yours  and put the following commands as shown below

\documentclass[a4paper,12pt]{article}
\begin{document}
This is my first program in Latex and I am very happy to having latex system in my workstation
\end{document}

In the above scripts \documentsclass  define the size of paper that you going to use and font of the characters, while the type of documents that you are going to write is article.

\begin{documents} command tells your tex engine that the actual documents writing process has began

\end{documents} command tell your tex engine that the writing documents has come to end

after doing all above process now it’s time to convert it into PDF format to do so, simply issue the following command in your terminal

[root@manoj-PC manoj]# latex yourfirstprogram.txt

when you issued the above command the latex engine convert your textfile into PDF file along with the texsetting that you provide to the texEngine(Latex).

Read Full Post »

%d bloggers like this: