Jump to content
Science Forums

LaTeX update: Read this before posting!


Recommended Posts

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. ;)

Link to comment
Share on other sites

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;
}

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

  • 2 weeks later...

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).

  1. Is there a way to do the \cancel thing in the new one that I don't know about?
  2. Are there other things we're missing because of this?

Canceled,

Buffy

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

[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 :)

Link to comment
Share on other sites

[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}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...