Difference between revisions of "AoPSWiki:Sandbox"
Aquadragon (talk | contribs) |
Aquadragon (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <span style="font-size: 250%; color:#27445C">'''To the point Tutorial for Using Asymptote in AoPS'''</span> | ||
+ | ---- | ||
+ | == The Name Asymptote == | ||
+ | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
+ | <big>'''The Name Asymptote'''</big> | ||
+ | <div class="mw-collapsible-content"> | ||
+ | * Why Asymptote is called Asymptote? | ||
+ | <blockquote>http://asymptote.sourceforge.net/FAQ/section1.html#whyasy | ||
+ | Question 1.4. Why was the name Asymptote chosen? | ||
+ | Well, it isn't the perfect graphics package, but we do think it is getting there asymptotically... | ||
+ | </blockquote> | ||
+ | </div></div> | ||
+ | === The Very Basics === | ||
+ | |||
+ | LaTeX uses a special "math mode" to display mathematics. There are two types of this "math mode": | ||
+ | |||
+ | ==== In-line Math Mode ==== | ||
+ | |||
+ | In in-line math mode, we use <code>$</code> signs to enclose the math we want to display, and it displays in-line with our text. For example, typing <code>$\sqrt{x} = 5$</code> gives us <math>\sqrt{x} = 5.</math> | ||
+ | |||
+ | ==== Display Math Mode ==== | ||
+ | |||
+ | In display math mode, we enclose our code in double dollar signs, and it displays the math centered and on its own line. For example, <code>$$\sqrt{x} = 5$$</code> gives us <cmath>\sqrt{x} = 5.</cmath> | ||
+ | |||
+ | ==== In-line vs. Display ==== | ||
+ | |||
+ | Besides displaying in-line vs. displaying centered and on a new line, the two modes render differently in other ways. Note that <code>$\sum_{k=1}^n k^2$</code> gives us <math>\textstyle\sum_{k=1}^n k^2,</math> whereas <code>$$\sum_{k=1}^n k^2$$</code> gives us <cmath>\sum_{k=1}^n k^2.</cmath> | ||
+ | |||
+ | === Basic Expressions === | ||
+ | |||
+ | ==== Multiplication ==== | ||
+ | |||
+ | Sometimes, when we're multiplying, we don't need a multiplication symbol. For instance, we can write <math>xy</math> instead of <math>x\cdot y</math> without ambiguity. However, when you're multiplying numbers, for instance, a multiplication symbol comes in handy. The standard symbol is given by <code>$\cdot$</code>. For example, <code>$12\cdot\frac{1}{2}$</code> gives us <math>\textstyle 12\cdot \frac 12.</math> | ||
+ | |||
+ | ==== Fractions ==== | ||
+ | |||
+ | We can make fractions via <code>$\frac{...}{...}$</code>. For instance, <code>$\frac{x+y}{2}$</code> will give us <math>\textstyle\frac{x+y}{2}.</math> | ||
+ | |||
+ | |||
<h1>Asymptote tutorial for AoPS</h1> | <h1>Asymptote tutorial for AoPS</h1> | ||
<dd> | <dd> | ||
+ | == The Name Asymptote == | ||
<div class="mw-collapsible mw-collapsed" style="width:100%"> | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
<big>'''The Name Asymptote'''</big> | <big>'''The Name Asymptote'''</big> | ||
Line 1,170: | Line 1,210: | ||
<br></div></div> | <br></div></div> | ||
</dd> | </dd> | ||
+ | |||
+ | [[Category:Asymptote tutorial for AoPS]] |
Revision as of 16:55, 3 June 2022
To the point Tutorial for Using Asymptote in AoPS
Contents
[hide]The Name Asymptote
The Name Asymptote
The Very Basics
LaTeX uses a special "math mode" to display mathematics. There are two types of this "math mode":
In-line Math Mode
In in-line math mode, we use $
signs to enclose the math we want to display, and it displays in-line with our text. For example, typing $\sqrt{x} = 5$
gives us
Display Math Mode
In display math mode, we enclose our code in double dollar signs, and it displays the math centered and on its own line. For example, $$\sqrt{x} = 5$$
gives us
In-line vs. Display
Besides displaying in-line vs. displaying centered and on a new line, the two modes render differently in other ways. Note that $\sum_{k=1}^n k^2$
gives us whereas $$\sum_{k=1}^n k^2$$
gives us
Basic Expressions
Multiplication
Sometimes, when we're multiplying, we don't need a multiplication symbol. For instance, we can write instead of without ambiguity. However, when you're multiplying numbers, for instance, a multiplication symbol comes in handy. The standard symbol is given by $\cdot$
. For example, $12\cdot\frac{1}{2}$
gives us
Fractions
We can make fractions via $\frac{...}{...}$
. For instance, $\frac{x+y}{2}$
will give us
Asymptote tutorial for AoPS
The Name Asymptote
The Name Asymptote
Tips
#1 Beginning your code
#2 Setting points
#3 Pair part 1
#4 Connecting two points, coloring the line
#5 Labeling, Midpoint
#6 Angle Measures
#7 Distance Function
#8 Casting
#9 Right Angle Mark
#10 Intersection
#11 Filling
#12 Dot
#13 Size
#14 Tick Marks
#15 Arrows
#16 Shifting Coordinates
#17 Rotating
#18 Circles
#19 Dashed Lines
#20 Angle Mark
Expand
#21 "for" Command
Expand
#22 Extension
Expand
#23 How to draw an equilateral triangle
Expand
#24 How to draw an isosceles triangle
Expand
#25 How to draw a scalene triangle
Expand
#26 Labeling Angles
Expand
#27 Drawing triangles using SSS, SAS, AAS, and ASA
Expand
#28 Arcs
Expand
#29 The Nine Point Circle
Expand
#30 Pair Part 2
Expand
#31 Finding the midpoint
Expand
#32 Foot Command
Expand
#33 Introduction to 3D Geometry