Hot answers tagged

26

Do you mean \mathrm{IX} perhaps? $\mathrm{IX}$? There's a reason why the font family is called "Roman".


26

Use \setminus for the result $𝐿(𝐴)\setminus𝐿(𝐵)$.


22

In your special case we can get away with the built-in \triangledown to represent the lines connecting each vertex. We can also make use of \odot to represent each ringed node: $$\begin{array}{ccc}\hline\text{Case}&\text{Coxeter diagram}&\text{Vertex configuration}\\\hline\text{1 ringed node}&{}^{\boldsymbol p}\hspace{-0.15cm}{\Huge\triangledown}...


21

Here's a list of possible solutions that I could come up with (includes a curated Detexify output), the first two are the other two current answers: $L(A)\backslash L(B)$ $L(A)\backslash L(B)$ $L(A)\setminus L(B)$$L(A)\setminus L(B)$ (looks the same as the next too) $L(A)\mathbin{\setminus}L(B)$ $L(A)\mathbin{\backslash}L(B)$ $ L(A)⧵L(B)$ $ L(A)⧵L(B)$using ...


20

If you want a real backslash, and not something spaced like a binary operation, use L(A)\backslash L(B) to get $$ L(A) \backslash L(B) $$


15

I wrote this Python script to make life easier. The stable version is v0.4 This script is far from prefect, so maybe you will meet many kinds of problems. (Because it's for my personal usage.) Effect: Ctrl+A,Ctrl+C double click the script Ctrl+V just now I remove the \left and \right.


15

No, it's not necessary, but it's in your own interest to do so. Properly formatted questions are easier to read, comprehend and answer. Some users might be reluctant or outright refuse to answer questions which aren't properly formatted. So by not using MathJax, you're reducing the chance to get a good answer; if the question is difficult or otherwise not ...


13

On Windows, you should be able to get into the MathJax contextual menu by right click on any (correctly rendered) formula. This menu contains various items, you can go to Math Settings -> Math Renderer and then choose one of the renderers. Here is a formula which you can use for testing: $$x^2+y^2=z^2.$$ Screenshot showing the MathJax menu: On macOS (...


13

Let us create here a community wiki answer to collect resources on this topic elsewhere on the web. Related posts on TeX Stack Exchange: What is the status of generating LaTeX from handwriting (i.e., OCR)? (August 2010) How to convert PDF to (La)TeX? (January 2011) Image equation to TeX (May 2013) Possible to Convert Math in Picture into LaTeX? How? (...


12

While I think there is some "standard" (ISO maybe) that recommends this, in my experience this is rather rarely done in mathematics, and (or therefore) many will find this usage rather unusual. If you prefer this style I will not edit your posts and would tell others to leave your posts alone, but please do not change this in others' posts, not even when ...


11

For fun: How can I make \ appear in MathJax? The command \cancel produces a forward slash: $\require{cancel}\cancel{\phantom{k}}$. A simple rotation flips it around to produce a backslash. So \require{cancel} L(A)\!\!\! \style{display: inline-block; transform: rotate(90deg)}{\cancel{\phantom{mm}}} \!\!\! L(B) gives $$\require{cancel}L(A)\!\!\! \...


11

Use mathjax for mathematics, not for text formatting. The mathjax italics happen because mathjax thinks "abcde" is just a string of variables.


11

This more-or-less summarizes some of the stuff which has already been said in the comments. If I understood correctly, the OP is asking about getting indices above/below the sign for integral or sum. I hope this answers the question at least partially. Probably the best thing to do is to show some examples: In the inline mode we can write $\sum_{n=0}^\...


11

You have asked specifically about binomial coefficients. They can be typeset using \binom or \choose. Examples: $\binom{m+n}{k+1}$ $\binom{m+n}{k+1}$ or ${m+n \choose k+1}$ ${m+n \choose k+1}$. In the case of choose do not forget to include curly brackets around the binomial coefficient. The command \binom comes also with two size modifications: $\dbinom{m+n}...


11

I'm not certain exactly what you are looking for. There are a few ways which I can see interpreting what you're asking for. How to implement it, or what to use, is going to depend on what you want and what's comfortable for you. Bookmarklet(s) Your code currently replaces the content of the text area with the text you've put in the bookmarklet. Personally, ...


10

As far as I know, math SE does not have a formal style guide so (as the comments to your question indicate) there is no one correct answer to where the punctuation should go. If the correctness is your main concern then I would suggest consulting a style guide and, should anyone then question your decision, you can point them to the style guide as your ...


10

This turns out to be an interaction between StackExchange's Markdown processor and MathJax. Here's what's going on: in the editor, the preview code has to remove the mathematics before it is processed by Markdown (so that the mathematics isn't changed by Markdown) and then puts it back in the text of the post. It does that by looking for the math ...


10

It is not a bug. Your large "A" operator sits on the baseline just as a large "A" would; that is its natural position. The summation sign is centered on the math axis, and that is its natural position. In order to center the "A" on the math axis, you need to use \vcenter. In actual $\rm\TeX$ (or $\rm\LaTeX$), this takes a bit ...


10

\operatorname{lcm} or if you use it a lot in a given answer, \DeclareMathOperator{\lcm}{lcm} will make the \lcm command available, but only for that answer.


10

The \substack command allows one to stack several lines under (and over) an operator symbol like $\sum$, $\prod$ etc. The argument is enclosed in braces, and lines are separated by a double backslash. For example \sum_{\substack{k = 1 \\ k \neq \lfloor n/2\rfloor}}^{n} x_k produces $$\sum_{\substack{k = 1 \\ k \neq \lfloor n/2\rfloor}}^{n} x_k$$ where two ...


9

The size directives \large etc. are not commands taking arguments. Their effect lasts until the scope(1) in which they were issued ends. The same holds for style selectors like \displaystyle, \scriptscriptstyle and so on. Thus wrapping G(x_1, \dotsc, x_n) in braces doesn't make it an argument to \large, it just makes the expression an ordinary maths atom (...


9

This seems to work. (Instead of <br> you can simply use two spaces, if you prefer.) >! If $K=1-\frac{K_1}{2K_2}$ then clearly $K<1$.<br> >! Let $\lambda=\frac1{2K_2}$ so $K=1-\lambda K_1$.<br> >! Then $0\le\frac12=1-\frac12=1-\lambda K_2\le1-\lambda F'(c)\leq1-\lambda K_1=K<1$.<br> This was the suggestion from an ...


9

Markov Chains This is a heuristic solution for coding Markov chains in Mathjax using a combination of commutative diagrams, the encircle tool and font sizes. There are a few minor issues with this method, for instance the arrows' ends should be attached closer to their targets. Also, it lacks double-headed diagonal arrows and it is difficult to attach ...


9

This has been fixed. I'm embarrassed to say this was originally my fault. I had refactored post reloading to fix a handful of small bugs in support of moderator tooling, and accidentally dropped the call to styleCode() that kicks off the MathJax rendering. If you're familiar with browser debugging tools and want to verify for yourself that this is fixed ...


9

$f(x,y)= \begin{cases} \frac{x^3}{x^2+y^2} & (x,y)\ne(0,0), \\ 0 & (x,y)=(0,0). \end{cases} $ $f(x,y)= \begin{cases} \frac{x^3}{x^2+y^2} & (x,y)\ne(0,0), \\ 0 & (x,y)=(0,0). \end{cases} $ See also: the corresponding answer in the MathJax basic tutorial and quick reference.


8

The following: $$\left.\begin{array}{c} 5\\ 6 \end{array} \right] \quad 2\quad \left[\begin{array}{c} 1\\ 2 \end{array}\right.$$ is produced by $$\left.\begin{array}{c} 5\\ 6 \end{array} \right] \quad 2\quad \left[\begin{array}{c} 1\\ 2 \end{array}\right.$$ You can make the number smaller and/or add space by including blank lines, e.g. $$\left.\begin{...


8

\hbar produces $\hbar$ (as @IvoTerek has mentioned) and \hslash produces $\hslash$. Generally, you could refer to MathJax's docs for LaTeX commands/symbols supported by MathJax and page 20-22 of amsfonts' user guide for a list of symbols with their corresponding commands.


8

I can confirm that it is a MathJax (as opposed to SE) issue, as I can reproduce it outside of this site. It doesn't happen in LaTeX. As a workaround, you can use $\tilde {f_k}$: $\tilde {f_k}$


7

Here are the Dynkin diagrams for anyone who would like to use them. To see the MathJax source for them, right-click on the Dynkin diagrams below, select Show Math As, then TeX Commands. $$ A_n\; \begin{aligned} \circ\!-\!\circ\!-\dotsb-\!\circ \end{aligned} \qquad\quad D_n\; \begin{aligned} &\>\circ \\[-1ex] &\,\,\mid \\[-1ex] \circ\,\!...


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