?>

# Department of Science, Math, & Technology

E = mcÂ˛
Posted: Posted March 17th, 2015
Edited March 17th, 2015 by Xhin
 Evidently you use backslashes for everything (Is this a latex-specific thing, or a mathjax-specific thing?) Turns into $\left( \sum_{k=1}^n a_k b_k \right)^{\!\!2} \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$ Inline LaTeX You can use LaTeX inside of a paragraph as well by surrounding it by . The quick brown fox $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ jumps over the lazy red dog. turns into The quick brown fox $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ jumps over the lazy red dog. Conclusion If there's anything I'm leaving out (likely) let me know!
There are 52 Replies
Page:
1 2 ... 5 6 Load all posts
settingsSettings

You are an Angel of the Lord. {O:-)} Thank you for your kindness, Xhin. We truly appreciate this.

About your first question, yes, the command \ [ ... \ ] are used in LaTeX. In fact I use it all the time. Other times I use the double dollars you mentioned. When I want a displayed equation to be numbered I use the environment variable: \ begin{equation} .... Equation goes here ... \ end{equation} Hey that worked! Edited March 18th, 2015 by The Fly Interesting... Posted March 18th, 2015 by GHOW Oh neat, I didn't think about spacing out the backslashes. That's good! I used the  trick for the $$thing (after a little tweak to get it to render as <em></em> instead of literally nothing). Posted March 18th, 2015 by Xhin Xhin Nature is beautiful Yeah, I had to put a space after the \ since it did work otherwise! Let me test ... \pi^{-1/2}. So one dollar doesn't work. So it needs more money two dollars!$$\pi^{-1/2}$$Yup! Worked! I see you TeXed the Cauchy-Schwartz inequality! We're gonna teach the people of GT to do some TeXing here. You said it! This is gonna be TeXan land from now on! ;-) Edited March 18th, 2015 by The Fly Yeah it doesn't work with single dollar signs. And you wouldn't want it to, really.. Posted March 18th, 2015 by Xhin Xhin Nature is beautiful This is a t$$\epsilon$$st. This is a t\epsilonst. This is a t$\epsilon$st.$$\tau \epsilon \Sigma \tau$$Edited March 18th, 2015 by EN I've got the mathjax showing up on the left now where it belongs. Posted March 18th, 2015 by Xhin Xhin Nature is beautiful When I've used other Latex supporting sites like stackexchange, single dollar signs let you do inline code, while double dollar signs gives you a separate centered paragraph. Any chance we could get that sort of inline functionality? Posted March 18th, 2015 by EN Also my OP was wrong about inline math. You apparently just use the backslash syntax for it. there are two solutions to $$ax^2 + bx + c = 0$$. Edited March 18th, 2015 by Xhin Xhin Nature is beautiful Yeah inline math is supported by default really.. Posted March 18th, 2015 by Xhin Xhin Nature is beautiful That's ok, I'm not at all worried about the single . I'm not familiar with mathjax. Can you find this integral? $\int_0^\infty e^{-2x} dx$ Edited March 18th, 2015 by The Fly This is a t$$\epsilon$$st. Edited March 18th, 2015 by EN So backslash parenthesis is the same as single dollar sign. Cool. Thanks, Xhin. Posted March 18th, 2015 by EN I see Xhin used the command \ (ax^2 + bx + c = 0\ ) without the spaces after \ to get the math in undisplayed format. Let me test it. Posted March 18th, 2015 by The Fly So backslash parenthesis is the same as single dollar sign. Cool. Thanks, Xhin. I second that. Makes it so much easier. I'm gonna have to pin this thread! For people to see and read these simple instructions. {y}{y}{y} to Xhin! Edited March 18th, 2015 by The Fly And Xhin, sometimes quadratic equations only have one solution (though in that case it has multiplicity two).$$X^{h^{i^n}}X_{h_{i_n}}$$Edited March 18th, 2015 by EN The set consisting of y is $\{y\}$ is now no longer confused with {y} ! Edited March 18th, 2015 by The Fly$$ \begin{align*} \Pr\left(\cap_{i \in [N]}(S_i=0) \right) &= \Pr\left(\cap_{i \notin J}(S_i=0) \right) \\ &= 1-\Pr\left(\cup_{i \notin J}(S_i=1) \right) \\ &\ge 1-\sum_{i \notin J} \Pr(S_i=1) \\ &= 1-(N-t)(1-1/t)^t \\ &\ge 1-(N-t)/e \end{align*} $$Posted March 18th, 2015 by EN I have to say that I'm impressed with how Xhin got LaTeX to work! $\frac{\partial}{\partial x}$ Edited March 18th, 2015 by The Fly EN you're TeXing away !! {y} Here's the Schrodinger equation of quantum mechanics: $\Large i\hbar \frac{\partial\psi}{\partial t} = H\psi.$ Edited March 18th, 2015 by The Fly$$P(Pass)=P(H \ge T) \le \frac{E[H]}{T}=\frac{.5E}{T}=\frac{q^2}{2NT}$$Posted March 18th, 2015 by EN You can even use the \ large and \Large and \ LARGE commands to make equations bigger! I just did to make the Schrodinger equation bigger. Posted March 18th, 2015 by The Fly It's like suddenly I can talk and there's so much to say. Posted March 18th, 2015 by EN LOL. You're not alone! Now I feel like a little boy! Edited March 18th, 2015 by The Fly Let $$\large{}_AX_B$$ be a bimodule over rings $$A, B$$. And form the tensor product $$\large X \otimes_B Y$$ over B. Edited March 18th, 2015 by The Fly$$\LARGE\bigstar$$Edited March 18th, 2015 by EN $$\textcolor{blue}{Words go here}$$ Edited March 18th, 2015 by The Fly$$ \usepackage{simpson} \homer Posted March 18th, 2015 by EN To anyone reading this and who is interested, to find out how we formatted a certain equation, just click the Edit link of that post to see how that person wrote it. $\Large \text{Big Words HERE!}$ oops that stretched the page! $\LARGE\text{How about Bigger Words!}$ $\LARGE\text{This is What I call a PARTY!!}$ (ok, a math party!) Edited March 18th, 2015 by The Fly The ring of integers $\Large \mathbb Z = \{1, 2, 3, \dots \}$ All functions from the integers to the integers: $$\Large \mathbb Z^{\mathbb Z}$$. Edited March 18th, 2015 by The Fly $$\heartsuit ~ \bigstar ~ \Omega ~ \clubsuit$$ $$~ \Large \bullet$$ $$~ \Phi ~ \bigcap$$ $$~ \rho$$ Edited March 18th, 2015 by EN Can anyone guess what I was getting at in the last reply? Edited March 18th, 2015 by EN Greek Letters now come alive! $$\LARGE \alpha \ \beta \ \gamma \ \Gamma \ \delta \ \Delta \ \pi \ \Pi \ \mu \ \nu \ \omega \ \Omega \ \sigma \ \Sigma$$ Edited March 18th, 2015 by The Fly By the way, this is a great site to figure out the command to type a symbol that you want but don't know the name of. You draw the symbol you want and it suggests symbols that look like what you've drawn: http://detexify.kirelabs.org/classify.html Posted March 18th, 2015 by EN You can use \ with a space after it in TeX to create one spacing, and you can do this \ \ to get two spaces, etc. If you want more you can use the \hskip10pt command and replace 10 by any number. E.g., $$A \hskip20pt B$$ Here I used the hskip with 20 points. Edited March 18th, 2015 by The Fly $$\eta$$ Edited March 18th, 2015 by GHWI GHWI, try surrounding your eta like this \ ( \eta \ ) without the space after the \'s. Posted March 18th, 2015 by The Fly Commutative diagrams can be created by \CD ... but I have to recheck. Edited March 18th, 2015 by The Fly Yay! I did it. Posted March 18th, 2015 by Ghowilo Welcome to the world of $$\large \LaTeX$$! Edited March 18th, 2015 by The Fly Now we can have matrices! $\Large \left[\begin{matrix} a_{11} & a_{12} & a_{13} & \cdots & a_{1n} \\ a_{21} & a_{22} & a_{23} & \cdots & a_{2n} \\ a_{31} & a_{32} & a_{33} & \cdots & a_{3n} \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ a_{n1} & a_{n2} & a_{n3} & \cdots & a_{nn} \end{matrix}\right]$ Click on Edit $$\large \longrightarrow$$ to see how it works. $$\large \longrightarrow$$ $$\large \longrightarrow$$ .... $$\large \longrightarrow$$ I made it large. Edited March 18th, 2015 by The Fly http://detexify.kirelabs.org/classify.html Great learning tool, EN, thanks! Very easy to use. Hey you guys go to this sight and write alpha and you'll get the TeX command for it -- it also gives you other alternative commands for similar symbols. Edited March 18th, 2015 by The Fly I often use the \ align command so that a set of equations are aligned together like this \begin{align} a^2 + b^2 &= \alpha^3 \\ c^5 &= \alpha^2 + \gamma^2 \end{align} You notice the = signs are aligned. Click on Edit $$\large \longrightarrow$$ to see how it's done. Edited March 18th, 2015 by The Fly $$\Large\text{PLEASE NOTE:}$$ I unstickied two of Yeano's threads that were at the top but they're still on the front page in the Announcements box just below the title of the forum. I sticked this Xhin's thread since it would be a good resource reference to have for those who want to refer to, or be reminded of, some LaTeX commands. Edited March 18th, 2015 by The Fly Let $$X$$ and $$Y$$ be topological spaces. Let $$f,g : X \rightarrow Y$$ be two continuous functions. A homotopy from $$f$$ to $$g$$ is a continuous function $$H: X \times I \rightarrow Y$$ such that $H\left(x,0\right) = f\left(x\right) \forall x \in X$ $H\left(x,1\right) = g\left(x\right) \forall x \in X$ Edited March 18th, 2015 by Yeano $\usepackage{xypic} \xymatrix{ A \ar^{f} \ar[d]_{g} & B \ar[d]^{h} \\ C \ar_{i} & D }$ Edited March 18th, 2015 by Yeano We might ask to see if Xhin can include some basic packages in the LaTeX preamble like xypic so that maybe we can get commutative diagrams to work. Edited March 18th, 2015 by The Fly Sure, I'll look into it! Posted March 18th, 2015 by Xhin Xhin Nature is beautiful Thanks Xhin! In my TeX files I often have the following lines mentioned at the beginning of the preamble to enable the use of the packages that they refer to. For example, in addition to Yeano's xypic, I have these packages/inputs: \usepackage[usenames]{color} \usepackage{amssymb} \usepackage{amscd} \usepackage{array} \usepackage[]{graphicx} \input xy \xyoption{all} \usepackage{epsfig} Loading packages is easy since all it means is that it alerts TeX to take account of a package by virtue of its name! You tell it the name of the package and it knows what to do. Edited March 18th, 2015 by The Fly Hmmm, maybe the psfig can be excluded since it refers to a file on my hard drive ... but I never tried to see if it can reference a hyperlink image. We don't need to since we have the [ img ] feature on GT, so we can ignore psfig. Posted March 18th, 2015 by The Fly It really doesn't like this equation for whatever reasonI_{zz}^* = \int {x^2 + y^2)dm\$

Posted July 14th, 2016 by Ghowilo

I figured out why

Posted July 14th, 2016 by Ghowilo