Art of Problem Solving

LaTeX: Difference between revisions

Mus sum (talk | contribs)
No edit summary
Aoum (talk | contribs)
No edit summary
 
(39 intermediate revisions by 23 users not shown)
Line 1: Line 1:
{{Latex}}
{{latex}}
The <math>\text{\LaTeX}</math> typesetting system (typically pronounced "Lah-Tek is widely used to produce well-formatted [[math|mathematical]] and scientific writing. <math>\text{\LaTeX}</math> is very handy for producing equations such as
<cmath>\frac 25\cdot13=\frac{26}{5}\cdot1=\sqrt{\tfrac{676}{25}}</cmath>
and
<cmath>3^n=\underbrace{3\cdot3\cdot3\cdot3\cdot3\dots}_{n\text{ copies of 3}}.</cmath>
Nearly every serious math or science student will use <math>\text{\LaTeX}</math> frequently. Through these web pages, you will learn much of what you'll need to express math and science like a professional.


* Click[http://www.artofproblemsolving.com/wiki/index.php/LaTeX:LaTeX_on_AoPS here] to start learning how to use <math>\text{\LaTeX}</math> on AoPS.
The <math>\textbf{\LaTeX}</math> typesetting markup language (typically pronounced "lah-tek", but also sometimes "lay-tek", or "lay-tex") is widely used to produce well-formatted [[math|mathematical]] and [[scientific]] writing, invented by mathematician Donald Knuth. <math>\text{\LaTeX}</math> is very handy for writing equations such as
{{Asymptote}}
{{main|Asymptote}}
'''Asymptote''' is a powerful vector graphics language designed for creating mathematical diagrams and figures.  It can output images in either eps or pdf format and is compatible with the standard mathematics typesetting language, [[LaTeX]].  It is also a complete programming language and has cleaner syntax than its predecessor, [http://netlib.bell-labs.com/who/hobby/MetaPost.html MetaPost].
Asymptote is very handy for producing diagrams such as the ones below:


<center>[[Image:Figure1.jpg]]</center>
<cmath>\sqrt[3]{\frac{4^2}{5}+\pi} \approx 1.9</cmath>


To begin and end Asymptote codes, you can use the <tt><nowiki<asy>..</asy></nowiki></tt>  tags.  
Nearly every serious student of math or science will use <math>\text{\LaTeX}</math> frequently. Through these websites, you will learn what you'll need to express math and science like a professional, much, much better than Microsoft Word!
<pre><nowiki><asy>
draw((0,0)--(3,7),red);
dot((0,0));
dot((3,7));
label("Produced with Asymptote "+version.VERSION,point(S),2S);
</asy></nowiki></pre>
created the picture
<center><asy>
draw((0,0)--(3,7),red);
dot((0,0));
dot((3,7));
label("Produced with Asymptote "+version.VERSION,point(S),2S);
</asy></center>
And on the AoPS forums you can use <tt><nowiki>[asy]..[/asy]</nowiki></tt>


Another example:
* Click [[LaTeX:LaTeX_on_AoPS|here]] to start learning how to use <math>\text{\LaTeX}</math> on AoPS.
* [{{SERVER}}/community/c68 LaTeX and Asymptote forum on AoPS]
* Click [//www.overleaf.com/learn here] for a guide for more professional <math>\text{\LaTeX}</math> by Overleaf.
* Click [//latex-tutorial.com here] for a guide to making PDFs using <math>\text{\LaTeX}</math> for use unrelated to AoPS.
* See  or [//youtu.be/HfRsDKBrSaA this 5-minute video] or [//youtu.be/mdFD9uQNU24 this 15-minute crash course] on <math>\text{\LaTeX}</math>.


<pre><nowiki>[asy]
== See Also ==
pair A,B,C,X,Y,Z;
A = (0,0);
B = (1,0);
C = (0.3,0.8);
draw(A--B--C--A);
X = (B+C)/2;
Y = (A+C)/2;
Z = (A+B)/2;
draw(A--X, red);
draw(B--Y,red);
draw(C--Z,red);
[/asy]</nowiki></pre>


<asy>
* [[Asymptote (Vector Graphics Language)]]
pair A,B,C,X,Y,Z;
A = (0,0);
B = (1,0);
C = (0.3,0.8);
draw(A--B--C--A);
X = (B+C)/2;
Y = (A+C)/2;
Z = (A+B)/2;
draw(A--X, red);
draw(B--Y,red);
draw(C--Z,red);
</asy>
In a sense, Asymptote seems to be the ruler and compass of graphical typesetting.

Latest revision as of 10:55, 28 September 2025

LaTeX
About - Getting Started - Diagrams - Symbols - Downloads - Basics - Math - Examples - Pictures - Layout - Commands - Packages - Help

The $\textbf{\LaTeX}$ typesetting markup language (typically pronounced "lah-tek", but also sometimes "lay-tek", or "lay-tex") is widely used to produce well-formatted mathematical and scientific writing, invented by mathematician Donald Knuth. $\text{\LaTeX}$ is very handy for writing equations such as

\[\sqrt[3]{\frac{4^2}{5}+\pi} \approx 1.9\]

Nearly every serious student of math or science will use $\text{\LaTeX}$ frequently. Through these websites, you will learn what you'll need to express math and science like a professional, much, much better than Microsoft Word!

See Also