Index talk:A Treatise on Electricity and Magnetism - Volume 1.djvu

From Wikisource
Latest comment: 16 years ago by Sfan00 IMG in topic Section titles
Jump to navigation Jump to search

Tex and templates tricks

[edit]

Take a look at this code:

 {{c/s}}<math>a,b,c</math> and <math>a',b',c'</math>{{c/e}}
and

To force png rendering, add \,\! into the formulas:

 {{c/s}}<math>a,b,c\,\!</math> and <math>a',b',c'\,\!</math>{{c/e}}
and

But... how to space a little more formulas and text? If you add text spaces or \quad spacing at the beginning or at the end of the formula it will not run:


 {{c/s}}<math>a,b,c\,\!\quad</math>       and      <math>\quad a',b',c'\,\!</math>{{c/e}}
and

But... this trick runs ;-)

and

Take a look to the code. Obvioulsy space is only a "filler string of any desired lenght".... you are simply writing white letters over a white background --Alex brollo 11:01, 6 July 2008 (UTC)Reply

Multiple intergrals and fine spacing

[edit]

Take a look here:

Then here:

Isn't the second one better? Take a look to the code: it uses \iint and \iiint TeX tags for multiple integrals and \, code for fine spacing. --Alex brollo 15:23, 6 July 2008 (UTC)Reply

Other TeX tricks

[edit]
  • Character & can be obtained with <math>\And</math>: . I added the documentation into Help:Mathematics_and_Wikisource:_fractions_and_functions, it was lacking.
  • Trigonometric functions should be written so:<math>\cos \alpha</math>, with this result: . This code gives a wrong result: <math>cos \alpha</math>:
  • Spacing with TeX code \, gives a good result but forces png conversion of the formula: this code, <math>dx\,dy\,dz</math> gives this result:

complement?

[edit]

On Page:A Treatise on Electricity and Magnetism - Volume 1.djvu/57, it was using instead of . I presume this is representing a w:complement of some sort. I've not sure what it the most appropriate way of transcribing this. John Vandenberg (chat) 10:29, 23 July 2008 (UTC)Reply

Section titles

[edit]

I note in places these are NOT appearing? How do I fix this? Sfan00 IMG 12:26, 12 August 2008 (UTC)Reply