Jump to content

Wikipedia talk:TeX markup

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Tarquin (talk | contribs) at 23:14, 8 January 2003 (integrals over curves). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

I don't know if this is the right page to bring this up, but is there a way the <math>-environments could have support for bold vectors?

Apparently you have to introduce a command to do this, such as

 \renewcommand{\v}[1]{\mathbf{#1}}

(taken from http://www.maths.abdn.ac.uk/~jrp/latex_course/firststeps/page5.htm ), but I can't get this to work in an individual formula. Perhaps a similar command should be globally defined? --Martin

Note you can just do \mathbf{} everywhere you need it: e.g. \mathbf{F} = q \mathbf{v} \times \mathbf{B} : . Kind of a pain, but it works. I suspects renewcommand is disabled to prevent some kind of nasty security issue. -- DrBob




A question: Which TeX software generates the little PNG images? -- Hirzel

The system was written by user:Taw; here's my understanding of it: the formula is first parsed and validated by an Ocaml program called texvc. If texvc decides that the formula should be rendered by TeX, the TeX interpreter will be called (it uses the amstex or amslatex package) and produces a dvi file, which dvips converts to postscript. The program ghostscript then converts it into png. Maybe imagemagick is also involved as the last step, I don't know. AxelBoldt 22:02 Jan 7, 2003 (UTC)

Will these conversion scripts also be included in the Wikimedia software download? I think this kind of functionality makes wikis a lot more attractive to scientists (who are used do doing their formulas with TEX). I suspect a lot of people (and that includes myself) would like to set up intranet sites with this TEX-aware wiki... --Martin

how about we get the background color of pngs to match wikipedia's -- user_talk:hfastedge


integrals over curves

doesn't look quite right -- the C should be below the integral sign rather than look like a footnote. Is this possible? -- Tarquin 23:14 Jan 8, 2003 (UTC)