New answers tagged

1

For personal use, you could use a template HTML file that accesses MathJax directly. The example template below uses the MathJax website. It also has a commented out portion in the header that you could use if you download MathJax to your computer. <!DOCTYPE html> <html> <head> <script type="text/x-mathjax-config"> ...


4

Some Dos and Don'ts based on a little time in the review queues Do type each equation inside a single pair of dollar signs $...$, or $$...$$. This is both easier than the alternative, and correct: instead of $x$=$y$+$z$$x$=$y$+$z$, you should write $x=y+z$$x=y+z$. Do type all mathematics inside Mathjax, even if you don't need a special symbol like $\aleph$ ...


1

Info too long-winded for a comment: I dislike question titles which are all MathJax and no text. I tend to open questions by right-clicking on their titles, and this is not possible with all-MathJax titles. Firefox browser remedy (may work with other browsers) Locate mouse just to the right of the query right-click and choose inspect element from the pop-...


12

It's possible to analyze this with help of the Stack Exchange Data Explorer if you know a bit of SQL. The procedure is as follows: Split the body of the post into several chunks, splitting on the \ character Check which alphabetical characters appear at the beginning of each chunk Luckily, all posts starts with <p> so the first chunk, which is not a ...


3

This answer focuses on calculus notation. I have broken this section off from the beginners tutorial because I'm not convinced that it is essential for new contributors to be aware of the following commands. Personally, I have no issue with a beginner writing "how do I integrate $x^2$" as opposed to "evaluate $\int x^2 \, dx$". Calculus ...


24

As long as you don't submit the post, I don't see any harm in using the preview functionality of Stack Exchange to test your LaTeX code. But see Concerns about MathJax in proposed new SE editor – at the moment it's unclear whether that will continue to work. Otherwise, we have the Formatting Sandbox which can be used for this kind of stuff. Note that the ...


19

The goal of this post is to outline the absolute basics of how to typeset mathematics using MathJax, without any prior knowledge assumed. I'll do my best to add to this tutorial throughout today. Introduction: when asking and answering questions, it makes your writing much more readable if you typeset the mathematics using the markup language MathJax. ...


1

I think I want to highlight the point I made in a comment, hence an answer. I think it would be a great help if there were MathJax links to useful resources in the various parts of the introduction to the site. For example, it should be mentioned with a link in the tour - after all it is a key point for new users. And a link to MathJax resources should be ...


1

tl;dr– This answer plays with spacing just for fun. @PM2Ring's answer suggested \mathstrut, then @GNUSupporter8964民主女神地下教會's answer tried constructing a similar mechanism through \vphantom{\bigcup}. So, in that spirit and just for fun, trying \vphantom with differing heights, mostly just to see what they look like: $$ {\def\Spacing#1{\vphantom{\rule{0em}{#...


2

tl;dr– Using \mathstrut or/and \displaystyle might help. Comparisons:$$ \begin{array}{rcc} \textbf{Normal:} & \sqrt{6 + 2\sqrt{7 + 3\sqrt{8+\cdots}}} & \left(1\right) \\ \textbf{With}~\texttt{\mathstrut}\textbf{:} & \sqrt{6 + 2\sqrt{7 + 3\sqrt{\mathstrut 8 + \cdots}}} & \left(2\right) \\ \textbf{With}~\texttt{\displaystyle}\textbf{:} & {...


1

tl;dr– Looks like the core problem is MathJax inappropriately applying a size-modifier to the implicit √-character that it uses to render the radical. The trick to avoiding this problem would be ensuring that the implicit √-character doesn't have a non-default size-modifier applied to it, either by avoiding applying one or else by shielding it with \...


7

This isn't part of MathJax or LaTeX; it's part of Markdown, which is the Stack Exchange way of formatting posts in general (e.g. italicizing the name Markdown, or making formatted links). What you stumbled upon is the blockquote; the linked Help Center article contains almost all other options available to you.


-1

There is now: Quiver - a Commutative Diagram Editor Exports to TikzCD format. Exports a URL of diagram data which you can then post here. The URL data gets loaded by the end link viewer's browser. Developed by coder varkor. Soon, there will be a database backend to Quiver called Quiver Database (but an independent project): Quiver Database GitHub ...


16

Its unclear to me what you want this for, but if you only want to adjust MathJax output as it appears on your computer, there is the Right click > Math Settings > Scale All Math... option available in the drop down menu that appears when you right click on some rendered MathJax. This will rescale all MathJax on a page. Here is a picture of the dropdown ...


6

One way is to type out specific parts or your working in the input tab of Desmos. Since it is a WYSWYG system, it is tremendously easier and you can just copy and paste it into your question/answer. All you have to do is add '\$ \$'. For example: This took me about a 2 minutes to write and to put it here I just copy it and paste. \frac{\sin\left(2n^{2}+\...


10

Another option is to use \mathstrut, eg $\sqrt{ 6+2\sqrt{ 7+3\sqrt{\mathstrut 8+\cdots}}}$, which is produced from $\sqrt{ 6+2\sqrt{ 7+3\sqrt{\mathstrut 8+\cdots}}}$.


8

We have to put \Huge inside the braces {} like {\Huge …}. We can use \mathstrut to unify the vertical separations above and below the middle square root sign. $\sqrt{ {\Huge \text{Nested}} \sqrt{ {\Huge \text{root}} \sqrt{ { \Huge \mathstrut \text{problem}} }}}$ gives $\sqrt{ {\Huge \text{Nested}} \sqrt{ {\Huge \text{root}} \sqrt{ { \Huge \mathstrut \text{...


2

One-line solution $\sqrt{\vphantom{\bigcup} 6+2\sqrt{\vphantom{\bigcup} 7+3\sqrt{\vphantom{\bigcup} 8+\cdots}}}$ using \vphantom{\bigcup}: $\sqrt{\vphantom{\bigcup} 6+2\sqrt{\vphantom{\bigcup} 7+3\sqrt{\vphantom{\bigcup} 8+\cdots}}}$


10

One lazy fix is to use phantoms: Expanding the decimal expansions lines things up: $$\begin{align} 124\phantom{.000}& \\ \underline{+\quad 53.258}& \\ 177\phantom{.000}& \end{align}$$ $$\begin{align} 124\phantom{.000}& \\ \underline{+\quad 53.258}& \\ 177\phantom{.000}& \end{align}$$ A more correct way is to put the & (alignment) ...


Top 50 recent answers are included