(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
=How to create different fonts=
 
Look at the source of this page to learn how to create these fonts and special effects.
 
Look at the source of this page to learn how to create these fonts and special effects.
 
*'''This is bold font'''
 
*'''This is bold font'''
 
*<span style="color:red"> This is red font. </span>
 
*<span style="color:red"> This is red font. </span>
*<SPAN STYLE="text-decoration: blink;"> This is blinking font. </span>
+
*''This is italic font''
 +
* <SPAN STYLE="text-decoration: line-through;"> This is crossed-out text.</span>
 +
*<SPAN STYLE="text-decoration: blink;"> This is blinking font. </span> (You won't see it blink with Safari: use firefox 3 instead.)
 
*<div style="font-family: Verdana, sans-serif; font-size: 12px; text-align: justify; width: 70%; margin: auto; border: 1px solid #aaa; padding: 3em;"> This is small text in a box. </div>
 
*<div style="font-family: Verdana, sans-serif; font-size: 12px; text-align: justify; width: 70%; margin: auto; border: 1px solid #aaa; padding: 3em;"> This is small text in a box. </div>
 +
*What follows is text in a pre-formatted area:<pre> Everything I write here, including code and symbols, is going to be displayed "as is", e.g. %$#*&^\<><\span>.</pre>
 +
*Now I am going to write pre-formatted text in line with media wiki code: <nowiki> &blah\\blih&<math> </nowiki>
 +
* When writing equations, you can either align them like this (inline) <math class="inline">2\pi </math> or like that (standard) <math>2\pi</math>.
 +
*You can write in color within equations like this: <math>x+y+{\color{red}w}+{\color{blue} z}</math>.
 +
* Using color in equations allows you to make check marks and other corrections in other people's equations, such as this:
 +
 +
::<math>
 +
\begin{align}
 +
X(z) &= \sum_{n=-\infty}^\infty  x[n]z^{-n} \text{ (by definition of the z-transform)}, {\color{OliveGreen}\surd}\\
 +
&= \sum_{n=-\infty}^\infty a^n(u[n-2]+u[n])z^{{\color{red}-}n}.  \\
 +
\end{align}
 +
</math>
 +
 +
----
 +
[[Help:Contents|Back to Help Page]]

Latest revision as of 16:01, 14 December 2010

How to create different fonts

Look at the source of this page to learn how to create these fonts and special effects.

  • This is bold font
  • This is red font.
  • This is italic font
  • This is crossed-out text.
  • This is blinking font. (You won't see it blink with Safari: use firefox 3 instead.)
  • This is small text in a box.
  • What follows is text in a pre-formatted area:
     Everything I write here, including code and symbols, is going to be displayed "as is", e.g. %$#*&^\<><\span>.
  • Now I am going to write pre-formatted text in line with media wiki code: &blah\\blih&<math>
  • When writing equations, you can either align them like this (inline) $ 2\pi $ or like that (standard) $ 2\pi $.
  • You can write in color within equations like this: $ x+y+{\color{red}w}+{\color{blue} z} $.
  • Using color in equations allows you to make check marks and other corrections in other people's equations, such as this:
$ \begin{align} X(z) &= \sum_{n=-\infty}^\infty x[n]z^{-n} \text{ (by definition of the z-transform)}, {\color{OliveGreen}\surd}\\ &= \sum_{n=-\infty}^\infty a^n(u[n-2]+u[n])z^{{\color{red}-}n}. \\ \end{align} $

Back to Help Page

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett