home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Utilities / Programming / ObiWan 5.2 / Databases / TeX < prev    next >
Encoding:
Text File  |  1997-05-29  |  15.2 KB  |  577 lines  |  [TEXT/R*ch]

  1. =|
  2. A  memory guide to TeX [1/3]
  3. A database for ObiWan, a general reference system for the MacOS.
  4.  
  5. This is a database for Donald E. Knuth's TeX typesetting system.  This
  6. is intended only as a memory guide.  For a more complete explanation of
  7. TeX, see "The TeXbook" by Knuth.  (ISBN 0-201-13448-9)|
  8. A  memory guide to TeX [2/3]
  9. TeX is a typesetting language developed in the 70's by Donald E. Knuth.
  10. If you do any kind of scientific writing (and even if you don't) TeX
  11. creates a nice document for you.  (I hardly use any word processor these
  12. days.)|
  13. A  memory guide to TeX [3/3]
  14. The CTAN (Comprehensive TeX Archive Network) is mirrored everywhere.  For
  15. beginners,
  16.     <http://www.ora.com/homepages/CTAN-Web/>
  17.  
  18. Since you're using ObiWan, I would bet you want Mac implementations.  They
  19. are located in systems/mac/.  CMacTeX, DirectTeX, OzTeX, Textures are some
  20. popular ones.
  21.  
  22. Also, see
  23.     <http://www.esm.psu.edu/mac-tex/>|
  24. A long time ago in a galaxy far far away… TeX [1/2]
  25. ObiWan is a general purpose popup help system. ObiWan ships with a
  26. database called the "Force" which describes the Macintosh operating
  27. system APIs. The ObiWan distribution also contains a number of other
  28. databases, such as a word list and help for the programming languages
  29. Perl, Java and HTML.  [press cmd-. to view next page]|
  30. A long time ago in a galaxy far far away… TeX [2/2]
  31. You can also build your own databases using the Master Yoda application.
  32. Double click any of the following words for more help on that topic:
  33.     Buttons, HotKeys, OtherDatabases,
  34.     Copyright, MasterYoda, MissedClicks|
  35. Accents
  36.  
  37. \'    acute: á            \v    hácek
  38. \b    bar-under            \`    grave: à
  39. \u    breve            \H    long Hungarian accent
  40. \c    cedilla: ç            \=    macron (bar)
  41. \^    circumflex (hat)    \t    tie-after accent
  42. \.    dot (on top)        \~    tilde: ã
  43. \d    dot-under            \"    umlaut (or dieresis): ä
  44.  
  45. See Ligatures, MathAccents.|
  46. AMS-TeX
  47.  
  48. A popular macro package based on TeX developed and supported by
  49. American Mathematical Society.
  50.  
  51. <http://www.ams.org/>|
  52. Arrows (MathCharacters)
  53.  
  54. \leftarrow        \leftharpoonup        \Longleftrightarrow
  55.     \Downarrow
  56. \Leftarrow        \leftharpoondown    \longmapsto
  57.     \updownarrow
  58. \rightarrow        \rightleftharpoons    \hookrightarrow    \Updownarrow
  59. \Rightarrow        \longleftarrow        \rightharpoonup    \nearrow
  60. \leftrightarrow    \Longleftarrow        \rightharpoondow    \searrow
  61. \Leftrightarrow    \longrightarrow    \uparrow            \swarrow
  62. \mapsto            \Longrightarrow    \Uparrow
  63.     \nwarrow
  64. \hookleftarrow        \longleftrightarrow    \downarrow|
  65. BinaryOperators (MathCharacters)
  66.  
  67. \pm        ±    \circ        \triangleleft        \oplus
  68. \mp            \bullet    *    \triangleright        \ominus
  69. \setminus        \div        ÷    \wr
  70.     \oslash
  71. \cdot        \cap            \bigcirc            \odot
  72. \times        \cup            \bigtriangleup        \dagger
  73. \ast        *    \uplus        \bigtriangledown    \ddagger
  74. \star        \sqcap        \vee                \amalg
  75. \diamond    ◊    \sqcup        \wedge|
  76. BlackboardBold
  77.  
  78. Plain TeX does not provide these.  (N for the integers, R for the reals,
  79. etc.)  Use AMS-TeX and/or other formats.|
  80. BreakableHorizontalSpaces
  81.  
  82. \         normal interword space (Note the space after the backslash)
  83. \enskip
  84. \quad
  85. \qquad
  86. \hskip <arbitrary dimensions>
  87.  
  88. See UnbreakableHorizontalSpaces.|
  89. Buttons at the top of the window are (from left to right):
  90.     Find Key, Search, Web Search, Previous Entry, Next Entry, Back
  91.     Type Word, Type Line, Type Procedure, Type Entry
  92.     Toggle Startup Sound, Toggle Invocation Sound [only on some versions]
  93.     About, Change Databases
  94. See HotKeys for a better description of these functions.|
  95. Capacity
  96.  
  97. TeX sets up some parameters internally when it typesets your source. In
  98. some extreme cases your source is too complicated to typeset within the
  99. limits of these parameters.  If this is the case, you need to increase
  100. parameter(s) and rebuild the format file.  See the documentation of your
  101. TeX implementation for instructions.|
  102. Caret
  103.  
  104. You thought ^ was caret.  Not so, says the dictionary.  A caret is a
  105. proofreading symbol used to indicate an insertion.
  106.  
  107. So, what is ^?  It is a Circumflex.  Kunth suggests `hat' for short.|
  108. Category
  109.  
  110. 0    escape character    8    subscript
  111. 1    beginning of group    9    ignored character
  112. 2    end of group        10    space
  113. 3    math shift            11    letter
  114. 4    alignment tab        12    other character
  115. 5    end of line            13    active character
  116. 6    parameter        14    comment character
  117. 7    superscript        15    invalid character|
  118. Centering
  119.  
  120. \hfill Stuff\hfill
  121.  
  122. \centerline{Stuff}|
  123. Cents
  124.  
  125. TeX doesn't have a character defined for ¢.  In The TeXbook, Knuth
  126. suggests "\hbox{\rm\rlap/c}".|
  127. Character
  128.  
  129. Octal: "####|
  130. Circumflex
  131.  
  132. The correct name for ^.  As an accent, you can use \^ in text mode
  133. and \hat in MathMode.|
  134. Closings (MathCharacters)
  135.  
  136. \rbrack    right (square) bracket
  137. \rbrace    right (curly) brace
  138. \rfloor    right floor
  139. \rangle    right angle bracket
  140. \rceil    right ceiling|
  141. CMacTeX
  142.  
  143. A shareware TeX for the Mac written by Tom Kiffe.
  144.  
  145. <http://www.math.tamu.edu/~tkiffe/cmactex.html>|
  146. Comments
  147.  
  148. Anything after "%" in the line (i.e., until and including the carriage
  149. return) is considered as comments and TeX will ignore it.|
  150. Copyright    1992-97 Peter N Lewis and Stairways Software
  151.             (The software and portion of this database)
  152.         1997 ASARI Hirotsugu
  153.             (This database)|
  154. Dashes
  155.  
  156. -    hyphen
  157. --    en-dash (used for number ranges)
  158. ---    em-dash ("dash")
  159. $-$    minus sign|
  160. Definitions
  161.  
  162. Ordinary:            \def<newcommand>{\mathord<character>}
  163. Operator:            \def<newcommand>{\mathop<character>}
  164. Binary operation:    \def<newcommand>{\mathbin<character>}
  165. Relation:            \def<newcommand>{\mathrel<character>}
  166. Opening:            \def<newcommand>{\mathop<character>}
  167. Closing:            \def<newcommand>{\mathclose<character>}
  168. Punctuation:        \def<newcommand>{\mathpunct<character>}
  169.  
  170. See MathClass.|
  171. Dimensions
  172.  
  173. pt    point                            dd
  174.     didot point (1157 dd = 1238 pt)
  175. pc    pica (1 pc = 12 pt)                cc    cicero (1
  176. cc = 12 dd)
  177. in    inch (1 in = 72.27 pt)            sp    spaced point (65536
  178. sp = 1 pt)
  179. bp    big point (72 bp = 1 in)
  180. cm    centimeter (2.54 cm = 1 in)        em    length of a \quad
  181. in the current font
  182. mm    millimeter (10 mm = 1 cm)        ex    length of x-height
  183. of the current font|
  184. DirectTeX
  185.  
  186. A shareware TeX for the Mac written by Wilfried Ricken.
  187.  
  188. <ftp://hadron.tp2.ruhr-uni-bochum.de/pub/directtex/>|
  189. DisplayMathMode
  190.  
  191. TeX mode used for building a mathematical formula to be placed on a line
  192. by itself, temporarily interrupting the current paragraph.
  193.  
  194. Opens and closes with double DollarSigns ($$).|
  195. DollarSign ($)
  196.  
  197. Opens and closes MathMode.  One dollar sign enters MathMode (inline
  198. formulae), and
  199. a doble-dollar sign enters the DisplayMathMode (display formulae).|
  200. EscapeSequences
  201.  
  202. $\backslash$    \
  203. $\{$            {
  204. $\}$            }
  205. \$            $
  206. \#            #
  207. \&            &
  208. \%            %
  209. \~{}            ~
  210. \^{}            ^
  211. \_{}            _
  212.  
  213. See Accents.|
  214. Fonts
  215.  
  216. \rm        Roman
  217. \bf        Boldface
  218. \it        Italics
  219. \sl        Slant
  220. \tt        Teletype
  221. \cal        Math scripts|
  222. Functions (MathMode)
  223.  
  224. \arccos    \det        \limsup    \tan
  225. \arcsin    \dim        \ln        \tanh
  226. \arctan    \exp        \log
  227. \arg        \gcd        \max
  228. \cos        \hom    \min
  229. \cosh    \inf        \Pr
  230. \cot        \ker        \sec
  231. \coth    \lg        \sin
  232. \csc        \lim        \sinh
  233. \deg        \liminf    \sup|
  234. GreekLetters (MathCharacters) [1/2]
  235.  
  236. You can produce upper case GreekLetters (which are sometimes identical
  237. to English) by starting the control sequence with an upper case.  Some
  238. have variants.
  239.  
  240. Note that there is no sequence for omicron, which is identical to 'o'.|
  241. GreekLetters (MathCharacters) [2/2]
  242.  
  243. \alpha                    \iota
  244.     \sigma    \varsigma
  245. \beta                    \kappa                \tau
  246. \gamma                    \lambda
  247.     \upsilon
  248. \delta                    \mu
  249.     \phi        \varphi
  250. \epsilon    \varepsilon        \nu
  251.     \chi
  252. \zeta                    \xi
  253.     \psi
  254. \eta                        \pi        \varpi
  255.     \omega
  256. \theta    \vartheta            \rho        \varrho|
  257. Help Me ObiWan Kenobi, You're My Only Hope!
  258. To get help about using ObiWan, close and reopen the window, then
  259. type "a" and hit return.|
  260. HotKeys For ObiWan [1/4]
  261. You can open the ObiWan window with the following hot key:
  262.     command-`    Pops up ObiWan. This also closes the window if it's
  263.                 already open.
  264. Typing any printable character will enter it into the current text.
  265. You can then perform other actions using other hot keys.
  266. The following hot keys are supported by ObiWan when its window is open:
  267.     return        Finds the keys for the current text.
  268.     shift-return    Searches the text of the database for the current
  269. text.|
  270. HotKeys For ObiWan [2/4]
  271.     option-shift-return    Web Search for the current text.
  272.     option-return    Selects a new database from the ObiWan Folder using
  273.                 the current text as the file name.
  274.                 If the current text is "C" then it selects
  275. the C procedure
  276.                 parser. If the current text is "Pascal" it returns to
  277.                 the default procedure parser. See below for
  278. more info on
  279.                 parsers.
  280.     command-enter    'Types' the selection into the frontmost application.|
  281. HotKeys For ObiWan [3/4]
  282.                 You can achieve various other behaviours
  283. using more
  284.                 modifier keys:
  285.         command-option-enter        'Types' the first line of
  286. the entry.
  287.         command-option-shift-enter    'Types' the entire entry.
  288.         command-shift-enter        'Types' the entry as a
  289. procedure call.
  290.                                 The
  291. language of the call is determined
  292.                                 by the
  293. current procedure parser.
  294.     command-.    Goes to the next entry.|
  295. HotKeys For ObiWan [4/4]
  296.     command-,    Goes to the previous entry.
  297.     command-]    Goes to the selected word's entry.
  298.     command-[    Returns to the most recent entry.
  299. In additon, other functions are accessible using the mouse:
  300.     click            Selects the word.
  301.     command-click    Selects the word and 'types' it.
  302.     double-click    Selects the word and finds it.|
  303. InternalVerticalMode
  304.  
  305. TeX mode used for building a vertical list for a vbox.|
  306. Knuth, Donald Ervin, 1938-
  307.  
  308. Professor Emeritus of the Art of Computer Programming at the Stanford
  309. University and creator of the TeX typesetting system.
  310.  
  311. His home page is <http://www-cs-staff.stanford.edu/~knuth/>.
  312.  
  313. "K" in "Knuth" is not silent; you must read "ka-nooth."|
  314. LargeOperator (MathCharacters)
  315.  
  316. See Operators (MathCharacters).|
  317. LaTeX
  318.  
  319. A popular macro package based on TeX conceived by Leslie Lamport.|
  320. Ligatures
  321.  
  322. \oe, \OE    œ, Œ
  323. \ae, \AE    æ, Æ
  324. \aa, \AA    å, Å
  325. \o, \O    ø, Ø
  326. \l, \L    Polish suppressed-L
  327. \ss        ß
  328.  
  329. See Accents.|
  330. Logo
  331.  
  332. The TeX logo (E lowered a little bit than T and X) is produced by a plain
  333. TeX macro "\TeX".|
  334. Macros
  335.  
  336. \def<newcommand>{<definition>}
  337. \def<newcommand>#1#2{<definition>}|
  338. MasterYoda Database Processing Application
  339. You can use the Master Yoda application to build your own ObiWan databases.
  340. The application processes database files and prepares them for use with
  341. ObiWan. Database files are simple text files; you can get help on the file
  342. format from Master Yoda. Master Yoda also allows you to sort databases,
  343. merge sorted databases, generate statistics on a database and select what
  344. characters constitute a word within a given database.|
  345. MathAccents
  346.  
  347. In MathMode, use the following to get accents:
  348.  
  349. \acute    á        \grave    à
  350. \breve            \bar
  351. \hat                \tilde    ã
  352. \dot                \ddot    ä
  353. \check            \vec
  354.  
  355. See Accents.|
  356. MathCharacters
  357.  
  358. Mathematical characters in TeX can be classified into the following:
  359.     GreekLetters, Ordinary, Operators, BinaryOperators, Relations,
  360.     Arrows, Openings, Closings, Punctuation, Miscellaneous.
  361.  
  362. See Definitions, Functions, MathClass.|
  363. MathClass
  364.  
  365. 0    ordinary            4    opening
  366. 1    large operator        5    closing
  367. 2    binary operation    6    punctuation
  368. 3    relation            7    variable family|
  369. MathMode
  370.  
  371. TeX mode used for building a mathematical formula to be placed in a
  372. horizontal list.|
  373. Matrices [1/3]
  374.  
  375. The usual matrix:
  376.  
  377. $$\pmatrix{
  378. 1    &0    &0    &0\cr
  379. 0    &1    &0    &0\cr
  380. 0    &0    &1    &0\cr
  381. 0    &0    &0    &1\cr
  382. }$$|
  383. Matrices [2/3]
  384.  
  385. Matrix with delimiters other than parentheses:
  386.  
  387. $$\left{
  388. \matrix{
  389. 1    &0    &0    &0\cr
  390. 0    &1    &0    &0\cr
  391. 0    &0    &1    &0\cr
  392. 0    &0    &0    &1\cr
  393. }
  394. \right}$$|
  395. Matrices [3/3]
  396.  
  397. Omitting a delimiter:
  398.  
  399. $$f(x)=\left{
  400. \matrix{
  401. {\sin x\over x}    &x\not= 0\cr
  402. 0                &x=0\cr
  403. }
  404. \right.$$|
  405. METAFONT
  406.  
  407. A companion program to TeX that generates fonts.  METAFONT is also developed
  408. by Donald E. Knuth.
  409.  
  410. METAFONT is a trademark of Addison-Wesley Publishing, Inc.|
  411. Miscellaneous
  412.  
  413. ``            "            \ddag
  414. ''            "            ?`            ¿
  415. \S            §            !`            ¡
  416. \P            ¶            \copyright    ©
  417. \dag            †            {\it $}        £
  418. (PoundSterling)|
  419. MissedClicks
  420. Yes, I know that ObiWan sometimes doesn't respond to clicks. It's not my
  421. fault! The clicks are disappearing somewhere in the system software; they
  422. never make it through to ObiWan. You can fix this problem by installing
  423. Matt Slot's TSM Fix extension.|
  424. Modes
  425.  
  426. There are six modes in TeX:
  427.     Vertical, InternalVertical, Horizontal
  428.     RestrictedHorizontal, Math, DisplayMath|
  429. NewCommand
  430.  
  431. Control sequences in TeX must start with \.|
  432. Openings (MathCharacters)
  433.  
  434. \lbrack        left (square) bracket
  435. \lbrace        left (curly) brace
  436. \lfloor        left floor
  437. \langle        left angle bracket
  438. \lceil        left ceiling|
  439. Operators (MathCharacters)
  440.  
  441. \sum    ∑            \bigsqcup
  442. \prod    ∏            \bigvee
  443. \coprod                \bigwedge
  444. \int        ∫            \bigodot
  445. \oint                \bigotimes
  446. \bigcap                \bigoplus
  447. \bigcup                \biguplus|
  448. Ordinary (MathCharacters)
  449.  
  450. \aleph        \partial            \angle            \sharp
  451. \hbar        \infty    ∞        \triangle
  452.     \clubsuit
  453. \imath        \prime    '        \backslash        \diamondsuit
  454. \jmath        \emptyset        \forall            \heartsuit
  455. \ell            \nabla            \exists
  456.     \spadesuit
  457. \wp            \surd            \neg        ¬
  458. \Re            \top                \flat
  459. \Im            \bot                \natural|
  460. OtherDatabases
  461. Other databases that ship with ObiWan include:
  462.     Words    A list of words from Rogets Thesaurus;
  463.             great for checking your spelling quickly.
  464.     Perl        Reference material for the Perl programming languange.
  465.     HTML    Reference material for the HTML markup language.
  466.     Java        Reference material for the Java programming languange.
  467.     Force    Reference material for the Mac OS APIs.
  468.     zzz        A dull database used for testing.|
  469. OzTeX
  470.  
  471. A shareware TeX implementation written by Andrew Trevorrow.
  472.  
  473. <http://www.kagi.com/authors/akt/oztex.html>
  474. <ftp://ftp.uchicago.edu/pub/OzTeX/oztex/>|
  475. PoundSterling
  476.  
  477. £            {\it $}|
  478. Punctuation (MathCharacters)
  479.  
  480. \colon|
  481. Relations (MathCharacters)
  482.  
  483. \leq        ≤    \vdash        \supseteq        \simeq
  484.     \perp
  485. \prec        \smile        \sqsupseteq    \asymp        \not
  486. \preceq        \frown        \ni            \approx    ≈
  487. \ll            \geq        ≥    \dashv        \cong
  488. \subset        \succ        \mid            \bowtie
  489. \subseteq        \succeq        \parallel        \propto
  490. \sqsubseteq    \gg            \equiv        \models
  491. \in            \supset        \sim            \doteq|
  492. RestrictedHorizontalMode
  493.  
  494. TeX mode used for building a horizontal list for a paragraph.|
  495. Spacing
  496.  
  497. See BreakableHorizontalSpace and UnbreakableHorizontalSpace.|
  498. SpecialCharacters
  499.  
  500. In TeX, the following characters are reserved for special purposes.
  501. If you need to use them, use EscapeSequence.
  502.  
  503. \  {  }    &  #  %  ^  _  ~|
  504. Stanford University
  505.  
  506. Leland Stanford Junior University, located in Palo Alto, CA.  Its
  507. women's basketball program is quite good.
  508.  
  509. <http://www.stanford.edu/>
  510. <http://athletics.stanford.edu/varsity/women/bb/>|
  511. Symbols
  512.  
  513. See MathCharacters.|
  514. Tables
  515.  
  516. Tables in TeX are made using successive alignment commands.|
  517. Tabs
  518.  
  519. \settabs 3\columns
  520. \+1st    &2nd    &3rd\cr
  521. \+1st    &2nd    &3rd\cr|
  522. TeX
  523.  
  524. The popular typesetting system developed by Donald E. Knuth.
  525.  
  526. "TeX" is actually a combination of GreekLetters tau, epsilon and chi.
  527. As such, the correct pronunciation is 'tech' as in 'technician'; if you
  528. are a good TeX user, you are a TeXnician, but not a TeXpert.
  529.  
  530. TeX is a trademark of the American Mathematical Society.|
  531. TeXgX
  532.  
  533. A TeX implementation for the Mac by Jonathan Kew.  It takes advantage of
  534. QuickDraw GX.
  535.  
  536. <http://www.sil.org/computing/texgx.html>|
  537. Textures
  538.  
  539. A TeX implementation for the Mac by Blue Sky Research, Inc.
  540.  
  541. <http://www.bluesky.com/>|
  542. TUG
  543.  
  544. TeX User Group
  545.  
  546. <http://www.tug.org/>|
  547. UnbreakableHorizontalSpaces
  548.  
  549. ~        normal interword space
  550. \enspace
  551. \thinspace
  552. \negthinspace
  553. \kern <arbitrary dimensions>
  554.  
  555. See BreakableHorizontalSpaces.|
  556. VerticalMode
  557.  
  558. TeX mode used for building the main vertical list, from which the pages
  559. of output are derived.|
  560. VerticalSpaces
  561.  
  562. \smallskip
  563. \medskip
  564. \bigskip|
  565. _Thanks
  566.  
  567. This database would not make much sense if there were not for ObiWan and TeX.
  568. Peter N. Lewis and Donald E. Knuth, they are the best!
  569.  
  570. And if you use shareware implementation of TeX on the Mac (OzTeX, CMacTeX,
  571. or DirectTeX to name a few), don't forget to pay the shareware fee.|
  572. _To Do List
  573.  
  574. *  This database should contain at least some information on LaTeX.|
  575. =|
  576.  
  577.