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
32

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{...


25

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 ...


19

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&...


18

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


15

You should use the following format: [text](link) e.g. [Google](http://www.google.com/) See here.


13

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 ...


12

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](http://en.wikipedia.org/...


12

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


11

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


10

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 ...


10

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


10

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.}$


9

$\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.


9

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.


9

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


8

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*"....


8

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


8

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](www.artofproblemsolving.com/Forum/viewtopic.php?p=3542095&sid=61650444d5d??5e56fb5c71a50982e4912#p3542095) which does not work: ArtOfProblemSolving forum. If you ...


8

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.*)


7

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.


6

Yes, we can! Until recently, Arturo's advice to type `\\ ` was the only decent workaround, but a few weeks ago, double backticks have been enabled in comments. Thus, in a comment you can type ``\\`` to obtain \\. For more details have a look here: How do I mark inline code?


6

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.)


6

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


6

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.


6

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


6

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 ...


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