473,414 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Canonical Science Today, rendering mathematics with CSS

Since the idea of encoding mathematics using MathML is being very far
from popular due to a number of factors -expensive tools, bad
accesibility of generated code, unusual verbosity, lack of adequate
support, special fonts, namespaces, special plugins, backward
incompatiblity of MathML with other internet technologies, duplication
of code, and others-, alternative encodings are spreading over the
internet.

Probably the most popular one is the use of GIF images generated from
TeX-like sources. However, the usage of images introduces difficulties
for both authors and users. Images do not scale, are not searchable,
are not accesible and cannot be directly edited (you need edit the TeX
source and upload the document with a nev generated image); images are
heavy for servers, cannot be easily reused with changes in background
colors, resizing displays, usually the printing of images of formulae
is unpleasant...

An interesting alternative approach is on rendering of mathematical
formulae via CSS techniques. A future CSS math module would improve our
capacity to render arbitrarily complex formulae, however, today we can
render a lot of math using available CSS 2.1 standard and current
browsers.

### CSS quality rendering ###
Some people expressed its doubts about the capabilities of CSS for
rendering mathematics and claimed that only a full presentational
markup -in the style of presentation MathML- would be good enough. As
said in the WHATWG list for next HTML5 one can provide MathML rendering
quality with CSS.

I have uploaded screenshots of some mathematical formulae rendered with
both presentational MathML 2.0 and HTML with CSS 2.1. What is MathML?
What is CSS rendering?

Of course, more complex formulae could be also rendered with CSS. For
example nested fractions are not limited to 2 levels.

In future postings I will present examples of formulae are correctly
rendered with CSS thecnique but fail with MathML native browser and,
also, examples of MathML formulae that in theory would be correctly
rendered but in practice -due to limitations on current implementations
and tools- are best rendered via CSS.
Source:
http://canonicalscience.blogspot.com...l-via-css.html
--

Juan R.

Center for CANONICAL |SCIENCE)

Jul 4 '06 #1
0 1410

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
16
by: Forrest | last post by:
A certain person thinks this format is acceptable: <ul> <a href="http://foo.com"><li>Foo</a> <a href="http://bar.com"><li>Bar</a> </ul> This happens to fail to display properly in KHTML,...
1
by: Juan R. | last post by:
Introduction I am developing the CanonML language (version 1.0) as a way to generate, store, and publish canonical science documents on the Internet. This language will be the basis for the next...
45
by: John Salerno | last post by:
Because of my 'novice-ness' in programming, I had always thought that C was replaced by C++ and wasn't really used anymore today. I know that's not the case at all now, but I'm still curious how...
0
by: Juan R. | last post by:
I have updated some basic requirements for a generic mathematical markup language for scientific requirements at the next link. ...
1
by: Juan R. | last post by:
The initial CanonMath program presented here http://canonicalscience.blogspot.com/2006/02/choosing-notationsyntax-for-canonmath.html] was discussed with several specialists, including father of...
56
by: Omar | last post by:
I'd love the perfect editor that would be: a) free b) enable me to drag and drop code snippets from a sort of browser into the code c) can run programs right from within d) can edit
1
by: zzz | last post by:
Hi all, I was recently reading the book "Write Great code by ryndall Hyde" in this in chapter 8 the following are given. given n input variables there are two raised to two raised to n unique...
2
by: Jeffrey Walton | last post by:
Hi All, BMP Strings are a subset of Universal Strings.The BMP string uses approximately 65,000 code points from Universal String encoding. BMP Strings: ISO/IEC 10646, 2-octet canonical form,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.