Help:Formatting: Difference between revisions

Content added Content deleted
(A good start to a wiki tips and tricks page.)
 
(→‎Useful Tips, Characters, and Codes: How to do it on Linux and with HTML entities)
Line 48: Line 48:


*To add a newline. simply insert two returns or add a <nowiki><br></nowiki>. (the HTML way will be a slightly smaller line break)
*To add a newline. simply insert two returns or add a <nowiki><br></nowiki>. (the HTML way will be a slightly smaller line break)
*To add certain math characters (for those with no LaTeX experience), hold "alt" and press the following codes on your keypad (no padding with zeros):
*To add certain math characters (for those with no LaTeX experience) ''with Windows'', hold "Alt" and press the following codes on your keypad (no padding with zeros):
:*26 → (Implies)
:*26 → (Implies)
:*170 ¬ (Not)
:*170 ¬ (Not)
Line 59: Line 59:
:*251 √ (Square root. Will not extend across entire formula...parentheses suggested)
:*251 √ (Square root. Will not extend across entire formula...parentheses suggested)
:*253 ² (Squared)
:*253 ² (Squared)
: On Linux with German keyboard layout, the following key combinations will usually work:
:* AltGR + U: →
:* AltGr + ^: ¬
:* AltGr + Shift + Q: Ω
:* AltGr + k: ĸ
:* AltGr + m: µ
:* AltGr + .: ·
:* AltGr + ;: ×
:* AltGr + :: ÷
:* AltGr + 1 through 3: ¹²³
:* AltGr + 5: ½
:* AltGr + 4: ¼
:* AltGr + Shift + 2: ⅛
:* AltGr + Shift + 5: ⅜
:* AltGr + Shift + 6: ⅝
:* AltGr + Shift + 7: ⅞
:* AltGr + Shift + 9: ±
: In any case, independent of operating system and keyboard layout, you can use the HTML entities:
:* &amp;rarr; &rarr;
:* &amp;not; &not;
:* &amp;alpha;&amp;beta;&amp;gamma;&amp;delta;&amp;epsilon;&amp;zeta;&amp;eta;&amp;theta; &alpha;&beta;&gamma;&delta;&epsilon;&zeta;&eta;&theta;
:* &amp;iota;&amp;kappa;&amp;lambda;&amp;mu;&amp;nu;&amp;xi;&amp;omicron;&amp;pi; &iota;&kappa;&lambda;&mu;&nu;&xi;&omicron;&pi;
:* &amp;rho;&amp;sigma;&amp;tau;&amp;upsilon;&amp;chi;&amp;phi;&amp;psi;&amp;omega; &rho;&sigma;&tau;&upsilon;&chi;&phi;&psi;&omega;
:* &amp;Alpha;&amp;Beta;&amp;Gamma;&amp;Delta;&amp;Epsilon;&amp;Zeta;&amp;Eta;&amp;Theta; &Alpha;&Beta;&Gamma;&Delta;&Epsilon;&Zeta;&Eta;&Theta;
:* &amp;Iota;&amp;Kappa;&amp;Lambda;&amp;Mu;&amp;Nu;&amp;Xi;&amp;Omicron;&amp;Pi; &Iota;&Kappa;&Lambda;&Mu;&Nu;&Xi;&Omicron;&Pi;
:* &amp;Rho;&amp;Sigma;&amp;Tau;&amp;Upsilon;&amp;Chi;&amp;Phi;&amp;Psi;&amp;Omega; &Rho;&Sigma;&Tau;&Upsilon;&Chi;&Phi;&Psi;&Omega;
:* &amp;infin; &infin;
:* &amp;plusmn; &plusmn;
:* &amp;le;&amp;ge;&amp;ne;&amp;asymp; &le;&ge;&ne;&asymp;
:* &amp;middot;&amp;times;&amp;divide; &middot;&times;&divide;
:* &amp;deg; &deg;
:* &amp;radic; &radic;
:* &amp;sup1;&amp;sup2;&amp;sup3; &sup1;&sup2;&sup3;
*To add superscripted text, put <nowiki><sup></sup></nowiki> around it. <nowiki><sup>example</sup></nowiki> shows <sup>example</sup>.
*To add superscripted text, put <nowiki><sup></sup></nowiki> around it. <nowiki><sup>example</sup></nowiki> shows <sup>example</sup>.
*To add subscripted text, put <nowiki><sub></sub></nowiki> around it. <nowiki><sub>example</sub></nowiki> shows <sub>example</sub>.
*To add subscripted text, put <nowiki><sub></sub></nowiki> around it. <nowiki><sub>example</sub></nowiki> shows <sub>example</sub>.