Hypography Science Forums: LaTeX update: Read this before posting! - Hypography Science Forums

Jump to content

Welcome! You are currently viewing the Hypography Science Forum as a guest. In order to participate in our science discussions, you should register now! Registration is free and you can use your Facebook login if you like.
  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

LaTeX update: Read this before posting! Rate Topic: -----

#1 User is offline   alexander 

  • Dedicated Smart-ass
  • View blog
  • View gallery
  • Group: Members
  • Posts: 5,656
  • Joined: 04-May 04

Posted 04 July 2007 - 05:46 PM

Ok, so today i have finished installing a new latex system, one just like on scienceforums.net, so there are changes.

First of all credits:
Latex people for making this beauty happen
Dave at xyloid.org for his vblatex package
The makers of mhchem package
Tormod for being the most unappreciated person who created and manages this chaos every day, also for being a great man and a father :)
Tormod's family for being the people who appreciate what he does more then anyone else in the world (or at least i hope they do)
Mercedes Bebzene for being annoying ;)
Jay-qu for being supportive
Buffy for being really cool
Irish for being the coolest
Users of Hypography for using Hypography
Linus Torvalds
Richard Stallaman for defining open-source and freedom
The open-source community
Steve Jobs
The guy that took the picture that i use as my background
My friends and family (especially here at Hypography)
Aspectradio for providing the music when i wanted to smash something because something didn't work
Microsoft for pissing me off so much and making me switch to open-source
AT&T for being a horrible internet provider, as well as for spying on me for the NSA (don't know what I'd do without you guys)
His majesty, the constitutional monarch of The Kingdom of Norway; Harald V
Her majesty the Queen of the United Kingdom of Great Britain
and Northern Ireland; Queen Elisabeth II
The Supreme Pontiff of the Vatican City
(excuse me if i have left anyone out, just don't have enough time)

Ok so what is new with this setup?

Well it uses latex rendering engine itself to convert the tex code to png images, its slower, but it yields better results, produces a better quality pictures and supports plugins (also has better fonts and is more configurable)

Note: the old rendering engine is still up and running, i want people to use the new one though, it is better trust me!

Old Vs. New:

First of all the new version does waaay better arrays, take a look at this code
left[
  begin{array}{ c c }
     1 & 2 
     3 & 4
  end{array} right]
perfectly legitimate array code, but in our old package it renders as
Old:
\left[  \begin{array}{ c c }     1 & 2 \\     3 & 4  \end{array} \right]

while the new one does a better job and renders it as such:
New:
\left[  \begin{array}{ c c }     1 & 2 \\     3 & 4  \end{array} \right]

here is an example of how much cleaner the rendering is in this version:
old:
\frac{\frac{1}{x}+\frac{1}{y}}{y-z}
new:
\frac{\frac{1}{x}+\frac{1}{y}}{y-z}
old:
\Delta =\sum_{i=1}^N w_i (x_i - \bar{x})^2
new:
\Delta =\sum_{i=1}^N w_i (x_i - \bar{x})^2

in addition to the new render engine, a new mode is now available for displaying chemical equations

lets try to display a simple chemical formula (not a chemist, merely a hypothetical formula):
frac{1}{2}^{277}_{90}Th^+


\frac{1}{2}^{277}_{90}Th^+

looks clumsy and hard to understand, does the job, but kinda hard to write

now the new method

[FONT=monospace]1/2^{277}_{90}Th+[/FONT]
{1/2^{277}_{90}Th+}

does this not look better?

or another one H2O2

H_{2}O_{2}

H_{2}O_{2}

vs

H2O2

{H2O2}

Also, if you are typing a response, instead of taking the whole function and having to rewrite it from scratch (in a reverse engineering fashion), you can click the image and voila, it shows you exactly what the person typed in, correct it and repost it! (saves lots of time)

ok, so now how do you use this new rendering engine, and as you guessed latex tags stay for the old engine (at least until i make sure that everything written for the old engine will render in the new one:
there are 3 new tags:

[math][/math] - renders mathematical equations - renders inline math - renders chemical equations

notes, for ce, you need a set of curly brackets, otherwise the equation will be taken as math or something like that...

more about all that later, please post any problems you may find here or pm me directly about them

also feel free to try the new engine out here, its sort of still in testing (there are some minor differences between mimetex and this package)

there is a 400 character limit on the math, 200 on imath and 200 on ce, if that becomes an issue i can alsways increase the limit, but as i said, any comments or problems you may find, please post here or PM me so they get solved...

enjoy

Play around with it a little, see what you can make of it yourself :)

oh so i dont forget this is really cool, an online wyswig latex editor:
LaTeX Equation Editor

its not a bad thing to play around with and the code it produces should be compliant with our engine

More references:
Latex Math Symbols

~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#2 User is offline   Southtown 

  • differentiating
  • View blog
  • Group: Members
  • Posts: 1,913
  • Joined: 25-June 05
  • Locationhere AND there

Posted 04 July 2007 - 08:14 PM

Dude the red link lines have got to go. ;)

But the 'click me for source' feature is frickin awesome!

And yeah also renders way better.
Life is a wave, which in no two consecutive moments of its existence is composed of the same particles. -- John Tyndall
0

#3 User is offline   Tormod 

  • Hypographer
  • View blog
  • View gallery
  • Group: Members
  • Posts: 14,103
  • Joined: 11-February 02
  • LocationOslo, Norway

Posted 04 July 2007 - 10:43 PM

Well done, Alex.
:) Your Friendly Neighborhood Administrator - Please help us by reporting bugs and problems via our Bug Tracker!

Please try out our new Creativity Forums!

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
0

#4 User is offline   sanctus 

  • Resident Diabolist
  • View blog
  • Group: Administrators
  • Posts: 3,502
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 04 July 2007 - 11:30 PM

Wow, but what is imath (or inline math)? Doubt very much, it is the same as in C++...
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#5 User is offline   Mercedes Benzene 

  • Student
  • View blog
  • Group: Members
  • Posts: 2,826
  • Joined: 11-May 06

Posted 05 July 2007 - 02:07 AM

Southtown said:

Dude the red link lines have got to go.

Why? They don't seem that bad to me. :D

Anyway, thanks so much Alexander! This should make things a whole lot easier.

Ohh. PS: No one actually told me I was being annoying. Or that I was being acknowledged, for that matter. So I should be immune from all such accusations. :hihi:
"No power in the 'verse can stop me."


Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.

Join our Facebook group
0

#6 User is offline   alexander 

  • Dedicated Smart-ass
  • View blog
  • View gallery
  • Group: Members
  • Posts: 5,656
  • Joined: 04-May 04

Posted 07 July 2007 - 12:24 PM

lol Mercedes, i was just joking around you know, just like when i ackgnowledged the king of Norway, i mean come on right? :)

besides you were talking about pming tormod a while back, and T told me you pmed him a few times, and he wanted me to try this to satisfy your (as well as other people's) needs and wishes, so in turn, you are the one responsible for this :photos:

anyways, you guys think i should make it so when someone uses "latex" tags it will in fine print say that the method is depricated and should not be used, or should i try to convert everything to the new rendering engine, so in turn latex will = math

and sanctus, inline math = mathematical material to be typeset inline

btw working on alignment now :sweat:
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#7 User is offline   sanctus 

  • Resident Diabolist
  • View blog
  • Group: Administrators
  • Posts: 3,502
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 08 July 2007 - 03:18 AM

Sorry, I still don't get it...
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#8 User is offline   Qfwfq 

  • Exhausted Gondolier
  • View blog
  • Group: Members
  • Posts: 6,239
  • Joined: 18-February 05
  • LocationTrying to float on an ocean of hydrogen.

Posted 09 July 2007 - 04:46 AM

math is

math

imath is imath in the same line
Inutil insegnà al mus, si piart timp, in plui si infastidìs la bestie.

Hypography Forum PITA......... er, Administrator. :hihi:
0

#9 User is offline   sanctus 

  • Resident Diabolist
  • View blog
  • Group: Administrators
  • Posts: 3,502
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 09 July 2007 - 11:58 PM

Ok, thanks Qfwfq, I finally got it
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#10 User is offline   Buffy 

  • Resident Slayer
  • Group: Administrators
  • Posts: 7,737
  • Joined: 28-January 05

Posted 10 July 2007 - 06:46 AM

I'm going to agree with South here: while the utility of the red links is there (for those of you who haven't noticed, you can roll over them and see the latex code), but they're *really* annoying to look at. Even getting the color to change to blue or something less obtrusive would be a big help...

My eyes hurt,
Buffy
"If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!"
________________________________________________________________-- Tom Lehrer

"You know, I promised my mom and dad I wouldn't do anything stupid after I got out of college....Sorry, Mom!"


Forum Administrator
Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here.
0

#11 User is offline   CraigD 

  • Creating
  • View blog
  • View gallery
  • Group: Administrators
  • Posts: 6,945
  • Joined: 23-May 05

Posted 10 July 2007 - 10:54 AM

My gratitude and praise to Alexander for the new and improved LaTeX features. The new math rendering is much nicer than the old latex, fitting into mixed text much more esthetically. :)


I believe I’ve found a problem, though:


h = \sqrt{r^2+d^2} â r


h = \sqrt{r^2+d^2} â r


What happened to the minus sign in the math version of the above?


PS: I too wish that the red underlines weren’t there – being able to rollover and click to get the source would work as well without them, and the onscreen or printed page be better looking.
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies :)
0

#12 User is offline   alexander 

  • Dedicated Smart-ass
  • View blog
  • View gallery
  • Group: Members
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 July 2007 - 03:27 PM

ok, i'll look into the whole underlining issue (it looks like vb is generating it, i may be mistaken though)

Oh and as to the problem:

h = \sqrt{r^2+d^2} - r
lol no problem, wrong symbol

This post has been edited by Tormod: 10 September 2010 - 05:09 AM
Reason for edit: Testing adding backslashes again

~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#13 User is offline   alexander 

  • Dedicated Smart-ass
  • View blog
  • View gallery
  • Group: Members
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 July 2007 - 03:29 PM

also hence why you see [?][?][?] in the other render

you used a

and i used a
-
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#14 User is offline   alexander 

  • Dedicated Smart-ass
  • View blog
  • View gallery
  • Group: Members
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 July 2007 - 03:31 PM

nope 100% sure its a hypo css thing, look at all the links, they are all underlined.... I can only change that if Mr.T gives me permission to... (or does that himself *wink, wink Tormod*)
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#15 User is offline   alexander 

  • Dedicated Smart-ass
  • View blog
  • View gallery
  • Group: Members
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 July 2007 - 03:31 PM

example google
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

Share this topic:


  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


View our Science Quizzes | Science links. About the Hypography Science Forums

Friends

We recommend these stellar sites:

PC Help Forum

ATL - Atlanta Computer Repair

Health Sphere

Sponsors

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

When we launched in May 2000, we wanted to create a site to share science-related content of all kinds on the web. As time passed, our site turned into a pure science forum with lots of cool people.

So we kept the name Hypography and the cool science forum community - and aim to be a friendly place for discussion of science topics of all kinds.