home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: toc.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 74 6f 63 20 2d 2d 2d |\section|{toc ---|
|00000010| 20 52 65 61 64 20 74 69 | 6d 65 72 7d 0d 5c 6c 61 | Read ti|mer}.\la|
|00000020| 62 65 6c 7b 66 6e 3a 74 | 6f 63 7d 0d 5c 69 6e 64 |bel{fn:t|oc}.\ind|
|00000030| 65 78 7b 74 6f 63 28 29 | 7d 0d 5c 69 6e 64 65 78 |ex{toc()|}.\index|
|00000040| 7b 72 65 61 64 20 74 69 | 6d 65 72 7d 0d 5c 69 6e |{read ti|mer}.\in|
|00000050| 64 65 78 7b 74 69 6d 65 | 72 21 72 65 61 64 69 6e |dex{time|r!readin|
|00000060| 67 7d 0d 5c 62 65 67 69 | 6e 7b 72 61 69 6c 7d 0d |g}.\begi|n{rail}.|
|00000070| 52 65 61 64 54 69 6d 65 | 72 20 3a 20 27 74 6f 63 |ReadTime|r : 'toc|
|00000080| 27 20 27 28 27 20 27 29 | 27 20 3b 0d 5c 65 6e 64 |' '(' ')|' ;.\end|
|00000090| 7b 72 61 69 6c 7d 0d 0d | 5c 76 65 72 62 2b 74 6f |{rail}..|\verb+to|
|000000a0| 63 2b 20 6d 65 61 73 75 | 72 65 73 20 74 68 65 20 |c+ measu|res the |
|000000b0| 74 69 6d 65 20 74 68 61 | 74 20 68 61 73 20 65 6c |time tha|t has el|
|000000c0| 61 70 73 65 64 20 73 69 | 6e 63 65 20 74 68 65 20 |apsed si|nce the |
|000000d0| 6c 61 73 74 20 63 61 6c | 6c 20 0d 74 6f 20 74 68 |last cal|l .to th|
|000000e0| 65 20 5c 76 65 72 62 2b | 74 69 63 2b 20 66 75 6e |e \verb+|tic+ fun|
|000000f0| 63 74 69 6f 6e 2e 20 20 | 49 74 20 72 65 74 75 72 |ction. |It retur|
|00000100| 6e 73 20 61 20 73 63 61 | 6c 61 72 20 63 6f 6e 74 |ns a sca|lar cont|
|00000110| 61 69 6e 69 6e 67 20 74 | 68 65 0d 74 69 6d 65 20 |aining t|he.time |
|00000120| 64 69 66 66 65 72 65 6e | 63 65 2c 20 6d 65 61 73 |differen|ce, meas|
|00000130| 75 72 65 64 20 69 6e 20 | 73 65 63 6f 6e 64 73 2e |ured in |seconds.|
|00000140| 20 49 66 20 5c 76 65 72 | 62 2b 74 69 63 2b 20 68 | If \ver|b+tic+ h|
|00000150| 61 73 20 6e 6f 74 20 70 | 72 65 76 69 6f 75 73 6c |as not p|reviousl|
|00000160| 79 0d 62 65 65 6e 20 63 | 61 6c 6c 65 64 2c 20 61 |y.been c|alled, a|
|00000170| 6e 20 65 72 72 6f 72 20 | 77 69 6c 6c 20 6f 63 63 |n error |will occ|
|00000180| 75 72 2e 0d 0d 5c 70 61 | 72 61 67 72 61 70 68 7b |ur...\pa|ragraph{|
|00000190| 45 78 61 6d 70 6c 65 7d | 0d 5c 69 6e 64 65 78 7b |Example}|.\index{|
|000001a0| 65 78 61 6d 70 6c 65 20 | 6f 66 20 74 6f 63 28 29 |example |of toc()|
|000001b0| 7d 0d 5c 69 6e 64 65 78 | 7b 74 6f 63 28 29 21 65 |}.\index|{toc()!e|
|000001c0| 78 61 6d 70 6c 65 7d 0d | 5c 62 65 67 69 6e 7b 76 |xample}.|\begin{v|
|000001d0| 65 72 62 61 74 69 6d 7d | 0d 3e 20 74 6f 63 28 29 |erbatim}|.> toc()|
|000001e0| 0d 72 6c 61 62 3a 20 6d | 75 73 74 20 63 61 6c 6c |.rlab: m|ust call|
|000001f0| 20 74 69 63 28 29 20 31 | 73 74 0d 3e 20 74 69 63 | tic() 1|st.> tic|
|00000200| 28 29 3b 0d 3e 20 74 6f | 63 28 29 0d 20 20 20 20 |();.> to|c(). |
|00000210| 20 20 20 31 31 0d 3e 20 | 74 69 63 28 29 3b 20 61 | 11.> |tic(); a|
|00000220| 20 3d 20 72 61 6e 64 28 | 32 30 2c 32 30 30 29 3b | = rand(|20,200);|
|00000230| 20 74 6f 63 28 29 0d 20 | 20 20 20 20 20 20 20 32 | toc(). | 2|
|00000240| 0d 3e 20 74 69 63 28 29 | 3b 20 61 20 3d 20 72 61 |.> tic()|; a = ra|
|00000250| 6e 64 28 32 30 30 2c 32 | 30 30 29 3b 20 74 6f 63 |nd(200,2|00); toc|
|00000260| 28 29 0d 20 20 20 20 20 | 20 20 31 36 0d 3e 20 74 |(). | 16.> t|
|00000270| 69 63 28 29 3b 20 62 20 | 3d 20 69 6e 76 28 61 29 |ic(); b |= inv(a)|
|00000280| 3b 20 74 6f 63 28 29 0d | 20 32 2e 33 39 65 2b 30 |; toc().| 2.39e+0|
|00000290| 33 0d 3e 20 32 33 39 30 | 2f 36 30 0d 20 20 20 20 |3.> 2390|/60. |
|000002a0| 20 33 39 2e 38 0d 3e 20 | 2f 2f 20 59 65 70 2c 20 | 39.8.> |// Yep, |
|000002b0| 74 68 61 74 20 74 6f 6f | 6b 20 6e 65 61 72 6c 79 |that too|k nearly|
|000002c0| 20 34 30 20 6d 69 6e 75 | 74 65 73 2e 20 20 4e 6f | 40 minu|tes. No|
|000002d0| 77 2c 20 77 68 79 20 64 | 69 64 20 49 20 77 61 6e |w, why d|id I wan|
|000002e0| 74 20 74 68 61 74 20 2e | 2e 2e 0d 5c 65 6e 64 7b |t that .|...\end{|
|000002f0| 76 65 72 62 61 74 69 6d | 7d 0d 0d 53 65 65 20 61 |verbatim|}..See a|
|00000300| 6c 73 6f 3a 20 50 61 67 | 65 20 5c 70 61 67 65 72 |lso: Pag|e \pager|
|00000310| 65 66 7b 66 6e 3a 74 69 | 63 7d 20 5c 76 65 72 62 |ef{fn:ti|c} \verb|
|00000320| 2b 74 69 63 28 29 2b 2e | 0d 0d 5c 6e 65 77 70 61 |+tic()+.|..\newpa|
|00000330| 67 65 0d 0d 0d 0d | |ge.... | |
+--------+-------------------------+-------------------------+--------+--------+