Guide: Writing Equations in LaTeX on the CFD Online Forums
This is a brief introduction about how to write equations in the CFD Online discussion forums. The equation functionality is based on LaTeX, a versatile mathematical typesetting system which is often used to write scientific papers and books. With LaTeX mathematical equations are written using normal text and this makes it very suitable for a textbased forum like this. The forum will automatically generate images of the LaTeX codes it finds and display them properly. LaTeX often gives very nice looking formulas. LaTeX can be a bit difficult to get started with, but those who know it tend to like it very much. Here is a simple example to illustrate how it works:A usefull feature in the forum is that the LaTeX code used to write an equation can be seen when you hoover with the pointer over it. If you click on an equation a window will be opened displaying the LaTeX code used to write it. This makes it easy to learn from other people and to copyandpaste equations from other posts.
You can see how all equations on this page have been written either by hoovering over them with the pointer or by clicking on them! LaTeX can be used in two ways:
There is a special LaTeX reference tool avalable in the advanced editor which helps you to find the codes needed to write symbols, relations, operators etc. in LaTeX. To open the LaTeX reference click on the symbol to the right just above the editor window. Below follows a summary of the most commonly used symbols, relations, operators and functions as well as a few other frequently asked questions. To see how these symbols or equations were created just click on the one you are interested in and a window will be opened showing the code used to create it: Symbols Lowercase Greek letters: Capital Greek letters: Operators and relations: Misc: Bracketing  () {} [] You can simply write the brackets you want. To get the correct size of the brackets you sometimes have to use the \left and \right keywords in front of the bracket. For example, just writing parentheses gives , but with \left and \right keywords you would get . Exponents and Subscripts  [math]a_i^n[/math]  [math]x_{i+1}^{2^{n+1}}[/math] Functions  Fractions, Radicals, Integrals, Sums, Limits, ...  [math]\frac{1}{2}[/math]  [math]\sqrt{x+y}[/math]  [math]\sqrt[n]{x}[/math]  [math]\int^\infty_0 f(x) \, dx[/math]  [math]\oint_\Gamma f(x) \, ds[/math]  [math]\sum_{i=1}^{\infty}\frac{1}{i}[/math]  [math]\lim_{x\to\infty}\frac{1}{x}[/math] Trigonometric and Logarithmic Functions Please use these instead of simply typing in "sin". That ensures that the function is typeset properly with the right font and spacing.  [math]\cos^2 x + \sin^2 x = 1[/math]  [math]\tanh(c)[/math]  [math]\log n^2[/math]  [math]\ln(e)[/math] Spacing Sometime you may want to add extra horizontal space between characters. The following codes can be used to add extra space:
, or written more explicitly:

test




Useful website for generating LaTeX equations

cool. i often use mathematica to write equations. then they can be transform to latex form.





why can't I use \^{\circ}C?






I cannot figure this out. Where is my syntax error?
Here's what I typed between the bracketed math and /math: \alpha\frac{\partial^2x}{\partial \xi^2}2\beta \frac{\partial ^2x}{\partial \xi \partial \eta}+\gamma \frac{\partial ^2x}{\partial\eta^2}=0 \alpha\frac{\partial^2y}{\partial\xi^2}2\beta\frac{\partial^2y}{\partial\xi\partial\eta}+ \gamma\frac{\partial^2y}{\partial\eta^2}=0 Here the images of what displays on the codehogs.com online eqn editor: http://latex.codecogs.com/gif.latex?...rtial\eta^2}=0 http://latex.codecogs.com/gif.latex?...rtial\eta^2}=0 I don't understand why I'm getting an error on the forum. It's frustrating. 
Seems like the LaTeX functionality is broken after the server move on June 5. We will investigate and post a message in this thread once LaTeX is working again.

Quote:

I think that we found the bug in the forums and I hope that now LaTeX rendering should work on the forums. We are still having problems with LaTeX on CFD Wiki though.

\dot{q}={\left.k\frac{\partial{}T}{\partial{}n}\ri ght]}_g{\left.k\frac{\partial{}T}{\partial{}n}\right]}_l
If the expressions aren't inserted in the math math , latex results will be Regretfully. 

Is the bold letters & fonts in Latex possible.?
Hi all,
Is it possible to use bold fonts in the Latex Thanks for any answer. 
Yes, google "latex bold equation" and you will find a lot of information. There are several LaTeX commands that you can use, like \textbf{foo} \mathbf{bar} and \boldsymbol{\alpha}}

Dear jola
Thanks a lot for your kind attentions and replies. Surely, I will google "latex bold equation" or "how to bold the font at LATEX programing texts" and probably I'll represent the result at the forum. All the best 

Quote:

All times are GMT 4. The time now is 06:17. 