# Tag Info

126

Crossing things out Use \require{cancel} in the first formula in your post that requires cancelling; you need it only once per page. Then use: $$\require{cancel}\begin{array}{rl} \verb|y+\cancel{x}| & y+\cancel{x}\\ \verb|\cancel{y+x}| & \cancel{y+x}\\ \verb|y+\bcancel{x}| & y+\bcancel{x}\\ \verb|y+\xcancel{x}| & y+\xcancel{x}\\ \verb|y+\... 114 System of equations Use \begin{array}…\end{array} and \left\{…\right.. For example, you get this:$$ \left\{ \begin{array}{c} a_1x+b_1y+c_1z=d_1 \\ a_2x+b_2y+c_2z=d_2 \\ a_3x+b_3y+c_3z=d_3 \end{array} \right. $$by writing this:$$ \left\{ \begin{array}{c} a_1x+b_1y+c_1z=d_1 \\ a_2x+b_2y+c_2z=d_2 \\ a_3x+b_3y+c_3z=d_3 \end{array} \right. $$... 112 Provide Context Context matters. A question can sometimes be answered in one sentence when the discussion is between two experts familiar with each other's background, while the same question may take many paragraphs of detailed computation when being shown to an undergraduate student. By providing a context you help the potential responders to your ... 110 Colors Named colors are browser-dependent; if a browser doesn't know a particular color name, it may render the text as black. The following colors are standard in HTML4 and CSS2 and should be interpreted the same by most browsers:$$\begin{array}{|rc|} \hline \verb+\color{black}{text}+ & \color{black}{text} \\ \verb+\color{gray}{text}+ & \color{...

108

Additional decorations $\def\demo#1#2{#1{#2}\ #1{#2#2}\ #1{#2#2#2}}$ \overline: $\demo\overline A$ \underline: $\demo\underline B$ \widetilde: $\demo\widetilde C$ \widehat: $\demo\widehat D$ \fbox: $\demo\fbox {$E$}$ \underleftarrow: $\demo\underleftarrow{F}\qquad$ variant: \xleftarrow{}: $\xleftarrow{abc}$ \underrightarrow: $\demo\underrightarrow{... 105 Commutative diagrams AMScd diagrams must start with a "require":$\require{AMScd}$\begin{CD} A @>a>> B\\ @V b V V= @VV c V\\ C @>>d> D \end{CD} to get this diagram:$\require{AMScd}$\begin{CD} A @>a>> B\\ @V b V V= @VV c V\\ C @>>d> D \end{CD} @>>> is used for arrow right @<<< is used for arrow ... 87 Using \newcommand I would like to remark that it is possible to define LaTeX commands as you do in your TeX files. I felt so happy when I first discovered it! It's enough to insert something like$ \newcommand{\SES}{ 0 \to #1 \to #2 \to #3 \to 0 }  \newcommand{\SES}{ 0 \to #1 \to #2 \to #3 \to 0 }$at the top of your post (remember the dollars!). ... 87 Tags & References For longer calculations (or referring to other post's results) it is convenient to use the tagging/labelling/referencing system. To tag an equation use \tag{yourtag}, and if you want to refer to that tag later on, add \label{somelabel} right after the \tag. It is not necessary that yourtag and somelabel are the same, but it usually is ... 80 \implies ($\implies$) is a marginally preferable alternative to \Rightarrow ($\Rightarrow$) for implication. There's also \iff$\iff$and \impliedby$\impliedby$. \to ($\to$) is preferable to \rightarrow or \longrightarrow for things like$f\colon A \to B$. The reverse is \gets ($\gets). 71 Big braces Use \left and \right to make braces - (round), [square] and {curly} - scale up to be the size of their arguments. Thus $$f\left( \left[ \frac{ 1+\left\{x,y\right\} }{ \left( \frac{x}{y}+\frac{y}{x} \right) \left(u+1\right) }+a \right]^{3/2} \right)$$ renders as $$f\left(\left[ \frac{... 67 Limits To make a limit (like \lim \limits_{x \to 1} \frac{x^2-1}{x-1}), use this syntax: First, start off with \lim. This renders as \lim. The backslash is there to prevent things like lim, where the letters are slanted. Second, add \limits_{x \to 1} inside. The code now looks like \lim \limits_{x \to 1}, and renders as \lim \limits_{x \to 1}. ... 66 My view has always been that programming questions are very much borderline. Here is the border, as I see it. Your question is about the mathematics of the algorithm. This could be about a specific implementation, but the question has to be mathematical. That question is on-topic here. Your question is about the implementation of your code. It is about the ... 61 A good title The title of a question is the first thing people see. Like headings in newspapers, book, song and album titles, their importance is not to be underestimated -- the presence of a good, descriptive title for your question often greatly improves the exposure (and hence the amount and quality of answers) it gets. To ensure maximal descriptiveness ... 58 Arbitrary operators If an operator is not available as a built-in command, use \operatorname{…}. So for things like$$\operatorname{arsinh}(x)$$write \operatorname{arsinh}(x) since \arsinh(x) will give an error and arsinh(x) has wrong font and spacing: arsinh(x). This was already mentioned in a comment by Charles Staats. You might consider this an ... 56 Highlighting equation To highlight an equation, \bbox can be used. E.g,$$ \bbox[yellow] { e^x=\lim_{n\to\infty} \left( 1+\frac{x}{n} \right)^n \qquad (1) } $$produces$$ \bbox[yellow] { e^x=\lim_{n\to\infty} \left( 1+\frac{x}{n} \right)^n \qquad (1) } By default, the bounding box is "tight", so it doesn't extend beyond the characters used in the ... 53 Avoid "no clue" questions Too many questions begin or end with "I don't even know how to begin with this problem". While this may be true (you may genuinely have no idea how to approach the problem), it is still not a valid reason to limit your post to the statement of the problem without any mention of your own thoughts. Such questions will most of the ... 50 Absolute values and norms The absolute value of some expression can be denoted as \lvert x\rvert or, more generally, as \left\lvert … \right\rvert. It renders as \lvert x\rvert. The norm of a vector (or similar) can be denoted as \lVert v\rVert or, more generally, as \left\lVert … \right\rVert. It renders as \lVert v\rVert. (You may also write \left\|…\... 49 Giving reasons on each line of a sequence of equations To produce this: \begin{align} v + w & = 0 &&\text{Given} \tag 1\\ -w & = -w + 0 && \text{additive identity} \tag 2\\ -w + 0 & = -w + (v + w) && \text{equations (1) and (2)} \end{align} write this: \begin{align} v + w & = 0 &&\text{... 45 Pack of cards If you are asking (or answering) a combinatorics question involving packs of cards you can make it look more elegant by using \spadesuit, \heartsuit, \diamondsuit, \clubsuit in math mode:\spadesuit\quad\heartsuit\quad\diamondsuit\quad\clubsuit$$Or if you're really fussy: \color{red}{\heartsuit} and \color{red}{\diamondsuit}$$\color{red}{\... 44 Mathematical typesetting using MathJax Mathematics.SE uses the emulation engine MathJax for providing\TeX$-like mathematical typesetting. This means that you can use mathematical notation in your questions in a visually appealing way. How can I use MathJax? Basic information: This gives a quick start for people familiar with the$\TeX$-family of markup ... 42 Why do we have a policy? First and foremost: we believe that the responsibility for the integrity of an exam, contest, competition, etc. ultimately falls on the shoulders of the organizers. That said, the Mathematics Stack Exchange community is not an island unto itself: rather we exist within a larger macrocosm of people who do or are interested by ... 40 Left and Right Implication Arrows Another way to display the arrows for right and left implication instead of using$\Rightarrow$,$\Leftarrow$and$\Leftrightarrow$which produces$\Rightarrow$,$\Leftarrow$and$\Leftrightarrow$respectively, you can use$\implies$for$\implies$,$\impliedby$for$\impliedby$and$\iff$for$\iff$The latter of which ... 40 Tagging Tags are a way to help us organize posts on this website. People also use them to locate the questions they will find the most interesting. Thus, good tagging helps to attract the best potential answerers to your question. How do you select the best tags for your question Tags are about content. Tags (except "meta" tags, see below) are supposed to ... 38 Formatting and writing This is not some random internet forum. We strive for well-composed questions and answers of lasting value -- so keep in mind that your question can be of interest to others as well. Posing a well-formatted question Use proper English to the best of your ability The use of proper spelling, grammar and punctuation makes your ... 37 Those who have served as site moderators Katie Banks (appointed moderator pro tempore, August 2010—December 2010) Larry Wang (appointed moderator pro tempore, August 2010—December 2010) Isaac (appointed moderator pro tempore, August 2010—December 2010) KennyTM (appointed moderator pro tempore, August 2010—December 2010) Robin Chapman (elected moderator, ... 36 In addition to the below title-specific$\rm\LaTeX$guidelines, there is of course the MathJax tutorial and quick reference. The primary rule for using$\rm\LaTeX$in titles is to be vertically terse. Try to make your title take up as little vertical space as possible (the height of$\sum\limits_{n=1}^\infty\$ is an approximate upper bound for what is ...

33

Long division $$\require{enclose} \begin{array}{r} 13 \\[-3pt] 4 \enclose{longdiv}{52} \\[-3pt] \underline{4}\phantom{2} \\[-3pt] 12 \\[-3pt] \underline{12} \end{array}$$ $$\require{enclose} \begin{array}{r} 13 \\[-3pt] 4 \enclose{longdiv}{52} \\[-3pt] \underline{4}\phantom{2} \\[-3pt] ... 33 Degree symbol Standard Mathjax does not yet support a dedicated degree symbol, so here are some of the ways to try and emulate one :$$ \begin{array} \\ \text{45^\text{o}} & \text{renders as} & 45^\text{o} \\ \text{45^o} & \text{renders as} & 45^o \\ \text{45^\circ} & \text{renders as} & 45^\circ \\ \text{90°} & \text{renders as}...

Only top voted, non community-wiki answers of a minimum length are eligible