Latex

From Conservapedia

LaTeX is a computer typesetting language for mathematical markup. It was designed and developed by Leslie Lamport[1] as an extension of TeX, an existing typesetting language developed by Donald Knuth. LaTeX is used nearly universally by mathematicians, physicists, engineers, computer scientists and other scientists in need of technical formatting in their publications.

Examples[edit]

\documentclass[12pt]{article}        %Specifies the font size and the document style
\begin{document}                     �gins the document
$$\sqrt{\frac{1}{4}} = \frac{1}{2}$$ %Dollar sign ($) delimits math expressions; $$ delimits math expressions displayed centered on their own line
\end{document}                       %Document closing tag

This LaTeX code would output:

Highly complex mathematical expressions are also possible; for example, the following code:[2]

 \operatorname{erfc}(x) =
 \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
 \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}

would output:

The style declaration, beginning and closing end tags are omitted for brevity.

References[edit]

  1. Gratzer, G. First Steps in LaTeX. Birkhauser, Boston; p. xiv (1999) [1]
  2. Mediawiki Help:Displaying a Formula

External links[edit]


Categories: [Programming Languages] [Mathematics]


Download as ZWI file | Last modified: 02/21/2023 08:44:40 | 13 views
☰ Source: https://www.conservapedia.com/LaTeX | License: CC BY-SA 3.0

ZWI signed:
  Encycloreader by the Knowledge Standards Foundation (KSF) ✓[what is this?]