Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Regarding how to write general math expressions on the site, my answer here covers that well I think. Specifically for tables, you can use LaTeX's \array command. The tabular command, which only works in text mode, is not available here, so if you want to include text in your table, you will have to do some tinkering. Here is an example table: $$\begin{...


Testing alternate way of implementing spoiler $$ \require{action} \require{enclose} \toggle{ x\cdot 0 = 0\quad\enclose{roundedbox}{\text{ Click this for derivation }} }{ \begin{array}{rll} x\cdot 0 &= \mathtip{x\cdot 0 + 0}{0 \text{ is additive identity}} \\ &= \mathtip{x\cdot 0 + (x\cdot 0 + -(x\cdot 0))}{ -(x\cdot 0) \text{ is additive inverse ...


There are three approaches for line breaks. As pointed out in the comments, Approaches 2 and 3 produce the same HTML output when rendered on the page. Approach 1: Press "Enter" twice Output: Hi Bye Code: Hi Bye Approach 2: Two spaces at end of line Output: Hi Bye Code: Hi Bye There are two spaces after "Hi." That is, the text looks like: Hi&...


You can begin every line with >! and end it with two spaces.  


You should use the following format: [text](link) e.g. [Google]( See here.


A problem is that it is not a semantically correct use. At the moment the formatting used by SE on this site for block-quotes is such that optically its usage for emphasis makes sense. Yet, this could change at any point in time. Moreover, already now I feel it is not really the case on the mobile site. In addition, imagine some machine reads the site to ...


Simple solution: don't abuse MathJax to colour your text.


The commands \lbrack and \rbrack are macros that produce [ and ] respectively, and MathJax has no problem when you use them instead of the symbols - see the comment below, which was produced by For any $a,b\in \lbrack 0,x)$: $a\vee b$ exists. Namely, $a\vee b=\max\{a,b\}$. You might be asking about when directed sets are [complete](


You can address meta tags like [meta-tag:computer-science]: computer-science


Since this was asked, we have improved ctrl+l aka the link toolbar button to encode any oddball characters in links inserted into posts: The Wolfram Alpha link from above Note that it is properly encoded, etc. Some browsers also now automatically "fix" these oddball characters when copying from the address bar by encoding them on your behalf. A few tests ...


I don't there's been any recent change; this is how things have always worked. To get a single line break, put two spaces at the end of the line - for example, **Theorem** adsfdf *proof*: asdfdsaf produces Theorem adsfdf proof: asdfdsaf


Thinking about it, I also realize that we could $\Large\text{use LaTeX}$ in ways that are $\Huge\text{still of questionable merit}$, but which fit inline. Note that we can't ${\fontsize{3cm}{1em}\selectfont use an arbitrary fontsize}$. But then again, some might ask $\Tiny\text{why we would do this at all.}$


$\hskip -3em \color{red}{\Rule{2em}{1em}{1em}}$Testing of negative skips to overlap the buttons on the left. \rlap{\smash{\lower 3em{\color{red}{\Rule{8em}{2em}{0em}}}}} Testing overlapping on the bottom. OK, both seem to be problems.


Line breaks and many other stuff are not supported in comments. The basic design rationale is (as described by SE) that comments should be short and sweet: if you need to start a new paragraph, either you are really writing an answer (and so should be posting as such) or you are being too verbose in the comments.


Use Markdown's inline link syntax, an example of which is shown when you click the "help" link under "Add Comment". [link text]( This works in answers as well.


The backslash \ is often used in various computer-related contexts as the escape operator (which is also how it is used in LaTeX). Unfortunately posts here at Math.SE goes through two layers of parsing: first by MarkDown, and second by MathJax, and both languages use the backslash for "escaping". (For example, if you type \*a\* this is what shows up: "*a*"....


You can replace the ^ with the URL-encoded form %5E, e.g: instead of^Ex which will work like If you use the link button of the editor, such characters will be automatically escaped. If you format your links manually, you have to ...


When I look at the specific comment you linked to, I think that the only problems is that you did not include http:// at the beginning of the link. You wrote this: [ArtOfProblemSolving forum]( which does not work: ArtOfProblemSolving forum. If you ...


I've gone an updated the CSS for spoilers - there was something overriding the spoiler CSS in this instance. With you in the next build (rev. 2017.3.14.*)


You can quote by simply using quotation marks. You can write a link in a post or comment like [this](url here), for example google link.


The best thing I can think of     is to end the preceding line with two whitespaces        (which creates a single line break)           and copy-paste several   at the beginning of next line. (Turns out this is same method as in the link Martin posted.)


I suppose if you really wanted to Then you could vary it up by abusing headers But this hurts my sensibilities


It seems to be that if you do >! at the beginning of a line, you get that. You could have found that out by clicking edit post and looking at the source. for example.


There is no next line in comments, comments are meant to be short and line breaks are intentionally not allowed.


Line-breaks and paragraphs in comments are not supported. The shift-enter is intended only to affect the situation while you edit. It is possible to work around this restriction via using MathJax. But doinng so is discouraged. If you need some visual separation, use some symbols for example // like this: This is one important remark I want to make and ...


Here is a sample bit of LaTeX contained in a spoiler block: This is the code I used to produce it: >! $\sum_{n=1}^\infty\frac{1}{n^2}=\frac{\pi^2}{6}$ >! $$\sum_{n=1}^\infty\frac{1}{n^2}=\frac{\pi^2}{6}$$ However, when I moused over the spoiler block in the preview area while composing this post: So, displayed equations don't appear ...

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