https://artofproblemsolving.com/wiki/api.php?action=feedcontributions&feedformat=atom&user=MeFigaYoma AoPS Wiki - User contributions [en] 2025-01-05T12:01:29Z User contributions MediaWiki 1.31.1 https://artofproblemsolving.com/wiki/index.php?title=LaTeX:LaTeX_on_AoPS&diff=51675 LaTeX:LaTeX on AoPS 2013-03-07T18:12:24Z <p>MeFigaYoma: /* LaTeX on the AoPSWiki and the AoPS Community */</p> <hr /> <div>{{Latex}}<br /> <br /> This article explains how to use LaTeX in the AoPSWiki, the AoPS Community, and the AoPS Classroom.<br /> <br /> <br /> ----<br /> == LaTeX on the AoPSWiki and the AoPS Community ==<br /> <br /> LaTeX uses a special math mode to display mathematics. To place something written in LaTeX in '''math mode''', use &lt;nowiki&gt;$&lt;/nowiki&gt; signs to enclose the math you want to display. For example, suppose you type the following in a Community post or in the AoPSWiki:<br /> <br /> &lt;pre&gt;&lt;nowiki&gt;<br /> The solution to $\sqrt{x} = 5$ is $x=25$.<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> <br /> The resulting post will read: <br /> <br /> The solution to &lt;math&gt;\sqrt{x} = 5&lt;/math&gt; is &lt;math&gt;x=25&lt;/math&gt;.<br /> <br /> As we saw above, when using &lt;nowiki&gt;$&lt;/nowiki&gt;math stuff here&lt;nowiki&gt;$&lt;/nowiki&gt; to typeset math, the resulting math expression appears right in the text at the location of the &lt;nowiki&gt;$&lt;/nowiki&gt;...&lt;nowiki&gt;$&lt;/nowiki&gt;. Sometimes we want to break some of the math out of the text and give it its own special line. To do so, we use &lt;nowiki&gt;\[&lt;/nowiki&gt;math stuff here&lt;nowiki&gt;\]&lt;/nowiki&gt; or &lt;nowiki&gt;$$math stuff here$$&lt;/nowiki&gt; to put the math text in display math mode:<br /> &lt;pre&gt;&lt;nowiki&gt;<br /> The solution to \[\sqrt{x} = 5\] is \[x=25.\]<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> The output of this is:<br /> <br /> The solution to &lt;cmath&gt;\sqrt{x} = 5&lt;/cmath&gt; is &lt;cmath&gt;x=25.&lt;/cmath&gt;<br /> <br /> That's all there is to invoking LaTeX on the AoPS site. Of course, you'll want to do more than square roots! You can read through the [[LaTeX:Symbols|Symbols]] and [[LaTeX:Commands|Commands]] pages to learn how to render other symbols with LaTeX.<br /> <br /> == LaTeX in the AoPS Classroom ==<br /> <br /> LaTeX in the Classroom works almost exactly the same way it works in the AoPSWiki and Community (described above), with one small difference.<br /> To render a post in the AoPS Classroom with LaTeX, all you have to do is start your post with a semicolon. So, you'd write<br /> <br /> &lt;pre&gt;&lt;nowiki&gt;<br /> ;The solution to $\sqrt{x} = 5$ is $x=25$.<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> <br /> The resulting output will be:<br /> <br /> [[Image:Mathsamp1.gif]]<br /> <br /> Notice that you only place the mathematics portion of the post in dollar signs. You do not write &lt;nowiki&gt;&quot;;$The solution to $\sqrt{x} = 5$ is x=25.$&quot;&lt;/nowiki&gt; The result of that will be &lt;math&gt;The solution to &lt;/math&gt;\sqrt{x} = 5&lt;math&gt; is x=25.&lt;/math&gt; <br /> <br /> If you leave out the leading semicolon, your post will not be rendered as LaTeX. So, the post &quot;&lt;nowiki&gt;The solution to $\sqrt{x} = 5$ is $x=25$&lt;/nowiki&gt;&quot; would be rendered exactly as-is: &quot;&lt;nowiki&gt;The solution to $\sqrt{x} = 5$ is $x=25$&lt;/nowiki&gt;&quot;.<br /> <br /> '''Please note''': You should only use LaTeX in the classroom if you are rendering mathematics. Do not use LaTeX to make plain text posts. For example, you should not write &quot;;Wow, you're a great teacher&quot; since you don't need to render anything in that sentence with LaTeX. Instead, you should just write, &quot;Wow, you're a great teacher.&quot; You don't need LaTeX to tell your teacher how awesome the class is.</div> MeFigaYoma
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<id>https://artofproblemsolving.com/wiki/api.php?action=feedcontributions&feedformat=atom&user=MeFigaYoma</id>
<title>AoPS Wiki - User contributions [en]</title>
<link rel="self" type="application/atom+xml" href="https://artofproblemsolving.com/wiki/api.php?action=feedcontributions&feedformat=atom&user=MeFigaYoma"/>
<link rel="alternate" type="text/html" href="https://artofproblemsolving.com/wiki/index.php/Special:Contributions/MeFigaYoma"/>
<updated>2025-01-05T12:01:29Z</updated>
<subtitle>User contributions</subtitle>
<generator>MediaWiki 1.31.1</generator>
<entry>
<id>https://artofproblemsolving.com/wiki/index.php?title=LaTeX:LaTeX_on_AoPS&diff=51675</id>
<title>LaTeX:LaTeX on AoPS</title>
<link rel="alternate" type="text/html" href="https://artofproblemsolving.com/wiki/index.php?title=LaTeX:LaTeX_on_AoPS&diff=51675"/>
<updated>2013-03-07T18:12:24Z</updated>
<summary type="html"><p>MeFigaYoma: /* LaTeX on the AoPSWiki and the AoPS Community */</p> <hr /> <div>{{Latex}}<br /> <br /> This article explains how to use LaTeX in the AoPSWiki, the AoPS Community, and the AoPS Classroom.<br /> <br /> <br /> ----<br /> == LaTeX on the AoPSWiki and the AoPS Community ==<br /> <br /> LaTeX uses a special math mode to display mathematics. To place something written in LaTeX in '''math mode''', use &lt;nowiki&gt;$&lt;/nowiki&gt; signs to enclose the math you want to display. For example, suppose you type the following in a Community post or in the AoPSWiki:<br /> <br /> &lt;pre&gt;&lt;nowiki&gt;<br /> The solution to $\sqrt{x} = 5$ is $x=25$.<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> <br /> The resulting post will read: <br /> <br /> The solution to &lt;math&gt;\sqrt{x} = 5&lt;/math&gt; is &lt;math&gt;x=25&lt;/math&gt;.<br /> <br /> As we saw above, when using &lt;nowiki&gt;$&lt;/nowiki&gt;math stuff here&lt;nowiki&gt;$&lt;/nowiki&gt; to typeset math, the resulting math expression appears right in the text at the location of the &lt;nowiki&gt;$&lt;/nowiki&gt;...&lt;nowiki&gt;$&lt;/nowiki&gt;. Sometimes we want to break some of the math out of the text and give it its own special line. To do so, we use &lt;nowiki&gt;\[&lt;/nowiki&gt;math stuff here&lt;nowiki&gt;\]&lt;/nowiki&gt; or &lt;nowiki&gt;$$math stuff here$$&lt;/nowiki&gt; to put the math text in display math mode:<br /> &lt;pre&gt;&lt;nowiki&gt;<br /> The solution to \[\sqrt{x} = 5\] is \[x=25.\]<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> The output of this is:<br /> <br /> The solution to &lt;cmath&gt;\sqrt{x} = 5&lt;/cmath&gt; is &lt;cmath&gt;x=25.&lt;/cmath&gt;<br /> <br /> That's all there is to invoking LaTeX on the AoPS site. Of course, you'll want to do more than square roots! You can read through the [[LaTeX:Symbols|Symbols]] and [[LaTeX:Commands|Commands]] pages to learn how to render other symbols with LaTeX.<br /> <br /> == LaTeX in the AoPS Classroom ==<br /> <br /> LaTeX in the Classroom works almost exactly the same way it works in the AoPSWiki and Community (described above), with one small difference.<br /> To render a post in the AoPS Classroom with LaTeX, all you have to do is start your post with a semicolon. So, you'd write<br /> <br /> &lt;pre&gt;&lt;nowiki&gt;<br /> ;The solution to $\sqrt{x} = 5$ is $x=25$.<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> <br /> The resulting output will be:<br /> <br /> [[Image:Mathsamp1.gif]]<br /> <br /> Notice that you only place the mathematics portion of the post in dollar signs. You do not write &lt;nowiki&gt;&quot;;$The solution to $\sqrt{x} = 5$ is x=25.$&quot;&lt;/nowiki&gt; The result of that will be &lt;math&gt;The solution to &lt;/math&gt;\sqrt{x} = 5&lt;math&gt; is x=25.&lt;/math&gt; <br /> <br /> If you leave out the leading semicolon, your post will not be rendered as LaTeX. So, the post &quot;&lt;nowiki&gt;The solution to $\sqrt{x} = 5$ is $x=25$&lt;/nowiki&gt;&quot; would be rendered exactly as-is: &quot;&lt;nowiki&gt;The solution to $\sqrt{x} = 5$ is $x=25$&lt;/nowiki&gt;&quot;.<br /> <br /> '''Please note''': You should only use LaTeX in the classroom if you are rendering mathematics. Do not use LaTeX to make plain text posts. For example, you should not write &quot;;Wow, you're a great teacher&quot; since you don't need to render anything in that sentence with LaTeX. Instead, you should just write, &quot;Wow, you're a great teacher.&quot; You don't need LaTeX to tell your teacher how awesome the class is.</div></summary>
<author>
<name>MeFigaYoma</name>
</author>
</entry>
</feed>