Jump to content


Photo
- - - - -

LaTeX update: Read this before posting!


  • Please log in to reply
105 replies to this topic

#35 InfiniteNow

InfiniteNow

    Suspended

  • Members
  • 9148 posts

Posted 18 July 2007 - 04:52 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...


No love when trying either option. As I mentioned, it looked good when it first was implemented. Now, red lines galore.

#36 Southtown

Southtown

    differentiating

  • Members
  • 1922 posts

Posted 20 July 2007 - 06:36 PM

Looks nice and tidy now! Any ideas for making it look clickable? Img border? :confused:

#37 InfiniteNow

InfiniteNow

    Suspended

  • Members
  • 9148 posts

Posted 20 July 2007 - 08:40 PM

No love when trying either option. As I mentioned, it looked good when it first was implemented. Now, red lines galore.


Dunno if it's local to my system or a change on your end, but looks good now. Our IT dept's been pushing some really ridiculous system tools and applications lately, so it was likely a temporary glitch with me.

Cheers. ;)

#38 Southtown

Southtown

    differentiating

  • Members
  • 1922 posts

Posted 21 July 2007 - 09:42 PM

Dunno if it's local to my system or a change on your end, but looks good now.

No, the red lines reappear after you click a link... a:links have border-bottom commented out and are not underlined, but a:active, a:hover, and a:visited still have underlines. I guess adding a math class to math and imath anchors might be trickier than we imagine.
.vb_postbit
{
	color: #000000;
        font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	text-decoration: none;
}
.vb_postbit a:link
{
	color: #4D528C;
        font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
/*        border-bottom: 1px dotted #FF0000;*/
	text-decoration: none;
}
.vb_postbit a:visited
{
	color: #4D528C;
        font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
        border-bottom: 1px dotted #FF0000;
	text-decoration: none;
}
.vb_postbit a:hover, .vb_postbit a:active
{
	color: #4D528C;
        font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
        border-bottom: 1px dotted #4D528C;
	text-decoration: none;
}


#39 Southtown

Southtown

    differentiating

  • Members
  • 1922 posts

Posted 22 July 2007 - 02:51 PM

scratch that, either i was wrong or it's fixed. as for visual cue, might i suggest a global img border for image links while keeping the underlines for text:
.vb_postbit a:link img
{
	border: 1px dotted #4D528C;
...as well as:
.vb_postbit a:link
{
	border-bottom: 1px dotted #FF0000;
that way you could keep the 'red/blue hover' effect while cleaning up ALL image links.

#40 Southtown

Southtown

    differentiating

  • Members
  • 1922 posts

Posted 22 July 2007 - 10:23 PM

Nevermind, I don't know what the hell I'm talking about. Image links look just fine elsewhere. I guess since latex is cgi, the browser doesn't treat it the same as other images? So I don't know how you would add cues to latex other than the 'strikethrough.' Change cgi to render the math as blue instead of black? Background color change on hover? Whatever.

#41 sanctus

sanctus

    Resident Diabolist

  • Administrators
  • 4200 posts

Posted 23 July 2007 - 02:12 AM

Andrew I posted it already in this thread
In post number 8, anyway it is the not so short guide to latex (readable in 139 minutes):
lshort

What I just said there and didn't link to is the following which explains how to use the ams package (very useful, just look at it if you don't know what it is):
ams and there download the amsmath userguide called amsldoc.pdf
ope this helps.

#42 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 26 July 2007 - 11:47 AM

South,

latex is cgi, math is no longer cgi, it actually renders in actual latex and gets dumped back into vb.... check math.... oh and on the color scheme, if you guys want i can change bg color and font color and all, tell me what you want to see, and i will change it (it cant be a one person thing either and should look good with the current theme)

post a poll, or just start one in here, i will do my best to accomodate your wishes...

#43 Southtown

Southtown

    differentiating

  • Members
  • 1922 posts

Posted 26 July 2007 - 05:59 PM

Cool! hehe I vote hypo-link-blue on the text. :) Same transparent background. Don't suppose you could script it to make two images and hover-flip 'em w/ javascript... even so there's still the finger curser. :D

#44 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 27 July 2007 - 02:19 PM

the font color, i will attempt to adjust (besides its gonna look good with my dark hypo theme as well) but the 2 images laying over thing is so not happening, you dont even know how its not happening.... its not happening so much that happening is not even in its vocabulary! :confused:

#45 Buffy

Buffy

    Resident Slayer

  • Administrators
  • 8945 posts

Posted 07 August 2007 - 03:07 PM

There appear to be some "packages" that were included in the old library that are not in the new one.

I ran into a problem using an obscure command called "\cancel" in this post that breaks in the new version:

Old: \cancel{mc^2} [math]\ \rightarrow \ \cancel{mc^2}[/math]

New: \cancel{mc^2} [math] \ \rightarrow \ [/math] [math]\cancel{mc^2}[/math]

It does not appear that you can use the \usepackage{packagename} command to fix this either (the old version seems to have the packages already so you don't have to do anything).
  • Is there a way to do the \cancel thing in the new one that I don't know about?
  • Are there other things we're missing because of this?
Canceled,
Buffy

#46 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 08 August 2007 - 01:26 PM

oops i didnt mean to edit your post, accident :(

ok working on it...
[math]a\hspace{-1ex}\slash[/math]

#47 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 08 August 2007 - 01:31 PM

Ok this is so cool, wilst looking for a solution i stumbled across this awesomeness:
you can superimpose letters over other letters using the \hspace{-1ex} where -1ex specifies how many symbols back you want to go:

[math]teost\hspace{-3ex}\slash[/math]
[math]\subset\hspace{-3ex}\supset \supset \bigcup\hspace{-2ex}\bigcap[/math]

#48 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 08 August 2007 - 01:53 PM

[math]
\unitlength 1mm
\begin{picture}(87.5,85)(0,0)
\qbezier(46.88,14.38)(71.88,59.38)(71.88,59.38)
\qbezier(60,15)(85,60)(85,60)
\qbezier(37.5,20)(87.5,45)(87.5,45)
\qbezier(60,60)(85,15)(85,15)
\qbezier(60,6)(60,85)(60,85)
\qbezier(72.5,37.5)(60.12,37.5)(60.12,37.5)

\put(61.25,22.5){\makebox(0,0)[cc]{$\theta$}}
\put(65.62,40.62){\makebox(0,0)[cc]{5}}
\put(64.38,31.88){\makebox(0,0)[cc]{L}}
\put(64.38,31.88){\makebox(0,0)[cc]{}}
\put(57.5,13.75){\makebox(0,0)[cc]{A}}
\put(76.25,38.12){\makebox(0,0)[cc]{B}}
\put(55.62,38.75){\makebox(0,0)[cc]{D}}

\end{picture}
[/math]
lol i gotta increase max length a little :)

[math]
\cancel{mc^2}
[/math]

i gotta add cancel to list of packages the prog uses.... while i am there might as well change the max length to a a little more then it is!

working on enabling vectors :)

#49 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 08 August 2007 - 02:48 PM

solved Buffy :(

#50 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 08 August 2007 - 03:03 PM

[math]
\setlength{\unitlength}{1mm}
\begin{picture}(60, 40)
{\put(30, 20){\vector(1, 0){30}}}
{\put(30, 20){\vector(4, 1){20}}}
{\put(30, 20){\vector(3, 1){25}}}
{\put(30, 20){\vector(2, 1){30}}}
{\put(30, 20){\vector(1, 2){10}}}
\thicklines
\put(30, 20){\vector(-4, 1){30}}
\put(30, 20){\vector(-1, 4){5}}
\thinlines
\put(30, 20){\vector(-1, -1){5}}
\put(30, 20){\vector(-1, -4){5}}
\end{picture}
[/math]

ok, good news first we can now use the graphics package now, its really cool :)

working on color people... just be patient

[math]\color{red}test[/math]

wait wait maybe its working
[math]\setlength{\unitlength}{1mm}
\begin{picture}(60, 40)
{\color{red}\put(30, 20){\vector(1, 0){30}}}
{\color{white}\put(30, 20){\vector(4, 1){20}}}
{\color{yellow}\put(30, 20){\vector(3, 1){25}}}
{\color{green}\put(30, 20){\vector(2, 1){30}}}
{\color{blue}\put(30, 20){\vector(1, 2){10}}}
\thicklines
\put(30, 20){\vector(-4, 1){30}}
\put(30, 20){\vector(-1, 4){5}}
\thinlines
\put(30, 20){\vector(-1, -1){5}}
\put(30, 20){\vector(-1, -4){5}}
\end{picture}[/math]

haha.... ok now how to use color, can someone please compile a list of colors with names for me in such format:
\definecolor{name}{model}{spec}

latex supports rgb, cmyk, hsv and hls color models.

already defined: white, yellow red, green, blue, magenta, cyan

example:
\definecolor{red}{rgb}{1, 0, 0}

#51 alexander

alexander

    Dedicated Smart-ass

  • Members
  • 5722 posts

Posted 08 August 2007 - 03:04 PM

opens up a whole new world of possibilities doesn't this... :(