Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Latex math symbols

Status
Not open for further replies.

williB

New Member
can we use latex math symbols on ETO
if so we need to get to know them
[latex] /int [/latex]

i guess not , this should have been the integral symbol
unless i did it wrong
 
Was you after ∫. The only way I know to insert them is to open character map (start, all programs, accessories, system tools) select Arial Black as the font, scroll down to find ∫ and copy and paste. There are lots of useful ones there such as Ω ∏ ∑ √ ∞ ∂.

Mike.
 
Pommie said:
Was you after ∫. The only way I know to insert them is to open character map (start, all programs, accessories, system tools) select Arial Black as the font, scroll down to find ∫ and copy and paste..

Which isn't much help if you don't use Windows.
 
Does your operating system not have a font viewer? How would you insert characters into your reply here?

Mike.
 
If you need a cut and paste source:

https://en.wikipedia.org/wiki/Unicode_Mathematical_Operators
https://en.wikipedia.org/wiki/Greek_alphabet

Ωμθ∞≥⊃∃∆∬

And if you're interested in the whole can of worms that is UTF and unicode:

https://en.wikipedia.org/wiki/Utf-8
**broken link removed**
https://www.cl.cam.ac.uk/~mgk25/unicode.html

The fun part is being able to load https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
in a mlterm (linux) window and seeing actual *runes* floating around in there.

references:
https://www.cl.cam.ac.uk/~mgk25/ucs/examples/
google for "linux utf8"
 
Pommie said:
Does your operating system not have a font viewer? How would you insert characters into your reply here?
It does have a character selector, it's just a web page is often more convenient. Also, character map can be a problem as there's a danger as it is possible to uses non-standard characters which won't work on other OSes.

hjames,
I've noticed that half the characters there are square boxes, and I've tried viewing the page in both Linux and Windows using several browsers, do you get the same problem?
 
there's a bit of a difference between sticking in greek characters, and actually formatting equations with LaTeX.

for instance, from https://crab.rutgers.edu/~karel/latex/class4/class4.html
something like:
\frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x).

becomes:
**broken link removed**

granted, most of the discussion on this forum is project ideas and conceptual stuff, not very much detailed math, so having such functionality isn't exactly necessary, but it would still be cool because LaTeX rocks ;)
 
Hero999 said:
It does have a character selector, it's just a web page is often more convenient. Also, character map can be a problem as there's a danger as it is possible to uses non-standard characters which won't work on other OSes.

hjames,
I've noticed that half the characters there are square boxes, and I've tried viewing the page in both Linux and Windows using several browsers, do you get the same problem?

Which page?
I'm on my windows machine right now and the "math operators" page only displays most of the first table (the last row seems to be mangled), the remaining tables are all question marked out. The Greek page displays fine, but there do seem to be a couple blocks of unknown characters which are mangled in the utf-8-demo file. I just tried installing some random unicode font (everson mono - seems to have a shareware license attached) which added a couple more characters - the runes and some of the block drawing characters, but the ethiopian and braille are still blanked out...

I'm pretty sure it's a matter of fonts and encoding - if you have the wrong encoding set (i.e. not UTF8), the browser is going to try and guess, and if you don't have the font installed, the browser is going to have to draw a placeholder. Firefox seems to be drawing question marks, I remember an older Mozilla browser drawing a square with the actual character code in hex in there.

On my Linux box (where I've purposely installed unicode fonts) I can load that utf-8-demo file in a terminal and see the entire page including curly brackets and properly aligned drawing elements. I'll try opening up the file in Mozilla (on Linux) when I get a chance. +edit: The Linux box seems to do all the characters in the utf-8-demo properly with some alignment errors.
James
 
Last edited:
evandude said:
there's a bit of a difference between sticking in greek characters, and actually formatting equations with LaTeX.

for instance, from https://crab.rutgers.edu/~karel/latex/class4/class4.html
something like:
\frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x).

becomes:
**broken link removed**

granted, most of the discussion on this forum is project ideas and conceptual stuff, not very much detailed math, so having such functionality isn't exactly necessary, but it would still be cool because LaTeX rocks ;)


I remember hearing about mathml - but I've never really looked into it until now. It looks like the default entry format is LaTeX, but I'm not even going to try to attempt to use it.

**broken link removed**
**broken link removed**

Agreed about the coolness of LaTeX - a couple years back I turned in the problem sets for one of my math classes all typeset using LaTeX. Haven't needed to use it much since then though.
 
bananasiong said:
You didn't start with "[ latex ]" and end with "[ /latex ]"

Yes I did. If I didn't then you would see the equation as plain text. You should also have seen the latex tags in the quote.

Mike.
 
It doesn't work for simple symbols, you have to put them into a formula.

For example:

[latex]\beta = {\alpha \over \gamma}[/latex]

Gives:
[latex]\beta = {\alpha \over \gamma}[/latex]
 
Last edited by a moderator:
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top