HP Forums

Full Version: Learning TeX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My first attempt at TeX:\begin{equation}
\varphi = 1 + \cfrac{1}{1
+ \cfrac{1}{1
+ \cfrac{1}{1
+ \cfrac{1}{1 + \ddots
} } } }
\end{equation}Dang, this is easy! Smile
Trying it here too: \begin{equation}x_1=x_0+vt+\frac{1}{2}at^2\end{equation}
And more text.
and how about (a^2+b_2) Does that work?
Oscar Had A Hunk Of...
\[\\sin =\frac{o=Oscar}{h=Had}\\ \\cos =\frac{a=A}{h=Hunk}\\ \\tan =\frac{o=Of}{a=?}\\\]
Apple

Thanks for the TeX Lesson
http://www.codecogs.com/latex/eqneditor.php
Hello,

How do I enter equations using TeX? Shouldn't it be as simple as

[tex]
a=1
[/tex]

Thanks
(05-06-2015 02:31 PM)Marcio Wrote: [ -> ]Hello,

How do I enter equations using TeX? Shouldn't it be as simple as

[tex]
a=1
[/tex]

Thanks

+1 I don't know how to properly copy or insert Latex into forum posts.

Perhaps this could be described and added as a sticky to the top of this test forum?
Inline \(\LaTeX\)
Code:
\( your equation here \)
Displayed \(\LaTeX\)
Code:
\[ your equation here \]
\( a=1 \)

Ha. Thanks
Hint: If you see a posting with nifty TeX in it, and want to see how they did it, just click the Quote button, take a peek at the TeX code, then press Back on your browser. Sorta like learning programming by reading other people's programs, which I'll bet we've all done.
To view someone else's TeX code, you can also right-click on the math and choose to show the math as TeX commands.

\(\LaTeX\) in general can be worth learning if you have reason to produce complicated documents with lots of cross-references, bibliography citations, index entries, figures, etc.
You may also use Daum which is both available online and as a Chrome add on.
\(E^2-p^2c^2=m^2c^4\)
\[E^2-p^2c^2=m^2c^4\]
\[f(x)=\begin{cases}
0,\quad -1\le x<-0,5,\\
1,\quad -0,5<x<0,5,\\
0,\quad 0,5<x\le 1.
\end{cases}\]
(05-06-2015 04:29 PM)Alberto Candel Wrote: [ -> ]Inline \(\LaTeX\)
Code:
\( your equation here \)
Displayed \(\LaTeX\)
Code:
\[ your equation here \]

\( test^{latex} \)

Interesting this works here, but not some other places on the forum... Edit.. Ah, it did go haywire after editing again. Confused

\( test^{latex} \)

... Edit2 : Solved it relates to Quick Edit vs Full Edit functionality.
(11-27-2015 12:17 AM)Vtile Wrote: [ -> ]
(05-06-2015 04:29 PM)Alberto Candel Wrote: [ -> ]Inline \(\LaTeX\)
Code:
\( your equation here \)
Displayed \(\LaTeX\)
Code:
\[ your equation here \]

\( test^{latex} \)

Interesting this works here, but not some other places on the forum... Edit.. Ah, it did go haywire after editing again. Confused

\( test^{latex} \)

Maybe you put the TeX code as 'formatted code'?
(11-27-2015 12:22 AM)Marcio Wrote: [ -> ]
(11-27-2015 12:17 AM)Vtile Wrote: [ -> ]\( test^{latex} \)

Interesting this works here, but not some other places on the forum... Edit.. Ah, it did go haywire after editing again. Confused

\( test^{latex} \)

Maybe you put the TeX code as 'formatted code'?
It is the quickedit vs full edit thing. I assume it is only a refressing "error" as I do not see it correctly at first, but I assume that others do see it correctly since they just loaded the page.
Reference URL's