Using LaTeX in your posts shows attention to detail, which will win the admiration of your peers!

And it just looks so pretty

Started By
alexander
, May 13 2006 07:45 PM

86 replies to this topic

Posted 13 June 2008 - 06:15 AM

Using LaTeX in your posts shows attention to detail, which will win the admiration of your peers!

And it just looks so pretty

Posted 09 July 2008 - 11:46 AM

[math]E = mc^2 \left ( \sqrt{\frac{1}{1-\frac{v^2}{c^2}}}-1 \right )[/math]

now \ is \\ the \\\ time

now \ is \\ the \\\ time

Posted 09 July 2008 - 11:48 AM

[math]E = mc^2 \left(\sqrt{\frac{1}{1-\frac{v^2}{c^2}}}-1 \right )[/math]

now is the time

for all good men to quote some latex...

Posted 09 July 2008 - 03:05 PM

ok whenever quoting, please use the double backslash.

in a quote will be taken as a command, and not rendered will be taken as a and if you need 2 backslashes, you, just like in sql, must escape both, so simple

in a quote will be taken as a command, and not rendered will be taken as a and if you need 2 backslashes, you, just like in sql, must escape both, so simple

Posted 09 July 2008 - 03:48 PM

Problem is, when you are quoting someone, it is generally their code (not yours) that now needs fixing, and to be perfectly frank, I don't want to have to be bothered to fix someone else's code when all I'm doing is responding to it.

I type text in my own posts.

I don't edit other peoples quotes.

I type text in my own posts.

I don't edit other peoples quotes.

Posted 09 July 2008 - 09:44 PM

i figure it's a courtesy thing, Pyro, if i care about one's post, and happen to see that they posted a broken quote, i may go in and fix it, out of my respect for either them, or the topic.... depends on my mood, really...

Posted 09 July 2008 - 09:59 PM

i figure it's a courtesy thing, Pyro, if i care about one's post, and happen to see that they posted a broken quote, i may go in and fix it, out of my respect for either them, or the topic.... depends on my mood, really...

No, I agree with your sentiment, and out of courtesy, I absolutely would fix it, but it was correct before hitting quote... so, in essence, the other user never posted a broken quote, the faulty hypography vbulletin infrastructure did when it couldn't handle the back slash correctly within the quote tags.

I'm just saying, it's really annoying, and ought to be fixed (somehow). Can you imagine if every time you quoted straight text you had to go through and edit it to put it back to its original state?

i f*(ure it's a courtesy t--==g, error, if i *733about one/s post|| and happen to see that they posted a 993K3n quOTe|| i may go in and fix it|| out of my respect f4r either them|| or 903 top212.... depends on my mood|| really...

I'm just easily frustrated by technology issues that cause functionality to not work the way it's supposed to. No worries. It just makes the Hypo user experience less enjoyable. Who cares about that?

Posted 09 July 2008 - 10:11 PM

i could make something happen, just not this or next week, preparing for a HUGE conference in NYC next week...

i may make a new tag for latex in quotes, like quotex and that's how you'd use latex in quotes.... i have to look at it, answer may be a hell of a lot simpler...

i may make a new tag for latex in quotes, like quotex and that's how you'd use latex in quotes.... i have to look at it, answer may be a hell of a lot simpler...

Posted 09 July 2008 - 10:18 PM

I think that deserves its own entry in the word inventions thread...

Quotex.

You're the man, alex. No worries. Have fun at the conference.

Hmmm... On second thought, it does kinda sound like a panty liner, doesn't it?

Quotex.

You're the man, alex. No worries. Have fun at the conference.

Hmmm... On second thought, it does kinda sound like a panty liner, doesn't it?

Posted 09 July 2008 - 10:53 PM

Nah, sounds more like jock itch ointment...Hmmm... On second thought, it does kinda sound like a panty liner, doesn't it?

Thank God I never got in a fight. All of the jock dudes hated me, but all of their girlfriends thought I was nice so they wouldn't touch me. It was infuriating to them,

Buffy

Posted 27 July 2008 - 12:27 PM

Testing.[math]E = mc^2 left ( sqrt{frac{1}{1-frac{v^2}{c^2}}}-1 right )[/math]

now is the time

Posted 12 January 2009 - 01:38 PM

Hello Don. I can help you with this latex problem if you like.

When you reply to this message, try typing the following in the message window:

[math]a^x + b^y + c^z[/math]

then hit "preview". It should render like this:

[math]a^x + b^y + c^z[/math]

The idea is as follows. While you're writing your post you can put math tags around a math equation. The math tags look like so: [math]...[/math]. If you put a properly formatted equation between two math tags where I've put the three ellipsis points, the computer will try to render it as a beautified image.

Once you understand the idea of the tags, the only challenge is learning how to write in Tex format which can be understood and rendered properly by the computer. We can get to that challenge, but first let's make sure we have the math tags part down. Once again, write this in your post exactly:

[math]a^x + b^y + c^z[/math]

After you hit "preview" or "reply", it will render the bit between the math tags as a Latex equation.

~modest

When you reply to this message, try typing the following in the message window:

[math]a^x + b^y + c^z[/math]

then hit "preview". It should render like this:

[math]a^x + b^y + c^z[/math]

The idea is as follows. While you're writing your post you can put math tags around a math equation. The math tags look like so: [math]...[/math]. If you put a properly formatted equation between two math tags where I've put the three ellipsis points, the computer will try to render it as a beautified image.

Once you understand the idea of the tags, the only challenge is learning how to write in Tex format which can be understood and rendered properly by the computer. We can get to that challenge, but first let's make sure we have the math tags part down. Once again, write this in your post exactly:

[math]a^x + b^y + c^z[/math]

After you hit "preview" or "reply", it will render the bit between the math tags as a Latex equation.

~modest

Posted 13 January 2009 - 03:18 AM

[math]a^x+b^y+c^z[/math]

I got it! This is great!

Now, how do I write: [math]T(a/T)^((xln(a)/(ln(T))-1)/(ln(a)/(ln(T))-1))[/math]

so that the term is not on one line and requires fewer parenthesis ?

Or, am I "getting ahead of myself" ?

Don.

I got it! This is great!

Now, how do I write: [math]T(a/T)^((xln(a)/(ln(T))-1)/(ln(a)/(ln(T))-1))[/math]

so that the term is not on one line and requires fewer parenthesis ?

Or, am I "getting ahead of myself" ?

Don.

Posted 13 January 2009 - 04:02 AM

The "\frac" command lets you do fractions, i.e. "\frac{a}{b}" gives you

[math]\frac{a}{b}[/math]

[math]\frac{a}{b}[/math]

Posted 13 January 2009 - 11:13 AM

[math]a^x+b^y+c^z[/math]

I got it! This is great!

Yep, superb. You've got the tags down which I think was half the battle you were facing.

Now, how do I write: [math]T(a/T)^((xln(a)/(ln(T))-1)/(ln(a)/(ln(T))-1))[/math]

so that the term is not on one line and requires fewer parenthesis ?

Or, am I "getting ahead of myself" ?

Not at all ahead of yourself.

There are two important considerations involving LaTex. The first is the use of parentheses and the second is the use of commands (commands are functions, symbols, or special characters).

When I say parentheses, I'm not referring to the ordinary () kind. Those print normally and are in no way special. These: {} are special. They are usually called braces. They group together anything that's between them and they don't, themselves, render. I'll show you you what I mean.

To write T^(x^2+y^2) you would do this:

[math]T^{x^2+y^2}[/math]

which renders like so:[math]T^{x^2+y^2}[/math]

The {} characters grouped together the x squared plus y squared part. You have to use those braces to group together that whole exponent. Even if you use normal parentheses, the special ones are also required:[math]T^{(x^2+y^2)}[/math]

renders as:[math]T^{(x^2+y^2)}[/math]

if you didn't use the braces, you would get this:[math]T^(x^2+y^2)[/math]

rendering as:[math]T^(x^2+y^2)[/math]

Notice the first character in the exponent (the left parentheses) is the only one it raised to superscript because we didn't tell it to group all of (x^2+y^2) together.The next consideration involves the LaTex commands. They are fractions or roots or special characters... things that need more than ordinary keystroke characters to make. Erasmus points out probably the most important one above, the fraction command. There are a bunch of others which can be referenced at this link. Commands and special characters are preceded with a backslash. For example, the fraction command starts with a backslash:

[math]\frac{a}{b}[/math]

renders as:[math]\frac{a}{b}[/math]

Anything in the first set of braces is put in the numerator and anything in the second set of braces is put in the denominator. To make things a bit more interesting:[math]\frac{x\ln(a)}{\ln(T)}[/math]

renders as:[math]\frac{x\ln(a)}{\ln(T)}[/math]

The commands used above are \frac and \ln. Looking, then, at the equation you asked about: T(a/T)^((xln(a)/(ln(T))-1)/(ln(a)/(ln(T))-1)) and starting with the base:[math]T ( \frac{a}{T} )[/math]

renders as:[math]T ( \frac{a}{T} )[/math]

and that doesn't look very good at all. The parentheses are too small, and that's something you'll run into. We need to use the special characters "\left(" and "\right)" any time we want to make bigger parentheses. This will look better:[math]T \left( \frac{a}{T} \right)[/math]

rendering as:[math]T \left( \frac{a}{T} \right)[/math]

Then we add the exponent:[math]T \left( \frac{a}{T} \right)^{\left( \frac{ \frac{x \ln(a)}{ \ln(T)} -1}{ \frac{ \ln(a)}{ \ln(T)} -1} \right)}[/math]

renders as:[math]T \left( \frac{a}{T} \right)^{\left( \frac{ \frac{x \ln(a)}{ \ln(T)} -1}{ \frac{ \ln(a)}{ \ln(T)} -1} \right)}[/math]

That is a difficult equation to put into LaTex and looks overwhelming. But, once you practice the basics, it becomes pretty intuitive. Your whole identity, complete with math tags is this:[math]\frac{T}{T}a^x = T \left(\frac{a}{T}\right)^{\left(\frac{\frac{x\ln(a)}{\ln(T)}-1}{\frac{\ln(a)}{\ln(T)}-1}\right)}[/math]

You can copy and paste that into whatever post you're writing. In fact, I just copied it from Craig's post which is a useful shortcut. If someone writes something in LaTex, you can hit "quote" under their post and you'll see the LaTex string in the quoted part of the message. The above renders like so:[math]\frac{T}{T}a^x = T \left(\frac{a}{T}\right)^{\left(\frac{\frac{x\ln(a)}{\ln(T)}-1}{\frac{\ln(a)}{\ln(T)}-1}\right)}[/math]

Again, that is a very overwhelming string of characters in that equation. I'd recommend starting with simple fractions and whatnot and working your way up. But, I do think you'll get the hang of it and your posts (and papers) will look so much better for it.The thread is here for practice and shout out any questions.

~modest

Posted 13 January 2009 - 02:07 PM

another note on that, it is a lot easier to write in math like that, then it is to figure out from the string where things are, it also does not hurt to space things to make them easier to read

[math]\frac{T}{T} a^x = T \left( \frac{a}{T} \right) ^ {\left( \frac{ \frac{ x\ln(a ) }{ \ln(T) }-1 }{ \frac{ \ln(a) }{ \ln(T) } -1 } \right) }[/math]

curly braces are used to indicate a block of a sort. left and right actually will extend any bracket to the height of the content inside

things that can be expanded/resized like that are:

[ ]

\{ \} - note they are escaped

( )

| - \vert or a vertical line

\| - \Vert or a double vertical line

/ - slash

\backslash

\langle \rangle

\uparrow

\downarrow

\updownarrow

a good habbit to get into is to type in a close bracket/parentheses, etc, right after you open them, and also draw a set if the function requires more then a single one ex i start with \frac{}{} and then arrow in to fill them... that way i wont forget if the second part of that wont happen for a bit

so to give you another example:

[math]\int cos(2x) e^{3x} dx = \frac{1}{3} cos(2x)e^{3x} + \frac{2}{3} \left[ \frac{1}{3} sin(2x) e^{3x} - \int 2cos(2x) \frac{1}{3} e^{3x} dx \right][/math]

[math]\frac{T}{T} a^x = T \left( \frac{a}{T} \right) ^ {\left( \frac{ \frac{ x\ln(a ) }{ \ln(T) }-1 }{ \frac{ \ln(a) }{ \ln(T) } -1 } \right) }[/math]

curly braces are used to indicate a block of a sort. left and right actually will extend any bracket to the height of the content inside

things that can be expanded/resized like that are:

[ ]

\{ \} - note they are escaped

( )

| - \vert or a vertical line

\| - \Vert or a double vertical line

/ - slash

\backslash

\langle \rangle

\uparrow

\downarrow

\updownarrow

a good habbit to get into is to type in a close bracket/parentheses, etc, right after you open them, and also draw a set if the function requires more then a single one ex i start with \frac{}{} and then arrow in to fill them... that way i wont forget if the second part of that wont happen for a bit

so to give you another example:

[math]\int cos(2x) e^{3x} dx = \frac{1}{3} cos(2x)e^{3x} + \frac{2}{3} \left[ \frac{1}{3} sin(2x) e^{3x} - \int 2cos(2x) \frac{1}{3} e^{3x} dx \right][/math]

Posted 13 January 2009 - 11:10 PM

[math]\frac{T}{T}a^x = T \left(\frac{a}{T}\right)^{\left(\frac{\frac{x\ln(a )}{\ln(T)}-1}{\frac{\ln(a)}{\ln(T)}-1}\right)}[/math]