Math, asked by madhurimac87, 9 months ago

hii guys how to use latex

Answers

Answered by kirthiparu6
8

The steps to use Latex through the editor Texmaker are given below:

All the commands in the Latex begin with the backslash' \.'

The first step is to open the Texmaker or any corresponding editor you are using for the Latex.

Here, we have used the Textmaker, and it will look like the below image:

How to use Latex

You can click on the File menu and select New file. You can now start your programming or writing the code on the screen.

Let's understand the Latex programming or code by an example. We will be writing code on the screen, and the corresponding output will be printed, after the compilation of the code. If there are errors, then at the white bottom window, as shown above, the errors will be displayed with the line number.

The example is to print a 'thought of the day.' The same code is written on the Texmaker screen.

The code is given below:

\documentclass[a4paper]{article}

\begin{document}

\begin{center}

\begin{large}

\textbf{\LaTeX\ Thought of the day}\\

\end{large}

\end{center}

"Life is really liberal to those who pursue their personal legend."

\end{document}

Explanation:

{center} is used to align the text to the center.

\textbf is used to display the text in bold.

{large} is a type of font size.

The same code on the Texmaker screen will look like the image provided below:

How to use Latex

After writing the code, save the file and then click on the Quick Build option at the top to view the output.

The output of this code is shown in the image below:

How to use Latex

Similarly, you can write as much data and commands to format your document.

It depends on the user, which type and style he/she wants to use in the particular document. Another example to write a paragraph is shown below:

\documentclass[a4paper]{article}

\begin{document}

\begin{center}

\begin{huge}

\textit{\LaTeX\ Overview}\\

%'\\' is used to display the text in the new line

\end{huge}

\end{center}

\LaTeX\ uses more iteration and floating elements such as tables and the figures to make the document more refined and polished.%\ In between is used for the spacing

% here % command is used to write the comments which are ignored by the Latex and hence are not reflected in the output

It is a document typesetting system used for the publication of technical documents. Latex software not only saves time but also makes the text more attractive and refined. It is used by scientists, authors for the subjects such as mathematics, economics, psychology, engineering, etc. there are two types of editors available for the Latex, which are online and offline editors. It depends on the convenience and ease of the user to choose any particular editor for the Latex. The procedure to write the cost makes the user concentrate on the content instead of the format. It also has the feature of spell checking.

\end{document}.

Similar questions