Main menu
What is LaTeX?

What is LaTeX?

Latex is a language for high quality editing documents, especially oriented to book composition, scientific and technical documents, that include formulas and high quality images. It consists on a set of Tex macros (one low-level language) and has become almost a standard for scientific publications in areas such as mathematics, physics and engineering, since we can have finer control over any typographical appearance of the document.

Latex is not a text editor, is a language for preparing documents and therefore its appearance is not equal. The latex editors differ of the WYSIWYG editor (what you see is what you get) because latex allows users to write a paper, focusing exclusively on the content without having to worry about the format details.

 

Advantages of Latex

  • Stable and multi-platform: the file format is more stable than the one in text editors, also there exist implementations for different platforms, and in all of them, the result is exactly the same.
  • High-quality equation editing: it can set the size of the parentheses, integrals, subscript and superscript, align elements in a matrices, constructed boxes, etc.
  • Ease-writing structured documents: it is possible to write texts dividing them into chapters, sections, subsections, controlling at all times numbering and cross-referencing. Automatic indexing of contents, tables or figures.
  • It's free.

 

Disadvantages of Latex

  • Slow learning curve: it requires a learning period before getting the first results. Even medium or advanced user always have a manual nearby.
  • The results are not seen until the file is compiled: no preview available until it is compiled. During this process, it is usual the appearing of compilation errors and it can be frustrating for beginners. The only solution is to be patient.

 

Using Latex

The document preparation normally requires two stages: the first is to create a source file using a text editor, which includes the appropriate commands and the text to be printed. The second is to compile the source file; this process consists on interpreting the written orders on the source file, leaving it ready to be sent to the corresponding output, either the screen or the pdf printer. Now, if you want to add or change something in the document, you must make the appropriate changes in the source file and compile it again.

 

Latex distributions

There are several latex distributions, e.g., TeXLive can be used on Linux, Mac and Windows, MacTex for OS X and MiKTeX is used in Windows. Another advantage of LaTeX is that the output is always the same, regardless of the device (printer, screen, etc..) or the operating system, and it can be exported to a variety of formats (Postscript, PDF, SGML, HTML, RTF, etc.).

 

Latex Editors

There are several applications that helps a person to write a document in a more visual way: Texmaker, LyX, TeXmacs, Texstudio, WinShell, Kile and others. Another easy way to edit and to produce the corresponding equations in latex code, is to use a Google Chrome browser extension called Daum Equation Editor.

 

Example of a Latex document

 

\documentclass[12pt]{article}
\usepackage[spanish]{babel}
\usepackage{amsmath}
\usepackage[latin1]{inputenc}
\title{\LaTeX}
\date{}
% This is a comment, not be displayed in the final document.
\begin{document}
\maketitle
\LaTeX es un programa para preparar documentos con el sistema de tipograf\'ias \footnote{Seg\'un Wikipedia, la tipograf\'ia es el arte y t\'ecnica del manejo y selecci\'on de tipos, originalmente de plomo, para crear trabajos de impresi\'ion} \TeX. \LaTeX fue desarrollado originalmente por Leslie Lamport en $1984$ y se convirti\'o en el m\'etodo dominante para la manipulaci\'on de \TeX. La versi\'on utilizada para generar este documento es \LaTeXe.
\newline
% The following code shows the quality of LaTeX typesetting
$$E=mc^2$$
$$\oint F(x)dx$$
$$\iint \Phi(x, y)dxdy$$
$$\begin{matrix}A\xrightarrow{\;\;\;f\;\;\;}B\\\pi\downarrow{\;\;\;\;\;}\;\;\;\uparrow{} \phi\\C\xrightarrow{\;\;\;g\;\;\;}D\end{matrix}$$
\end{document}

 

This code will produce a document as in Figure # 1.

 

Figure # 1: Example of a Latex document.

 

Last modified onThursday, 22 September 2016 20:49
Rate this item
(0 votes)
Luis Sequeira

Luis Sequeira is an IT professional with experience in cloud environments, quality of service and network traffic analysis, who loves looking for solutions to engineering challenges, share knowledge. At work, the main challenge is to integrate different network and software technologies to provide solution in a wide range of areas, e.g., virtual network functions, machine learning, autonomous driving, robotics and augmented reality.

Website: https://www.luissequeira.com

Related items

More in this category: « How to install SPAN?

19 comments

  • brustvergrößerung
    brustvergrößerung Monday, 02 February 2015 06:22 Comment Link

    You made some decent points there. I checked on the internet to learn more about the issue and found most
    people will go along with your views on this site.

  • Brustvergrößerung Finanzierung

    Hi! I could have sworn I've been to this site before but after looking
    at many of the posts I realized it's new to me.
    Nonetheless, I'm definitely happy I came across it and I'll be bookmarking it and checking back often!

  • Brustvergrößerung OP
    Brustvergrößerung OP Wednesday, 25 February 2015 18:38 Comment Link

    What's up, after reading this remarkable article i am too cheerful to share my experience here with mates.

  • work from home online
    work from home online Thursday, 11 June 2015 02:46 Comment Link

    Excellent post. Keep writing such kind of information on your blog.
    Im really impressed by your blog.
    Hi there, You have performed an excellent job.
    I'll certainly digg it and in my view suggest to my friends.
    I'm sure they'll be benefited from this web site.

  • hobdens small engines
    hobdens small engines Saturday, 18 July 2015 21:27 Comment Link

    Hey very nice blog!

  • bester schönheitsblog
    bester schönheitsblog Wednesday, 22 July 2015 02:16 Comment Link

    Because of the temporary results that you get from restylane (6 months to a year at best), other options began to surface and resurface.

    The different reconstructive plastic surgery options available include:.
    The fat cells in the target area are melted away without damaging the surrounding tissues.

  • cialis 20g
    cialis 20g Wednesday, 12 August 2015 01:22 Comment Link

    Hi there very nice site!! Man .. Beautiful .. Wonderful ..
    I will bookmark your web site and take the feeds additionally?
    I am happy to search out so many useful info right
    here within the put up, we need work out more
    strategies in this regard, thank you for sharing.
    . . . . .

  • http://medexpress2015.com
    http://medexpress2015.com Saturday, 21 November 2015 06:46 Comment Link

    My brother recommended I may like this blog. He used to be entirely right.
    This submit truly made my day. You cann't imagine just how a lot time I had
    spent for this info! Thanks!

  • LakitaCBuena
    LakitaCBuena Wednesday, 13 July 2016 19:38 Comment Link

    Things are very open by using a very clear clarification of the issues.
    It was definitely informative. Your internet site is extremely helpful.
    Thank you for sharing!

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.

back to top

Facebook TwitterRSS