forked from mathjax/MathJax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xyjax.html
11366 lines (10392 loc) · 431 KB
/
xyjax.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script id="versionArea" type="text/javascript">
//<![CDATA[
var version = {title: "TiddlyWiki", major: 2, minor: 6, revision: 2, date: new Date("Jan 6, 2011"), extensions: {}};
//]]>
</script>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="copyright" content="
TiddlyWiki created by Jeremy Ruston, (jeremy [at] osmosoft [dot] com)
Copyright (c) Jeremy Ruston 2004-2007
Copyright (c) UnaMesa Association 2007-2011
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
Neither the name of the UnaMesa Association nor the names of its contributors may be
used to endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
" />
<!--PRE-HEAD-START-->
<!--{{{-->
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
<!--}}}-->
<!--PRE-HEAD-END-->
<title> XyJax = MathJax + Xy-pic - version 0.1 </title>
<style id="styleArea" type="text/css">
#saveTest {display:none;}
#messageArea {display:none;}
#copyright {display:none;}
#storeArea {display:none;}
#storeArea div {padding:0.5em; margin:1em 0em 0em 0em; border-color:#fff #666 #444 #ddd; border-style:solid; border-width:2px; overflow:auto;}
#shadowArea {display:none;}
#javascriptWarning {width:100%; text-align:center; font-weight:bold; background-color:#dd1100; color:#fff; padding:1em 0em;}
</style>
<!--POST-HEAD-START-->
<!--POST-HEAD-END-->
</head>
<body onload="main();" onunload="if(window.unload) unload();">
<!--PRE-BODY-START-->
<!--PRE-BODY-END-->
<div id="copyright">
Welcome to TiddlyWiki created by Jeremy Ruston; Copyright © 2004-2007 Jeremy Ruston, Copyright © 2007-2011 UnaMesa Association
</div>
<noscript>
<div id="javascriptWarning">
This page requires JavaScript to function properly.<br /><br />If you are using Microsoft Internet Explorer you may need to click on the yellow bar above and select 'Allow Blocked Content'. You must then click 'Yes' on the following security warning.
</div>
</noscript>
<div id="saveTest"></div>
<div id="backstageCloak"></div>
<div id="backstageButton"></div>
<div id="backstageArea"><div id="backstageToolbar"></div></div>
<div id="backstage">
<div id="backstagePanel"></div>
</div>
<div id="contentWrapper"></div>
<div id="contentStash"></div>
<div id="shadowArea">
<div title="MarkupPreHead">
<pre><!--{{{-->
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
<!--}}}-->
</pre>
</div>
<div title="ColorPalette">
<pre>Background: #fff
Foreground: #000
PrimaryPale: #8cf
PrimaryLight: #18f
PrimaryMid: #04b
PrimaryDark: #014
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
</pre>
</div>
<div title="StyleSheetColors">
<pre>/*{{{*/
body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
a {color:[[ColorPalette::PrimaryMid]];}
a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
a img {border:0;}
h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}
.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}
.header {background:[[ColorPalette::PrimaryMid]];}
.headerShadow {color:[[ColorPalette::Foreground]];}
.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
.headerForeground {color:[[ColorPalette::Background]];}
.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}
.tabSelected{color:[[ColorPalette::PrimaryDark]];
background:[[ColorPalette::TertiaryPale]];
border-left:1px solid [[ColorPalette::TertiaryLight]];
border-top:1px solid [[ColorPalette::TertiaryLight]];
border-right:1px solid [[ColorPalette::TertiaryLight]];
}
.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
.tabContents .button {border:0;}
#sidebar {}
#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}
.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
border:1px solid [[ColorPalette::PrimaryMid]];}
.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}
.wizard .notChanged {background:transparent;}
.wizard .changedLocally {background:#80ff80;}
.wizard .changedServer {background:#8080ff;}
.wizard .changedBoth {background:#ff8080;}
.wizard .notFound {background:#ffff80;}
.wizard .putToServer {background:#ff80ff;}
.wizard .gotFromServer {background:#80ffff;}
#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}
.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}
.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}
.tiddler .defaultCommand {font-weight:bold;}
.shadow .title {color:[[ColorPalette::TertiaryDark]];}
.title {color:[[ColorPalette::SecondaryDark]];}
.subtitle {color:[[ColorPalette::TertiaryDark]];}
.toolbar {color:[[ColorPalette::PrimaryMid]];}
.toolbar a {color:[[ColorPalette::TertiaryLight]];}
.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}
.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
.tagging .button, .tagged .button {border:none;}
.footer {color:[[ColorPalette::TertiaryLight]];}
.selected .footer {color:[[ColorPalette::TertiaryMid]];}
.sparkline {background:[[ColorPalette::PrimaryPale]]; border:0;}
.sparktick {background:[[ColorPalette::PrimaryDark]];}
.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
.lowlight {background:[[ColorPalette::TertiaryLight]];}
.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}
.imageLink, #displayArea .imageLink {background:transparent;}
.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}
.viewer .listTitle {list-style-type:none; margin-left:-2em;}
.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}
.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}
.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
.viewer code {color:[[ColorPalette::SecondaryDark]];}
.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}
.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}
.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
.editorFooter {color:[[ColorPalette::TertiaryMid]];}
.readOnly {background:[[ColorPalette::TertiaryPale]];}
#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:'alpha(opacity=60)';}
/*}}}*/</pre>
</div>
<div title="StyleSheetLayout">
<pre>/*{{{*/
* html .tiddler {height:1%;}
body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}
h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
h4,h5,h6 {margin-top:1em;}
h1 {font-size:1.35em;}
h2 {font-size:1.25em;}
h3 {font-size:1.1em;}
h4 {font-size:1em;}
h5 {font-size:.9em;}
hr {height:1px;}
a {text-decoration:none;}
dt {font-weight:bold;}
ol {list-style-type:decimal;}
ol ol {list-style-type:lower-alpha;}
ol ol ol {list-style-type:lower-roman;}
ol ol ol ol {list-style-type:decimal;}
ol ol ol ol ol {list-style-type:lower-alpha;}
ol ol ol ol ol ol {list-style-type:lower-roman;}
ol ol ol ol ol ol ol {list-style-type:decimal;}
.txtOptionInput {width:11em;}
#contentWrapper .chkOptionInput {border:0;}
.externalLink {text-decoration:underline;}
.indent {margin-left:3em;}
.outdent {margin-left:3em; text-indent:-3em;}
code.escaped {white-space:nowrap;}
.tiddlyLinkExisting {font-weight:bold;}
.tiddlyLinkNonExisting {font-style:italic;}
/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
a.tiddlyLinkNonExisting.shadow {font-weight:bold;}
#mainMenu .tiddlyLinkExisting,
#mainMenu .tiddlyLinkNonExisting,
#sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}
.header {position:relative;}
.header a:hover {background:transparent;}
.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0px; top:0px;}
.siteTitle {font-size:3em;}
.siteSubtitle {font-size:1.2em;}
#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}
#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
#sidebarOptions {padding-top:0.3em;}
#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
#sidebarOptions input {margin:0.4em 0.5em;}
#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
#sidebarTabs .tabContents {width:15em; overflow:hidden;}
.wizard {padding:0.1em 1em 0 2em;}
.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizardStep {padding:1em 1em 1em 1em;}
.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
.wizard .button {padding:0.1em 0.2em;}
#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
.messageToolbar {display:block; text-align:right; padding:0.2em;}
#messageArea a {text-decoration:underline;}
.tiddlerPopupButton {padding:0.2em;}
.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}
.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
.popup .popupMessage {padding:0.4em;}
.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
.popup li.disabled {padding:0.4em;}
.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
.listBreak {font-size:1px; line-height:1px;}
.listBreak div {margin:2px 0;}
.tabset {padding:1em 0 0 0.5em;}
.tab {margin:0 0 0 0.25em; padding:2px;}
.tabContents {padding:0.5em;}
.tabContents ul, .tabContents ol {margin:0; padding:0;}
.txtMainTab .tabContents li {list-style:none;}
.tabContents li.listLink { margin-left:.75em;}
#contentWrapper {display:block;}
#splashScreen {display:none;}
#displayArea {margin:1em 17em 0 14em;}
.toolbar {text-align:right; font-size:.9em;}
.tiddler {padding:1em 1em 0;}
.missing .viewer,.missing .title {font-style:italic;}
.title {font-size:1.6em; font-weight:bold;}
.missing .subtitle {display:none;}
.subtitle {font-size:1.1em;}
.tiddler .button {padding:0.2em 0.4em;}
.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
.isTag .tagging {display:block;}
.tagged {margin:0.5em; float:right;}
.tagging, .tagged {font-size:0.9em; padding:0.25em;}
.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
.tagClear {clear:both;}
.footer {font-size:.9em;}
.footer li {display:inline;}
.annotation {padding:0.5em; margin:0.5em;}
* html .viewer pre {width:99%; padding:0 0 1em 0;}
.viewer {line-height:1.4em; padding-top:0.5em;}
.viewer .button {margin:0 0.25em; padding:0 0.25em;}
.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}
.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
table.listView {font-size:0.85em; margin:0.8em 1.0em;}
table.listView th, table.listView td, table.listView tr {padding:0px 3px 0px 3px;}
.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
.viewer code {font-size:1.2em; line-height:1.4em;}
.editor {font-size:1.1em;}
.editor input, .editor textarea {display:block; width:100%; font:inherit;}
.editorFooter {padding:0.25em 0; font-size:.9em;}
.editorFooter .button {padding-top:0px; padding-bottom:0px;}
.fieldsetFix {border:0; padding:0; margin:1px 0px;}
.sparkline {line-height:1em;}
.sparktick {outline:0;}
.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
.zoomer div {padding:1em;}
* html #backstage {width:99%;}
* html #backstageArea {width:99%;}
#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
#backstageToolbar {position:relative;}
#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
#backstage {position:relative; width:100%; z-index:50;}
#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
.backstagePanelFooter {padding-top:0.2em; float:right;}
.backstagePanelFooter a {padding:0.2em 0.4em;}
#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}
.whenBackstage {display:none;}
.backstageVisible .whenBackstage {display:block;}
/*}}}*/
</pre>
</div>
<div title="StyleSheetLocale">
<pre>/***
StyleSheet for use when a translation requires any css style changes.
This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which need larger font sizes.
***/
/*{{{*/
body {font-size:0.8em;}
#sidebarOptions {font-size:1.05em;}
#sidebarOptions a {font-style:normal;}
#sidebarOptions .sliderPanel {font-size:0.95em;}
.subtitle {font-size:0.8em;}
.viewer table.listView {font-size:0.95em;}
/*}}}*/</pre>
</div>
<div title="StyleSheetPrint">
<pre>/*{{{*/
@media print {
#mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton, #backstageArea {display: none !important;}
#displayArea {margin: 1em 1em 0em;}
noscript {display:none;} /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
}
/*}}}*/</pre>
</div>
<div title="PageTemplate">
<pre><!--{{{-->
<div class='header' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
<div class='headerShadow'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
<div class='headerForeground'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
</div>
<div id='mainMenu' refresh='content' tiddler='MainMenu'></div>
<div id='sidebar'>
<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
</div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}--></pre>
</div>
<div title="ViewTemplate">
<pre><!--{{{-->
<div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>)</div>
<div class='tagging' macro='tagging'></div>
<div class='tagged' macro='tags'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}--></pre>
</div>
<div title="EditTemplate">
<pre><!--{{{-->
<div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='editor' macro='edit title'></div>
<div macro='annotations'></div>
<div class='editor' macro='edit text'></div>
<div class='editor' macro='edit tags'></div><div class='editorFooter'><span macro='message views.editor.tagPrompt'></span><span macro='tagChooser excludeLists'></span></div>
<!--}}}--></pre>
</div>
<div title="GettingStarted">
<pre>To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers:
* [[SiteTitle]] & [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
* [[MainMenu]]: The menu (usually on the left)
* [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
You'll also need to enter your username for signing your edits: <<option txtUserName>></pre>
</div>
<div title="OptionsPanel">
<pre>These [[InterfaceOptions]] for customising [[TiddlyWiki]] are saved in your browser
Your username for signing your edits. Write it as a [[WikiWord]] (eg [[JoeBloggs]])
<<option txtUserName>>
<<option chkSaveBackups>> [[SaveBackups]]
<<option chkAutoSave>> [[AutoSave]]
<<option chkRegExpSearch>> [[RegExpSearch]]
<<option chkCaseSensitiveSearch>> [[CaseSensitiveSearch]]
<<option chkAnimate>> [[EnableAnimations]]
----
Also see [[AdvancedOptions]]</pre>
</div>
<div title="ImportTiddlers">
<pre><<importTiddlers>></pre>
</div>
</div>
<!--POST-SHADOWAREA-->
<div id="storeArea">
<div title="Arrowheads" creator="YourName" modifier="isao" created="201108091053" modified="201108272026" tags="Sample" changecount="19">
<pre>\[
\begin{xy}
0;<1em,0em>:
(0,0);p+/v a(18) 3em/**@{.} ?>*@{>},
(0,-1.5);p+/v a(18) 3em/**@{.} ?>*@{<},
(0,-3);p+/v a(18) 3em/**@{.} ?>*@{|},
(0,-4.5);p+/v a(18) 3em/**@{.} ?>*@{(},
(0,-6);p+/v a(18) 3em/**@{.} ?>*@{)},
(5,0);p+/v a(18) 3em/**@{.} ?>*\dir^{>},
(5,-1.5);p+/v a(18) 3em/**@{.} ?>*\dir^{<},
(5,-3);p+/v a(18) 3em/**@{.} ?>*\dir^{|},
(5,-4.5);p+/v a(18) 3em/**@{.} ?>*\dir^{(},
(5,-6);p+/v a(18) 3em/**@{.} ?>*\dir^{)},
(5,-7.5);p+/v a(18) 3em/**@{.} ?>*\dir^{`},
(5,-9);p+/v a(18) 3em/**@{.} ?>*\dir^{'},
(10,0);p+/v a(18) 3em/**@{.} ?>*\dir_{>},
(10,-1.5);p+/v a(18) 3em/**@{.} ?>*\dir_{<},
(10,-3);p+/v a(18) 3em/**@{.} ?>*\dir_{|},
(10,-4.5);p+/v a(18) 3em/**@{.} ?>*\dir_{(},
(10,-6);p+/v a(18) 3em/**@{.} ?>*\dir_{)},
(10,-7.5);p+/v a(18) 3em/**@{.} ?>*\dir_{`},
(10,-9);p+/v a(18) 3em/**@{.} ?>*\dir_{'},
(15,0);p+/v a(18) 3em/**@{.} ?>*\dir2{>},
(15,-1.5);p+/v a(18) 3em/**@{.} ?>*\dir2{<},
(15,-3);p+/v a(18) 3em/**@{.} ?>*\dir2{|},
(15,-6);p+/v a(18) 3em/**@{.} ?>*\dir3{>},
(15,-7.5);p+/v a(18) 3em/**@{.} ?>*\dir3{<},
(15,-9);p+/v a(18) 3em/**@{.} ?>*\dir3{|},
\end{xy}
\]
Source code:
{{{
\begin{xy}
0;<1em,0em>:
(0,0);p+/v a(18) 3em/**@{.} ?>*@{>},
(0,-1.5);p+/v a(18) 3em/**@{.} ?>*@{<},
(0,-3);p+/v a(18) 3em/**@{.} ?>*@{|},
(0,-4.5);p+/v a(18) 3em/**@{.} ?>*@{(},
(0,-6);p+/v a(18) 3em/**@{.} ?>*@{)},
(5,0);p+/v a(18) 3em/**@{.} ?>*\dir^{>},
(5,-1.5);p+/v a(18) 3em/**@{.} ?>*\dir^{<},
(5,-3);p+/v a(18) 3em/**@{.} ?>*\dir^{|},
(5,-4.5);p+/v a(18) 3em/**@{.} ?>*\dir^{(},
(5,-6);p+/v a(18) 3em/**@{.} ?>*\dir^{)},
(5,-7.5);p+/v a(18) 3em/**@{.} ?>*\dir^{`},
(5,-9);p+/v a(18) 3em/**@{.} ?>*\dir^{'},
(10,0);p+/v a(18) 3em/**@{.} ?>*\dir_{>},
(10,-1.5);p+/v a(18) 3em/**@{.} ?>*\dir_{<},
(10,-3);p+/v a(18) 3em/**@{.} ?>*\dir_{|},
(10,-4.5);p+/v a(18) 3em/**@{.} ?>*\dir_{(},
(10,-6);p+/v a(18) 3em/**@{.} ?>*\dir_{)},
(10,-7.5);p+/v a(18) 3em/**@{.} ?>*\dir_{`},
(10,-9);p+/v a(18) 3em/**@{.} ?>*\dir_{'},
(15,0);p+/v a(18) 3em/**@{.} ?>*\dir2{>},
(15,-1.5);p+/v a(18) 3em/**@{.} ?>*\dir2{<},
(15,-3);p+/v a(18) 3em/**@{.} ?>*\dir2{|},
(15,-6);p+/v a(18) 3em/**@{.} ?>*\dir3{>},
(15,-7.5);p+/v a(18) 3em/**@{.} ?>*\dir3{<},
(15,-9);p+/v a(18) 3em/**@{.} ?>*\dir3{|},
\end{xy}
}}}</pre>
</div>
<div title="Circles" creator="isao" modifier="isao" created="201108101433" modified="201108271152" tags="Sample" changecount="4">
<pre>\[
\begin{xy}
0;<1em,0em>:
(0,0)*\cir<0.5em>{},
(0,-2)*\cir<0.5em>{l^l},
+/r2em/*\cir<0.5em>{l^r},
+/r2em/*\cir<0.5em>{l^d},
+/r2em/*\cir<0.5em>{l^u},
+/r2em/*\cir<0.5em>{l^dl},
+/r2em/*\cir<0.5em>{l^dr},
+/r2em/*\cir<0.5em>{l^ul},
+/r2em/*\cir<0.5em>{l^ur},
(0,-4)*\cir<0.5em>{l_l},
+/r2em/*\cir<0.5em>{l_r},
+/r2em/*\cir<0.5em>{l_d},
+/r2em/*\cir<0.5em>{l_u},
+/r2em/*\cir<0.5em>{l_dl},
+/r2em/*\cir<0.5em>{l_dr},
+/r2em/*\cir<0.5em>{l_ul},
+/r2em/*\cir<0.5em>{l_ur},
\end{xy}
\]
Source code:
{{{
\begin{xy}
0;<1em,0em>:
(0,0)*\cir<0.5em>{},
(0,-2)*\cir<0.5em>{l^l},
+/r2em/*\cir<0.5em>{l^r},
+/r2em/*\cir<0.5em>{l^d},
+/r2em/*\cir<0.5em>{l^u},
+/r2em/*\cir<0.5em>{l^dl},
+/r2em/*\cir<0.5em>{l^dr},
+/r2em/*\cir<0.5em>{l^ul},
+/r2em/*\cir<0.5em>{l^ur},
(0,-4)*\cir<0.5em>{l_l},
+/r2em/*\cir<0.5em>{l_r},
+/r2em/*\cir<0.5em>{l_d},
+/r2em/*\cir<0.5em>{l_u},
+/r2em/*\cir<0.5em>{l_dl},
+/r2em/*\cir<0.5em>{l_dr},
+/r2em/*\cir<0.5em>{l_ul},
+/r2em/*\cir<0.5em>{l_ur},
\end{xy}
}}}</pre>
</div>
<div title="Contact" creator="isao" modifier="isao" created="201108071457" modified="201109051321" changecount="7">
<pre>If you have any questions, please let me know.
* ''e-mail'': Isao Sonobe <sonoisa@gmail.com>
* ''facebook'': http://www.facebook.com/sonobe
\[
\begin{xy}
<1em,0em>:
(0,0)*+{\text{MathJax}}="mathjax", (12,0)*+{\text{Xy-pic}}="xypic",
"mathjax";"xypic" **\crv{~*{\heartsuit} (6,5)} **\crv{~*{\heartsuit} (6,-5)},
(6,0)*{\text{XyJax}}="xyjax"
\end{xy}
\]
</pre>
</div>
<div title="CovariantFunctor" modifier="isao" created="201108060726" modified="201108181418" tags="Sample" changecount="18">
<pre>\[
\begin{xy}
<-3em,0em>*{\mathscr{C}},
<0em,0em>*+{a}="a", <4em,0em>*+{b}="b", <4em,-4em>*+{c}="c",
"a";"b" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle f},
"b";"c" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle g},
"a";"c" **@{-} ?>*@{>} ?<>(.5)*!/^.6em/{\scriptstyle g \circ f},
"b"+/r4em/;"b"+/r8em/ **@{~} ?>*@2{>} ?<>(.5)*!/_.6em/{F},
"c"+/r4em/;"c"+/r8em/ **@{~} ?>*@2{>} ?<>(.5)*!/_.6em/{F},
"a"+/r15em/*+{Fa}="Fa", "b"+/r15em/*+{Fb}="Fb", "c"+/r15em/*+{Fc}="Fc",
"Fb"+/r3em/*{\mathscr{D}},
"Fa";"Fb" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle Ff},
"Fb";"Fc" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle Fg},
"Fa";"Fc" **@{-} ?>*@{>} ?<>(.5)*!/r3em/{\scriptstyle F(g \circ f)=Fg\circ Ff},
\end{xy}
\]
Source code:
{{{
\begin{xy}
<-3em,0em>*{\mathscr{C}},
<0em,0em>*+{a}="a", <4em,0em>*+{b}="b", <4em,-4em>*+{c}="c",
"a";"b" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle f},
"b";"c" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle g},
"a";"c" **@{-} ?>*@{>} ?<>(.5)*!/^.6em/{\scriptstyle g \circ f},
"b"+/r4em/;"b"+/r8em/ **@{~} ?>*@2{>} ?<>(.5)*!/_.6em/{F},
"c"+/r4em/;"c"+/r8em/ **@{~} ?>*@2{>} ?<>(.5)*!/_.6em/{F},
"a"+/r15em/*+{Fa}="Fa", "b"+/r15em/*+{Fb}="Fb", "c"+/r15em/*+{Fc}="Fc",
"Fb"+/r3em/*{\mathscr{D}},
"Fa";"Fb" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle Ff},
"Fb";"Fc" **@{-} ?>*@{>} ?<>(.5)*!/_.6em/{\scriptstyle Fg},
"Fa";"Fc" **@{-} ?>*@{>} ?<>(.5)*!/r3em/{\scriptstyle F(g \circ f)=Fg\circ Ff},
\end{xy}
}}}</pre>
</div>
<div title="Curves" creator="isao" modifier="isao" created="201108060729" modified="201108211013" tags="Sample" changecount="14">
<pre>\[
\begin{xy}
<0em,4em>*+[o]{A}="A";<12em,0em>*+{B}="B",
"A";"B" **\crv{~**@{~}},
"A";"B" **\crv{~**@2{~} <6em,6em>},
"A";"B" **\crv{~**@{--} <4em,8em>&<8em,8em>},
"A";"B" **\crv{<2em,4em>&<6em,4em>&<10em,-4em>&<12em,-2em>}
\end{xy}
\]
Source code:
{{{
\begin{xy}
<0em,4em>*+[o]{A}="A";<12em,0em>*+{B}="B",
"A";"B" **\crv{~**@{~}},
"A";"B" **\crv{~**@2{~} <6em,6em>},
"A";"B" **\crv{~**@{--} <4em,8em>&<8em,8em>},
"A";"B" **\crv{<2em,4em>&<6em,4em>&<10em,-4em>&<12em,-2em>}
\end{xy}
}}}</pre>
</div>
<div title="DefaultTiddlers" creator="isao" modifier="isao" created="201105211037" modified="201108081331" changecount="12">
<pre>XyJax
[[Samples]]
</pre>
</div>
<div title="DeterministicFiniteAutomata" creator="isao" modifier="isao" created="201109031827" modified="201109041015" tags="Sample" changecount="109">
<pre>\[
\begin{xy}
<3pc,0pc>:(0,0),
(1,0) *+{0} *\cir<.6pc>{}="0",
(2,0) *+{1} *\cir<.6pc>{}="1",
(3,0) *+{2} *\cir<.6pc>{}="2",
(4,0) *+{3} *\cir<.45pc>{}*\cir<.6pc>{}="3",
0*+{start}="start"
\PATH ~={**@{-}} ~+{|>*@{>}}
'"0"
'"1" _a
'"2" ^b
"3" ^b
\POS "3"
\PATH ~={**@{-}} ~>{|>*@{>}}
`ru^l "0" <-1pt>
`^rd "0" _b
"0"
\POS "3"
\PATH ~={**@{-}} ~>{|>*@{>}}
`rd_l "1" <1pt>
`_ru "1"
"1"
\POS "2"
\PATH ~={**@{-}} ~>{|>*@{>}}
`rd_l "1" <1pt>
`_ru "1" _a
"1"
\POS "0"+/ru 1.2pc/*{\scriptstyle b}, "0"
\PATH ~={**@{-}} ~>{|>*@{>}}
`r^d/.7pc "0" <1pt>
"0"
\POS "1"+/rd 1.2pc/*{\scriptstyle a}, "1"
\PATH ~={**@{-}} ~>{|>*@{>}}
`r_u/.7pc "1" <-1pt>
"1"
\end{xy}
\]
Source Code:
{{{
\begin{xy}
<3pc,0pc>:(0,0),
(1,0) *+{0} *\cir<.6pc>{}="0",
(2,0) *+{1} *\cir<.6pc>{}="1",
(3,0) *+{2} *\cir<.6pc>{}="2",
(4,0) *+{3} *\cir<.45pc>{}*\cir<.6pc>{}="3",
0*+{start}="start"
\PATH ~={**@{-}} ~+{|>*@{>}}
'"0"
'"1" _a
'"2" ^b
"3" ^b
\POS "3"
\PATH ~={**@{-}} ~>{|>*@{>}}
`ru^l "0" <-1pt>
`^rd "0" _b
"0"
\POS "3"
\PATH ~={**@{-}} ~>{|>*@{>}}
`rd_l "1" <1pt>
`_ru "1"
"1"
\POS "2"
\PATH ~={**@{-}} ~>{|>*@{>}}
`rd_l "1" <1pt>
`_ru "1" _a
"1"
\POS "0"+/ru 1.2pc/*{\scriptstyle b}, "0"
\PATH ~={**@{-}} ~>{|>*@{>}}
`r^d/.7pc "0" <1pt>
"0"
\POS "1"+/rd 1.2pc/*{\scriptstyle a}, "1"
\PATH ~={**@{-}} ~>{|>*@{>}}
`r_u/.7pc "1" <-1pt>
"1"
\end{xy}
}}}</pre>
</div>
<div title="Download" creator="isao" modifier="isao" created="201108081329" modified="201108111426" changecount="2">
<pre>See https://github.com/sonoisa/XyJax
</pre>
</div>
<div title="FlexibleRuler" creator="isao" modifier="isao" created="201108061605" modified="201108211013" tags="Sample" changecount="17">
<pre>\[
\begin{xy}
<-0.4cm,0cm>="A";<10cm,0cm>="B",
"A";"B" **\crv{<2cm,2cm>&<2cm,-3cm>&<5cm,1cm>&<7cm,0cm>}
?<*@{|} ?</1cm/*@{|} ?</2cm/*@{|} ?</3cm/*@{|} ?</4cm/*@{|}
?</5cm/*@{|} ?</6cm/*@{|} ?</7cm/*@{|} ?</8cm/*@{|} ?</9cm/*@{|}
?</10cm/*@{|} ?</11cm/*@{|} ?</12cm/*@{|} ?</13cm/*@{|}
\end{xy}
\]
Source code:
{{{
\begin{xy}
<-0.4cm,0cm>="A";<10cm,0cm>="B",
"A";"B" **\crv{<2cm,2cm>&<2cm,-3cm>&<5cm,1cm>&<7cm,0cm>}
?<*@{|} ?</1cm/*@{|} ?</2cm/*@{|} ?</3cm/*@{|} ?</4cm/*@{|}
?</5cm/*@{|} ?</6cm/*@{|} ?</7cm/*@{|} ?</8cm/*@{|} ?</9cm/*@{|}
?</10cm/*@{|} ?</11cm/*@{|} ?</12cm/*@{|} ?</13cm/*@{|}
\end{xy}
}}}</pre>
</div>
<div title="HowToInstall" creator="isao" modifier="isao" created="201108111428" modified="201108211451" changecount="21">
<pre>@@THIS INSTALL INSTRUCTION IS TENTATIVE.@@
@@I'm trying to separate XyJax package from the original MathJax's code.@@
# Download XyJax's source code.
** go to the [[download site|https://github.com/sonoisa/XyJax]].
** click the Downloads button on the upper right side, and click Download zip (or tar.gz) button.
# Extract the downloaded zip (or tar.gz) file.
# Open the extracted folder.
** you can see the following files/directories (selected).
*** test: samples
*** fonts: font images
*** unpacked: XyJax's and MathJax's source code.
*** xyjax.html: published as http://homepage.mac.com/oasis/xyjax.html
# Open test/sample-xyjax.html with Firefox/Safari/Chrome.
** you can see so-called commutative diagram, if XyJax works.
# Use XyJax on your own site.
** like the configuration of the test/sample-xy.jax (and the following code), load unpacked/MathJax.js and fp.js, xypic.js within pages on your site.
{{{
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js","fp.js"],
// ^^^^^load fp.js
jax: ["input/TeX","output/HTML-CSS"],
"HTML-CSS": {
styles: {".MathJax_Preview": {visibility: "hidden"}}
},
tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},
TeX: {extensions: ["xypic.js","AMSmath.js","AMSsymbols.js"]}
// ^^^^^^^^load xypic.js
});
</script>
<script type="text/javascript" src="../unpacked/MathJax.js"></script>
<!-- ^^^^^^^^IMPORTANT! in the unpacked folder. -->
}}}
ref. http://www.mathjax.org/docs/1.1/installation.html</pre>
</div>
<div title="Intersection" creator="isao" modifier="isao" created="201108071136" modified="201108271153" tags="Sample" changecount="27">
<pre>\[
\begin{xy}
0;<1em,0em>:
(0,0)*={+}="+"; (6,3)*={\times}="*" **@{.},
(3,0)*{A}; (6,6)*{B} **@{-}
?!{"+";"*"} *{\oplus}
\end{xy}
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p+<1pc,3pc>*{C}="C", p+<4pc,-1pc>*{D}="D",
"D";"C"**\crv{<3pc,2pc>},
?!{"A";"B"**@{-}}*{\oplus}
\end{xy}
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p+<1pc,3pc>*{C}="C", p+<4pc,-1pc>*{D}="D",
"A";"B"**\crv{<2pc,3pc>&<3pc,-2pc>},
?!{"D";"C"**\crv{<3pc,2pc>}}*{\oplus}
\end{xy}
\]
\[
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p-<.5pc,2pc>*{C}="C", p+<6pc,-.5pc>*{D}="D",
"A";"B"**\crv{<6pc,-5pc>},
?!{"C";"D"**@{-}}*{\otimes}
\end{xy}
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p-<.5pc,2pc>*{C}="C", p+<6pc,-.5pc>*{D}="D",
"A";"B"**\crv{<4pc,-2pc>},
?!{"C";"D"**@{-}}="E"*{\times},
"E"+/_3pc/;"E"**@{},
?!{"C";"D"}="F",
"E";"F"**@{.} ?>/1em/*!/^1em/{\text{nearest point}}
\end{xy}
\]
Source code:
{{{
\begin{xy}
0;<1em,0em>:
(0,0)*={+}="+"; (6,3)*={\times}="*" **@{.},
(3,0)*{A}; (6,6)*{B} **@{-}
?!{"+";"*"} *{\oplus}
\end{xy}
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p+<1pc,3pc>*{C}="C", p+<4pc,-1pc>*{D}="D",
"D";"C"**\crv{<3pc,2pc>},
?!{"A";"B"**@{-}}*{\oplus}
\end{xy}
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p+<1pc,3pc>*{C}="C", p+<4pc,-1pc>*{D}="D",
"A";"B"**\crv{<2pc,3pc>&<3pc,-2pc>},
?!{"D";"C"**\crv{<3pc,2pc>}}*{\oplus}
\end{xy}
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p-<.5pc,2pc>*{C}="C", p+<6pc,-.5pc>*{D}="D",
"A";"B"**\crv{<6pc,-5pc>},
?!{"C";"D"**@{-}}*{\otimes}
\end{xy}
\begin{xy}
(0,0)*{A}="A"; p+/r5pc/+/u3pc/*{B}="B",
p-<.5pc,2pc>*{C}="C", p+<6pc,-.5pc>*{D}="D",
"A";"B"**\crv{<4pc,-2pc>},
?!{"C";"D"**@{-}}="E"*{\times},
"E"+/_3pc/;"E"**@{},
?!{"C";"D"}="F",
"E";"F"**@{.} ?>/1em/*!/^1em/{\text{nearest point}}
\end{xy}
}}}</pre>
</div>
<div title="InverseFunction" creator="isao" modifier="isao" created="201108061420" modified="201108181513" tags="Sample" changecount="30">
<pre>\[
\begin{xy}
*+[o]{x}="x", <6em,0em>*+{f(x)}="fx",
"x";"fx" **\crv{<3em,1.5em>} ?>*@{>} ?<>(.5)*!/_.5em/{\scriptstyle f},
"x";"fx" **\crv{<3em,-1.5em>} ?<*@{<} ?<>(.5)*!/^.5em/{\scriptstyle f^{-1}},
"x";"x" **\crv{<-3em,3em>&<-3em,-3em>} ?>*@{>} ?<>(.5)*!/^.5em/{\scriptstyle id}
\end{xy}
\]
Source code:
{{{
\begin{xy}
*+[o]{x}="x", <6em,0em>*+{f(x)}="fx",
"x";"fx" **\crv{<3em,1.5em>} ?>*@{>} ?<>(.5)*!/_.5em/{\scriptstyle f},
"x";"fx" **\crv{<3em,-1.5em>} ?<*@{<} ?<>(.5)*!/^.5em/{\scriptstyle f^{-1}},
"x";"x" **\crv{<-3em,3em>&<-3em,-3em>} ?>*@{>} ?<>(.5)*!/^.5em/{\scriptstyle id}
\end{xy}
}}}</pre>
</div>
<div title="License" creator="isao" modifier="isao" created="201108061803" modified="201108061819" changecount="7">
<pre>You can redistribute the XyJax and/or modify it under the terms of the Apache License, Version 2.0.
{{{
Copyright (c) 2011 Isao Sonobe <sonoisa@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
}}}</pre>
</div>
<div title="LineStyles" creator="isao" modifier="isao" created="201108060732" modified="201108271153" tags="Sample" changecount="5">
<pre>\[
\begin{xy}
0;<1em,0em>:
(1,1);p+/v a(18) 5.5em/**@{-},
(1,3);p+/v a(18) 5.5em/**@2{-},
(1,5);p+/v a(18) 5.5em/**@3{-},