Rev 10686 | Rev 14606 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !!INDEX |
10585 | obado | 2 | !let module_translator= |
3 | !let module_translator_address= |
||
5524 | bpr | 4 | !let module_title=设置 WIMS 的个人喜好 |
23 | reyssat | 5 | !let module_description =设置 WIMS 的个人喜好 |
5524 | bpr | 6 | !let module_language=cn |
23 | reyssat | 7 | !!INDEXEND |
8 | |||
7336 | schaersvoo | 9 | !let tip='<ul><li>FireFox <a target=\'new\' href=\'http://www.mozilla-europe.org/$module_language/\'><img src=\'gifs/mathml/getFireFox.gif\' alt=\'get FireFox\'/></a></li><li>Google Chrome <a target=\'new\' href=\'https://chrome.google.com/webstore/detail/mathjax-for-chrome/elbbpgnifnallkilnkofjcgjeallfcfa\'> MathJax Extension </a><li>Windows<ul><li>Internet Explorer: <a target=\'new\' href=\'http://www.dessci.com/en/products/mathplayer/\'><img src=\'gifs/mathml/dessci_logo.gif\' alt=\'dessci\'/> DESSCI MathPlayer plugin</a><li>Opera: <a target=\'new\' href=\'http://xml-maiden.com/userjs/mathml/\'>UserJS MathML plugin</a></ul></li><li>Safari</li></ul>' |
5524 | bpr | 10 | |
10585 | obado | 11 | !read proc/useropts.proc |
5524 | bpr | 12 | |
10585 | obado | 13 | !header |
13306 | obado | 14 | <script src="scripts/js/wz_tooltip.js"></script> |
10585 | obado | 15 | <p>本页是用于修改你在 WIMS 作业过程中的个人喜好的.</p> |
5524 | bpr | 16 | |
10585 | obado | 17 | <div id="widget_useropts"> |
18 | <ul> |
||
19 | <li><a href="#formula">数学公式</a></li> |
||
20 | !if $wims_user=$empty |
||
21 | <li><a href="#language_selector">默认的语言</a></li> |
||
22 | !endif |
||
23 | <!--li><a href="#accessibility">Accessibility</a></li--> |
||
24 | </ul> |
||
23 | reyssat | 25 | |
10686 | czzmrn | 26 | !if $wims_user=$empty |
10585 | obado | 27 | <div id="language_selector"> |
28 | <h2>默认的语言</h2> |
||
29 | !set wims_language_cnt=!wordcnt $wims_site_languages |
||
30 | !for l=1 to $wims_language_cnt |
||
31 | !let la=!word $l of $wims_site_languages |
||
32 | !href cmd=resume&phtml=useropts.phtml.$la&lang=$la <img src="gifs/$la.gif" alt="$la.gif" border=1/>$(lang_name_$la) |
||
33 | |
||
34 | !next l |
||
35 | </div> |
||
10686 | czzmrn | 36 | !endif |
8002 | bpr | 37 | |
10585 | obado | 38 | <div id="formula"> |
39 | <h2>数学公式</h2> |
||
23 | reyssat | 40 | |
10585 | obado | 41 | !if $texalign=2 |
42 | 服务器目前设置为 MathML 假定你使用合有适的浏览器. 例如, |
||
43 | <p class="wimscenter"> |
||
44 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{2} - 4 a c}}{2a} |
||
45 | </p> |
||
46 | 如果此公式不能正确显示, 你可以换用其它 |
||
47 | <a onmouseover="return Tip($tip)"><span class="wims_emph">浏览器</span></a> |
||
48 | 或使用把数学公式化为图像的服务器. |
||
49 | !set wims_ref_class=wims_button |
||
50 | <p class="wimscenter"> |
||
51 | !href cmd=resume&useropts=$arg 以图像显示数学公式 |
||
52 | </p> |
||
5524 | bpr | 53 | |
10585 | obado | 54 | <hr/> |
55 | <h3>Options</h3> |
||
56 | <div> |
||
57 | !let ts1=!eval $texsize-1 |
||
58 | !let ts2=!eval $texsize+1 |
||
59 | !if $ts1<1 |
||
60 | !let ts1=1 |
||
61 | !endif |
||
62 | !if $ts2>9 |
||
63 | !let ts2=9 |
||
64 | !endif |
||
5524 | bpr | 65 | |
10585 | obado | 66 | 设置数学公式的大小. |
67 | !set wims_ref_class=wims_button |
||
68 | !href cmd=resume&useropts=$ts1$texalign <img src="gifs/doc/dgauche.gif" width="20px" /> |
||
69 | |
||
70 | !set wims_ref_class=wims_button |
||
71 | !href cmd=resume&useropts=$default 默认 |
||
72 | |
||
73 | !set wims_ref_class=wims_button |
||
74 | !href cmd=resume&useropts=$ts2$texalign <img src="gifs/doc/ddroite.gif" width="20px" /> |
||
75 | </div> |
||
76 | |||
77 | <div> |
||
78 | !set zoom=1 |
||
79 | 通过鼠标点击对公式缩放. |
||
80 | !set wims_ref_class=wims_button |
||
81 | !href cmd=resume&useropts=$texsize$texalign$zoom $wims_name_yes |
||
82 | !set zoom=0 |
||
83 | |
||
84 | !set wims_ref_class=wims_button |
||
85 | !href cmd=resume&useropts=$texsize$texalign$zoom $wims_name_no |
||
86 | </div> |
||
87 | |||
88 | !else |
||
89 | 目前你使用的是把数学公式表成图像的服务器. 如果你有合适的 |
||
90 | <a onmouseover="return Tip($tip)"><span class="wims_emph">浏览器</span></a>, 你可以使用 MathML. |
||
91 | <p class="wimscenter"> |
||
92 | !set arg=!nospace $texsize 2 |
||
93 | !set wims_ref_class=wims_button |
||
94 | !href cmd=resume&useropts=$arg MathML |
||
95 | </p> |
||
96 | <h3>Options</h3> |
||
97 | 数学符号与公式的字体大小. 利用以下的行比较符号与文字的大小. |
||
98 | |||
99 | !let ts1=!eval $texsize-1 |
||
100 | !let ts2=!eval $texsize+1 |
||
101 | !if $ts1<1 |
||
102 | !let ts1=1 |
||
103 | !endif |
||
104 | !if $ts2>9 |
||
105 | !let ts2=9 |
||
106 | !endif |
||
107 | !set wims_ref_class=wims_button |
||
108 | !href cmd=resume&useropts=$ts1$texalign$useropt2 <img src="gifs/doc/dgauche.gif" width="20px" /> |
||
109 | |
||
110 | !set wims_ref_class=wims_button |
||
111 | !href cmd=resume&useropts=$ts2$texalign$useropt2 <img src="gifs/doc/ddroite.gif" width="20px" /> |
||
112 | <p> |
||
113 | 希腊字母 $m_alpha, $m_pi. 数学公式 |
||
114 | !let ins_align=middle |
||
115 | !! 你需要强制动态插入 |
||
116 | !set pw=2 |
||
117 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{$pw} - 4ac}}{2a} |
||
118 | 混合的不等式 |
||
119 | </p> |
||
120 | <p class="wimscenter">| $m_a + $m_b | $m_le $m_varepsilon + 123.45.</p> |
||
121 | |||
122 | <hr/> |
||
123 | 公式的位置. 如果公式 |
||
124 | !insmath (x+y)/(x^$pw + y^2) |
||
125 | 与文字相比 |
||
126 | !if $texalign=1 |
||
127 | 太高, |
||
128 | !href cmd=resume&useropts=$(texsize)0$useropt2 点击这里 |
||
129 | 使其降低. |
||
130 | !else |
||
131 | 太低, |
||
132 | !href cmd=resume&useropts=$(texsize)1$useropt2 点击这里 |
||
133 | 使其升高. |
||
134 | !endif |
||
135 | !set zoom=$empty |
||
5524 | bpr | 136 | !endif |
10585 | obado | 137 | </div> |
138 | </div> |
||
5524 | bpr | 139 | |
23 | reyssat | 140 | !if $wims_user=$empty |
141 | 当一切均符合你的心意时, 把 |
||
5524 | bpr | 142 | <a href="$wims_ref_name?lang=$lang&+useropts=$texsize$texalign$useropt2$zoom" |
23 | reyssat | 143 | title="WIMS">此链接</a> |
144 | 收入你的书签, 供以后连接之用. |
||
145 | !else |
||
146 | 你的喜好将被保存到你以后登录到此班级时. |
||
147 | !endif |
||
148 | |||
149 | :end |
||
10585 | obado | 150 | !if $jquery_defined=yes |
151 | !read adm/tabscript useropts |
||
152 | !endif |
||
23 | reyssat | 153 | !tail |
154 |