Scientific Forums


Pages: (3) [1] 2 3   ( Go to first unread post )

Add reply · Start new topic · Start new poll


> How to use Math Formula, Graphics ?, about Math Equ, Graphics, Font
Guest_MS
  Posted: May 12 2005, 11:02 PM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0



How to use / include Scientific / Math ... Equation, Formula, rules, laws, fonts, graphics, etc in your web site ?

---------------------------------------------------

I'm REQUESTING to PhysOrg.com website AUTHORITY to let us(/writers) use the font named "Chryſanşi" or other (open-source) math font (see below, or, one of my next posting) which can be used for expressing many types of formula, equation, math, logic, statistics, calculas, algebra, etc. If we have one of those UCS/Unicode fonts, then special math characters, superscript, subscript, etc can be used on the posting by using the " &#nnnnn; " format, which are part of ISO 10646 universal character set (UCS) and "Unicode". Right now (as of May 11, 2005) they are not allowing any math fonts. At least safe characters, letters, numbers should be allowed to use, by using html decimal coding ("&#nnnn;"), which are part of (older) ISO 8859-1 ("Latin-1"/"western") character set. It is a very essential requirement for a website like this. If they enable those features, or, already exist, it will be mentioned below, see next postings.
----------------------------------------------------

Currently, there is a limitation on how many picture files you can use in your posting. (Probably 10 picture files). But if, PhysOrg.com itself hosted all these small PNG picture files (each math charcter is only 200 bytes), then we can build/express our own equation. As the file sizes are tiny, it should not be any problem to handle, or, they can/should allow writers to include/use unlimited external or their own site's PNG picture files, at least. If they change this limitation, it will be mentioned in one of my next posting.
----------------------------------------------------

PhysOrg.com Forum's Help pages : - http://forum.physorg.com/index.php?act=Help
----------------------------------------------------


Representing equation/formula through the use/implementation/linking of small transparent graphic files are easier, and will be displayable/supported in almost all type of web browser. But you may not find all of your character, or, not in right alignment/places. If PhysOrg.com itself provides lots of pre-created math character PNG/GIF files, then we can link/use them with with great success, safely.

A PNG file with a single math symbol/Character is not even 200 bytes, compared to a single math character GIF file, which can be 23KBytes. So, PNGs are way better than the GIFs.

Representing equation/formula can be done also through the use of UCS font like "Chryſanşi", "Code2000", "Cardo" or other Unicode/UCS/ISO 10646 fonts which supports Math, Greek, Roman & all other Symbols. This is the new, future standard.

Or, it can be represented by using html decimal formatted code ("&#nnn;" or, "&#nnnn;"), for a limited number of character/symbol, if (older) ISO 8859-1 / WGL compatible font is used. But, in this way at least most basic math charcters can be displayed in all browser. Special math fonts (Unicode/UCS) can provide all type of math characters, so we should use open-source/license fee free fonts.

Math charcters can be displayed by using "LATEX" (a modified version of Tex) coding approach as well. One of the LATEX type of solution is to convert your Math by using Latex conversion to a GIF picture file, like ("latex2html"). And resultant files will display on any graphics browser.

If you like, some type of free, open-source implemetation, which is very superior/better than using those small graphic files, and/or, TrueType/WGL fonts, etc, then we have many choices also.

Among them, ... download/install a "plug-in" soft and/or a "Unicode/UCS font" for displaying MathML coding type (which is actually a variant of XML code) of equation/formula, developed by the World Wide Web Consortium, The W3C. This mathode can represent/cover almost all type of math/science equation/formula with super great clarity. "The W3C" have a free MathML editor called Amaya. Amaya can also serve as a Web Browser to view MathML documents, as well as ordinary basic HTML.

Math equ can be displayed by using CSS also.

I'll not go into commercial fee based solutions.

And very important thing is ... when you're using these codes ... BEFORE you finally SUBMIT/add your posting/writings into the forum/web page, PLEASE PREVIEW them first (use "Preview" button/feature), if the characters/letters are really getting represented/alligned in the right way.

My this posting is a result of inspiration from "Good Elf" (PhysOrg.com's member).
-------------------------------------------------------------------------------

Below are some sites which can allow/let us post scientific or mathemetical equation, formula, graphics, font, etc on the web page :


http://us.metamath.org/symbols/symbols.html
A public-domain collection of over a thousand bit-mapped, 12-point, transparent GIFs and PNGs of mathematical letters and symbols, suitable for display on a web page. (Thanks to Norman).

http://www.stixfonts.org/
The mission of the Scientific and Technical Information Exchange (STIX) font creation project is the preparation of a comprehensive set of fonts that serve the scientific and engineering community in the process from manuscript creation through final publication, both in electronic and print formats. Toward this purpose, the STIX fonts will be made available, under royalty-free license, to anyone, including publishers, software developers, scientists, students, and the general public. (May 11, 2004).

http://hutchinson.belmont.ma.us/tth/
TtH - TtH translates Plain TeX or Latex into a near equivalent in HTML. It is extremely fast and completely portable. It produces web documents that are compact and fast-viewing. TtH translates and displays mathematical expressions using the symbol fonts which are included in the 4+ versions of Netscape and Internet Explorer. TtH cannot display inline matrices and over dots. Inline fractions do not display well either. Overall, however, TtH is one of the best technologies available in the summer of 2000. The example file winedt.tex was converted into winedt.html (5KB) using TtH. There are some minor problems with vertical and horizontal alignment, but the mathematics is quite readable.

http://pdg.cecm.sfu.ca/openmath/
PolyMath OpenMath :- The PolyMath OpenMath Dev team is dedicated to building advanced applications using the OpenMath standard for mathematical applications. OpenMath (http://www.openmath.org) HomePage can be found also from here (http://www.uni-koeln.de/themen/Computeralgebra/OpenMath/old-index.html).

http://www.mozilla.org/projects/mathml/fonts/
Fonts for MathML.

http://www.w3.org/Math/
MathML 2.0 - a W3C Recommendation was released on 21 Feb 2001. A product of the W3C Math working group, MathML(Mathematical Markup Language) is a low-level specification for describing mathematics as a basis for machine to machine communication. It provides a much needed foundation for the inclusion of mathematical expressions in Web pages. Many implementations of MathML are available (browsers and authoring tools), many of which are open source software. Go to the MathML Software list ( http://www.w3.org/Math/implementations.html ) for descriptions and pointers, or read the Implementation and Interoperability report (http://www.w3.org/Math/iandi). There is a good chance that your browser already supports MathML (possibly with the addition of a plug-in). You can try this test page to find out. If you want to put your mathematics on-line this way, read how to put mathematics on the Web with MathML document (http://www.w3.org/Math/XSL).

http://netlib.org/cephes/
Cephes is a C library that provides numerous mathematical functions including support for the complex variable types that will be in the new ANSI C standard, C99. Among the numerous functions available are: the elementary functions (log, sin, cos, exp, etc), gamma, psi, dilogarithm, Airy, Bessel, hypergeometric, Struve, complete and incomplete elliptic functions, Planck radiation, Fresnel integrals, probability integrals and their inverses (Gaussian, Poisson, F, Chi-square, binomial, Kolmogorv-Smirnov arithmetic on polynomials, rationals, etc), and so on. You can get it with precisions from single, double, long double (80, 96 or 128 bit), q-class (384-bit). Source code is available, as well as precompiled binaries for Linux, Windows and MSDOS.

http://www.gnu.org/software/gsl/
GNU Scientific Library : GSL provides a modern Applications Programming Interface (API) for C programmers, while allowing wrappers to be written for very high level languages.

http://www.w3.org/Math/mathml-faq.html
Mathematical Markup Language (MathML) Frequently Asked Questions (FAQ)

http://www-4.ibm.com/software/network/techexplorer/
IBM techexplorer Hypermedia Browser :- Plug-in for Netscape Navigator to enable the display of TeX, LaTeX and MathML documents on the Web. Also available in ActiveX form for Internet Explorer and Microsoft Office.

http://mathforum.org/typesetting/
Math Typesetting for the Internet :- Complete guide for including math notation in web pages and e-mail messages. Includes links to necessary software and tools.

http://mathforum.org/typesetting/gif.howto.html
How to Make Math Expressions as GIFs (GIF picture file). Step-by-step instructions on how to convert a mathematical expression to a GIF and put it on the web.

http://www.dessci.com/en/products/mathplayer/
Design Science MathPlayer™ enables Microsoft Internet Explorer to display mathematical notation in web pages. It is based on MathML technology and requires Internet Explorer for Windows version 6.0 and later. MathPlayer plug-in is available for free in order to foster the adoption of MathML in the math, science, and education communities.

http://www.cs.wisc.edu/~ghost/
GhostScript viewer :- Allows the postScript files on the Web be viewed with the free GhostScript viewer.
----------------------------------------------------------

More Info :

http://www.appliedsymbols.com/
This company specializes in OpenType fonts for technical and mathematical publications.

http://www.w3.org/Amaya/
Amaya is the W3C's editor/browser and is used to demonstrate and test many of the new developments in Web protocols and data formats. Amaya demonstrates an implementation of MathML which allows users to browse and edit Web pages containing mathematical expressions. Like the rest of the document, these expressions are manipulated through a WYSIWYG interface. Amaya uses namespaces to integrate MathML expressions within XHTML documents, i.e. HTML documents written in XML syntax. Amaya is an open source software project hosted by W3C.

http://eigenmath.sourceforge.net/
Eigenmath - Symbolic mathematics for Windows, MacOSX. A sourceforge open-source project.

http://www.singularsys.com/jep/
JEP - An open-source Java API for parsing and evaluating mathematical expressions.

http://www.xs4all.nl/~apinkus/yacas.html
YACAS - Acronym for Yet Another Computer Algebra System, an open-source software package. Supports arbitrary precision arithmetic, matrices, and differential and integral calculus.

http://swiss.csail.mit.edu/~jaffer/JACAL
JACAL is an interactive symbolic mathematics program. JACAL can manipulate and simplify equations, scalars, vectors, and matrices of single and multiple valued algebraic expressions containing numbers, variables, radicals, and algebraic differential, and holonomic functions.

http://www.gnu.org/software/bc/bc.html
bc - bc is an arbitrary precision numeric processing language. It supports interactive execution of statements. It is GNU software and is distributed under the GNU General Public License.

http://www.fis.unipr.it/%7Estefanw/gtybalt.html
gTybalt is a free computer algebra system. It is distributed under the terms and conditions of the GNU General Public Licence (GPL).

http://www.ma.utexas.edu/users/wfs/maxima.html
Maxima is a symbolic computation program. As the link above describes it, "Maxima is a Common Lisp implementation of MIT's Macsyma system for computer based algebra". George White has maintained and extended Maxima for the last 18 years, but has formal permission from DOE, to release this under GPL as a derivative work science 1998. I am looking forward to installing this and yacas above to check out their symbolic computation capabilities.

http://www.calc101.com/
Automatic Calculus and Algebra Help : derivatives, graphs, integrals, matrix algebra, systems of linear equations.

http://www.slovo.info/unifonts.htm
This is a useful portal for finding downloadable unicode fonts on the web.

http://lantana.tenet.res.in/General_Info/T...-GNU-Linux.html
Scientific Computing with Free GNU/Linux Software HOWTO

http://www.targ-it.com/Science/Math/Software/Typesetting
Related Collection of Math Equ. display, processing at Targ-it.com site.

http://www.math.utah.edu/~beebe/fonts/

http://www.math.clemson.edu/~bmoss/math_on_web/math2C.htm
Mathematics in WebCT II
----------------------------------------------------------------

here is an example of quadratic formula/equation by using GIF picture files :-


user posted image user posted image-buser posted image user posted image (buser posted image - 4ac)
x=------------------------
user posted imageuser posted imageuser posted imageuser posted image2a

(This Posting was Re-edited by Guest_MS on May 17, 2005)
Top
Guest_MS
Posted: May 12 2005, 11:12 PM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


GIFs were used in above equ. ...
This is only by using PNGs ...

user posted image user posted image-buser posted image user posted image (buser posted image - 4ac)
x= ------------------------
user posted imageuser posted imageuser posted imageuser posted image2a
Top
icecycle
Posted: May 12 2005, 11:57 PM


Member
**

Group: Members
Posts: 141
Joined: 18-March 05

Positive Feedback: 0%
Feedback Score: 0


Okay, I will give you my stupid opinion.
Put it in another way.

Clarification.
Once, a long time ago, I took some arcane math and put it in the form of a computer program. Basic, as it happens.
But C would do to, as would COBAL, or PASCAL.

The problem with real arcane math is after you get beyond the simple things like the dilima, and sigma as a term, you end up with a language that no two mathemations can agree upon.

(although wolfrmam research is making inroads.)

Sort of like talking to cats.

So, put it in the form that an idiot, or a computer (much the same thing) is capable of understanding.

Art for art's sake in math is really rather sad.
Top
Guest_MS
Posted: May 13 2005, 01:09 AM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


You can express equation/formula by using Arial font as well ....
below is an example of that quadratic equation, NO PIC FILES ARE USED ...

                  _________
         -b ± √ b² - 4ac
x = ---------------------------
              2a

i have used .... Windows utility "Character Map" to copy paste the character what i need from the "Arial" font's character set, to here. And then selected, "Arial" from the "FONT" drop down list, when i was in the replying/posting page. And ended the font tag by using [ /FONT ] tag.

but selection of character set is very less, not very clear, but at least possible.

Top
Guest_MS
Posted: May 13 2005, 01:28 AM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


Putting "spaces" in a line, in front of a number/letter is very important.
for this use, "No-Break Space" from the windows utility "Character Map" (can be found in the Start Menu ... Start \ Programs \ Accessories \ System Tools ).

"No-Break Space"(" ") symbol can be found usually next to the symbol "Tilde"("~"). Click/Select that symbol from the character list, also make sure you are inside "Arial" font's charcter set. click on "Select" button. Now, click on "Copy" button. Now in the forum's replying box, goto/click on the line/positino where you want to place this symbol, then use Ctrl + V buttons (it means, press control "Ctrl" button and keep holding/pressing it, then press once on the letter "V") to paste it. See below, in one of my next postings, how you can use "html decimal" code to display "No-Break Space".

below is an example of "No-Break Space" character ...
           "I wanted to start from here"
"Not from here"

if your required symbols/characters are in other FONT then use "[ FONT = fontname ]" tag before those characters/symbols (or, use FONT button / drop-down-list), and use "[ / FONT ]" tag after(/at the end of) those characters or symbols.

for an exapmle , you write ...

"here is what "W$" looks like in "Courier" font ... [ FONT=Courier ] W$ [ / FONT ]."

it will appear as ...

here is what "W$" looks like in "Courier" font ... W$.

(when you write, do not use any spaces in between "[" , "FONT" , "=" , "/" , "]", etc characters/symbols)

Top
Guest_MS
Posted: May 13 2005, 01:43 AM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


You can also use specific key strokes to put that charcter on the replying box .... like ALT + 0177 is actually "Plus-Minus Sign"("±"), use Num Key pad part of the keyboard to press the code digits.
Top
Guest_MS
Posted: May 13 2005, 01:58 AM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


Using Special Charcter/Symbol :
key-strokes, "Character Map" utility, etc will be ineffective if you want to use, for exapmle, say ... superscript 5, or, other superscript after 3, or, subscript. Because "Arial" font's character set doesn't contain superscipt after 3.

But then using math or special character/symbol from other font (like Unicode/UCS font) is necessary, and also need to remove the restriction posed by PhysOrg.com's allowable font list.

Or, possible by using graphics files like PNGs / GIFs. PNGs are very small in size.

like here ... 2user posted image = 256

superscript number "8" is actually a picture file.
Top
Guest_MS
Posted: May 13 2005, 02:07 AM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


Very Impotant Thing to Remeber :

... when you're using these ... BEFORE you finally SUBMIT/add your posting/writings into the forum/web site/page, PLEASE PREVIEW them FIRST (use "Preview" button/feature), if the characters/letters are really getting represented/alligned in the right way.
Top
Guest_MS
Posted: May 13 2005, 03:41 AM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


Time-dependent, one-dimensional Schrödinger's wave equation :


       ħ²       ∂² Ψ(x,t)                                      ∂ Ψ(x,t)
– -------  -------------- + U(x) Ψ(x,t) = i ħ ------------
     2m          ∂x²                                              ∂ t


More info here http://www.spaceandmotion.com/Physics-Erwin-Schrodinger.htm
Top
Guest_MS
Posted: May 13 2005, 05:01 AM


Newbie
*

Group: Members
Posts: 14
Joined: 7-May 05

Positive Feedback: 0%
Feedback Score: 0


Here another way of displaying special character ...
by using "HTML DECIMAL" code.

Math symbol "" is called "contains as member". (it looks like backward letter E)
if we use its "html entity" code ... ∋ ... (looks like not showing up)
if we use its "html hexadecimal" code ... ∋ ... (looks like not showing up)
but, if we use its "html decimal" code ... ... (this is working)

"html decimal" codes are in "&#nnnn;" format.

" & # 8715; " is "" ("Contains as Member")
" & # 0160; " is " "  ("No-Break Space") (also known as  "& nbsp;")
" & # 8706; " is "" ("Partial Differential")

(When you're writing these, do not use any space in between "&", "#", "nnnn", ";")

By using the ALT button & the numeric key pad digits, these characters can be used/made appear also.

Click here to goto the first post by me(Guest_MS)
Top
Guest_Guest_MS
Posted: May 13 2005, 05:39 AM


Unregistered









ADD / DISPLAY IMAGE IN YOUR POSTING :

To display an image, which is located at another web site/page, use the following process ....

[ img ] http :// websites_name_&_location_of_picture_file / picture_filename [ / img ]

When you are typing the URL of any picture file, do not use space in between the words. You may use "%20" instead of each "space", if that website's name or filename contains the "space" characters. There should be no space in between the "http" & "://", or, "/" , "[", "img", "]", etc symbols and words.

for example ... this is PhysOrg.com Forum website's logo picture/GIF file

[ img] http ://forum.physorg.com/style_images/1/logo4.gif [/ img]

user posted image

URL = Uniform Resource Locator

Top
Good Elf
  Posted: May 13 2005, 11:24 AM


Advanced Member
*****

Group: Members
Posts: 4161
Joined: 4-December 04

Positive Feedback: 73.08%
Feedback Score: 26


Hi All and especially Guest_MS,

Thanks for taking the suggestion seriously. I truly appreciate what all of you have done especially Guest_MS. I now need to look very carefully at all the options and see how well I can utilize them.

I am familiar with the display of images using "img" from other websites but sometimes it is just not enough is it?

I have finished with the exams and I am back on top now. I promise to use these options only when necessary. Thank for that. biggrin.gif

It would be good if the code tag could extend to "symbol" as this would be very efficient indeed. rolleyes.gif we could all use the character map tool in the "evil empire's" toolset. It is scalable too. wink.gif

There may be something that the "evil empire" refuses to accept or it may be a source of some security problem...

Cheers


--------------------
"Aa' menle nauva calen ar' ta hwesta e' ale'quenle"
Top
solidspin
Posted: May 13 2005, 01:48 PM


Advanced Member
*****

Group: Members
Posts: 530
Joined: 26-April 05

Positive Feedback: 100%
Feedback Score: 6


Great adds, Guest_MS biggrin.gif

Good Elf - whew! cool!

thx and excelsior! This will truly bring the threads to a higher level!

- gleefully spinning solids cool.gif
Top
WaterBreath
Posted: May 13 2005, 04:48 PM


Advanced Member
*****

Group: Members
Posts: 917
Joined: 26-January 05

Positive Feedback: 100%
Feedback Score: 7


You can find pretty much any HTML decimal code you need at this page, with a little effort:

http://www.info.com.ph/~etan/w3pantheon/un...e/UCGdg205.html
Top
Neutron
Posted: May 13 2005, 04:54 PM


Advanced Member
*****

Group: Admin
Posts: 964
Joined: 16-April 04

Positive Feedback: 63.64%
Feedback Score: -3


It really works perfectly, thanks WaterBreath

CODE
Ψ ε ∑ ∬ ☼
Send PM ·
Top

Topic Options Pages: (3) [1] 2 3 

Add reply · Start new topic · Start new poll


 

Terms of use