Jump to content


Photo
- - - - -

LaTeX update: Read this before posting!


  • Please log in to reply
105 replies to this topic

#18 Buffy

Buffy

    Resident Slayer

  • Administrators
  • 8945 posts

Posted 12 July 2007 - 09:39 AM

Actually then, its a question of whether or not it should have an <a> tag around it at all.

Any way to turn that off alex?

href= :umno:
Buffy

#19 Tormod

Tormod

    Hypographer

  • Members
  • 14353 posts

Posted 12 July 2007 - 10:27 AM

Actually then, its a question of whether or not it should have an <a> tag around it at all.

Any way to turn that off alex?

href= :umno:
Buffy


Just adding a class="math" to the a href would solve this - it's easy to add a new class to the stylesheet.

#20 Michaelangelica

Michaelangelica

    Creating

  • Members
  • 7797 posts

Posted 12 July 2007 - 02:59 PM

So, I thought this was going to be a thread on sex (latex) but it's just a thread on sums?:o
  • Mercedes Benzene likes this

#21 DougF

DougF

    Hypo Contributer

  • Members
  • 1229 posts

Posted 12 July 2007 - 03:22 PM

Michaelangelica
So, I thought this was going to be a thread on sex (latex) but it's just a thread on sums?



:o :shrug: :tree: :turtle: :idea: :clue: :eek: :eek: :cup: ;) ;)

#22 andrewgray

andrewgray

    Questioning

  • Members
  • 201 posts

Posted 16 July 2007 - 08:46 PM

Here is a [math ] error that I found. Here is [math ]:

[math]\bar {\frac{1}{2} mv^2} = \frac {3}{2}kT [/math]

[math ] does not put the bar over the whole ½mv² like [latex ] does:

[math]\bar {\frac{1}{2} mv^2} = \frac {3}{2}kT [/math]


Andrew A. Gray

#23 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 17 July 2007 - 09:58 AM

Actually then, its a question of whether or not it should have an <a> tag around it at all.

yes, yes we should, how else are you planning to make the whole thing with showing the latex line for the equation work?


i'll look into it if T gives me permission to.... transfered to another department now, have access to scienceforums and time (sometimes) to tinker with it :lol:

#24 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 17 July 2007 - 10:03 AM

you mean like this:

[math]
\overline{\frac{1}{2} mv^2} = \frac {3}{2}kT
[/math]

its because default font for the math tag is smaller then for latex tag, so it doesn't do it with bar, but if you are a little more creative and look at this page:
Latex Math Symbols

you can see that using overline would achieve similar results

\bar in real latex is actually for overlining a single character, mimetex (what runs the latex tag) in order to save space and time needed for coding in the 2 different tags, actually made them into one...

#25 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 17 July 2007 - 10:29 AM

ok i took out the line that will highlight those links like that for you, um, the line in there for a:hover is still in there, so when your cursor is over the image, the image will still highlight (figured if you have 2 or 3 math images in line, this would at least provide you with the ability to see where one ends and another one picks up :lol:

tell me if there is anything else you guys need :)

#26 Buffy

Buffy

    Resident Slayer

  • Administrators
  • 8945 posts

Posted 17 July 2007 - 10:31 AM

Oooooohhhh, that's *much* nicer! Thanks alex!

Hovering under the honey tree, :lol:
Buffy

#27 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 17 July 2007 - 11:05 AM

you are welcome buffy :lol:

as i said, i have more time now, so if you guys have issues, please post, i will solve them, or at least describe to you why they can not be solved....

#28 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 17 July 2007 - 11:10 AM

the other thing with the bar issue is the you were trying to put it over mv^2 but had bar over the entier 1/2 mv^2 (or so i think anyways)
bar is a small bar
overline is a continuous one

[math]
\frac{1}{2} \bar{mv^2} = \frac {3}{2}kT
[/math]

[math]
\frac{1}{2}\overline{mv^2}=\frac{3}{2}kT
[/math]

or overline the whole thing like i did before :)

#29 andrewgray

andrewgray

    Questioning

  • Members
  • 201 posts

Posted 17 July 2007 - 04:17 PM

Thanx for the tips,

I suggest that you put all your latex/mimetex/math/tex references together in the beginning of this sticky so that we can get some dang references when needed. There always seems to be something that you cannot do in tex/math that you need to look up. And guess what? The references are always incomplete, and never seem to have what you need.

Is there a reference that covers everything?

Andrew A. Gray

#30 InfiniteNow

InfiniteNow

    Suspended

  • Members
  • 9148 posts

Posted 17 July 2007 - 07:06 PM

you are welcome buffy :rant_red2:

as i said, i have more time now, so if you guys have issues, please post, i will solve them, or at least describe to you why they can not be solved....


The red line below the math is back. :rant_red2:

#31 Qfwfq

Qfwfq

    Exhausted Gondolier

  • Members
  • 6241 posts

Posted 18 July 2007 - 03:19 AM

The red line below the math is back. :rolleyes2:

I get the new, cool thing. Sure you didn't see a page from some cache?

#32 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 18 July 2007 - 09:25 AM

yeah, i dont see it at all either (otherwise how would i have declared a fix).... give it some time your page could be cached, if not, i will have to ask you to do some things (more or less advanced web stuff), just hope that you have firefox :phones:

#33 InfiniteNow

InfiniteNow

    Suspended

  • Members
  • 9148 posts

Posted 18 July 2007 - 10:23 AM

yeah, i dont see it at all either (otherwise how would i have declared a fix).... give it some time your page could be cached, if not, i will have to ask you to do some things (more or less advanced web stuff), just hope that you have firefox :shrug:


It was gone when you first posted the update that it'd been fixed. I liked it, and thought, "Cool!"

Then yesterday, it was back. See screenshot. I'm on a corporate lappy. Firefox install not an option. IE, and IE only. I can deal if the fix won't work with M$, but it seems rather peculiar nonetheless. Cheers. :phones:


[ATTACH]1621[/ATTACH]

#34 Buffy

Buffy

    Resident Slayer

  • Administrators
  • 8945 posts

Posted 18 July 2007 - 03:26 PM

You may need to "hard refresh" (hold down the Ctrl key, right-click, and click "Refresh") or even clear your cache in order to get the updated css file onto your machine...

It was in my cache a minute ago,
Buffy