Processing math: 71%

First time here? Check out the Help page!

Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
17

(basic) Equation support on unmet hours

asked 9 years ago

updated 9 years ago

In order to answer some questions you sometimes have to go back to the physics and therefore it is very useful to display equations. So far the only way to write an equation properly is to write it (say in your favorite LaTeX editor), render it as an image and include it in the post.

Would it be possible to enable MathJax on unmet hours?

There are instructions here on how to enable it on Askbot.

2 Answers

Sort by » oldest newest most voted
15

answered 9 years ago

It is granted!

MathJAX=True

e.g.

  • 5

  • ϕ(Tdb,ω,P)

link

Comments

Wait, Julien asks for equations and gets them. I ask for unanswered questions to be sorted by date and ... crickets! What's the story? You need karma of 3,000+ to get feature requests implemented?

__AmirRoth__'s avatar __AmirRoth__  ( 9 years ago )

Fine. Your wish has been granted, too!

Neal Kruis's avatar Neal Kruis  ( 9 years ago )
2

So I guess the key is not how much karma you have but rather how (passive) aggressive you are? Thanks. I will vote you up tomorrow. :)

__AmirRoth__'s avatar __AmirRoth__  ( 9 years ago )
1

I'm considering opening a new meta post "Allow feature requests only if karma over 3000",

Julien Marrec's avatar Julien Marrec  ( 9 years ago )
9

answered 9 years ago

updated 9 years ago

  1. To see how any formula was written in any question or answer, including this one, right-click on the expression it and choose "Show Math As > TeX Commands".

  2. For inline formulas, enclose the formula in $...$. For displayed formulas, use $$...$$. These render differently: ni=0i2=(n2+n)(2n+1)6 (inline) or ni=0i2=(n2+n)(2n+1)6

  3. For Greek letters, use \alpha, \beta, …, \omega: α,β,ω. For uppercase, use \Gamma, \Delta, …, \Omega: Γ,Δ,,Ω.

  4. For superscripts and subscripts, use ^ and _. For example, x_i^2: x2i.

  5. Groups. Superscripts, subscripts, and other operations apply only to the next “group”. A “group” is either a single symbol, or any formula surrounded by curly braces {}. If you do 10^10, you will get a surprise: 1010. But 10^{10} gives what you probably wanted: 1010. Use curly braces to delimit a formula to which a superscript or subscript applies: x^5^6 is an error; {x^y}^z is xyz, and x^{y^z} is xyz. Observe the difference between x_i^2 x2i and x_{i^2} xi2.

  6. Parentheses Ordinary symbols ()[] make parentheses and brackets (2+3)[4+4]. Use \{ and \} for curly braces .

    These do not scale with the formula in between, so if you write (\frac{\sqrt x}{y^3}) the parentheses will be too small: (xy3). Using \left(\right) will make the sizes adjust automatically to the formula they enclose: \left(\frac{\sqrt x}{y^3}\right) is (xy3).

    \left and\right apply to all the following sorts of parentheses: ( and ) (x), [ and ] [x], \{ and \} {x}, | |x|, \langle and \rangle x, \lceil and \rceil x, and \lfloor and \rfloor x. There are also invisible parentheses, denoted by .: \left.\frac12\right\rbrace is 12}.

  7. Sums and integrals \sum and \int; the subscript is the lower limit and the superscript is the upper limit, so for example \sum_1^n n1. Don't forget {} if the limits are more than a single symbol. For example, \sum_{i=0}^\infty i^2 is i=0i2. Similarly, \prod , \int , \bigcup , \bigcap , \iint .

  8. Fractions There are two ways to make these. \frac ab applies to the next two groups, and produces \frac ab; for more complicated numerators and denominators use {}: \frac{a+1}{b+1} is \frac{a+1}{b+1}. If the numerator and denominator are complicated, you may prefer \over, which splits up the group that it is in: {a+1\over b+1} is {a+1\over b+1}.

  9. Fonts

    • Use \mathbb or \Bbb for "blackboard bold": \mathbb{CHNQRZ}.
    • Use \mathbf for boldface: \mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \mathbf{abcdefghijklmnopqrstuvwxyz}.
    • Use \mathtt for "typewriter" font: \mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \mathtt{abcdefghijklmnopqrstuvwxyz}.
    • Use \mathrm for roman font: \mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \mathrm{abcdefghijklmnopqrstuvwxyz}.
    • Use ...
(more)
link

Comments

From here

Julien Marrec's avatar Julien Marrec  ( 9 years ago )

\alpha \gamma ok good to know, doesn't work in comments.

Julien Marrec's avatar Julien Marrec  ( 9 years ago )

It looks like it is working in your comment to me.

Neal Kruis's avatar Neal Kruis  ( 9 years ago )

it does too now...

Julien Marrec's avatar Julien Marrec  ( 9 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

3 followers

Stats

Asked: 9 years ago

Seen: 949 times

Last updated: Jul 31 '15