(group, options)
| 11193 | |
| 11194 | |
| 11195 | var mathchoice_chooseMathStyle = function chooseMathStyle(group, options) { |
| 11196 | switch (options.style.size) { |
| 11197 | case src_Style.DISPLAY.size: |
| 11198 | return group.display; |
| 11199 | |
| 11200 | case src_Style.TEXT.size: |
| 11201 | return group.text; |
| 11202 | |
| 11203 | case src_Style.SCRIPT.size: |
| 11204 | return group.script; |
| 11205 | |
| 11206 | case src_Style.SCRIPTSCRIPT.size: |
| 11207 | return group.scriptscript; |
| 11208 | |
| 11209 | default: |
| 11210 | return group.text; |
| 11211 | } |
| 11212 | }; |
| 11213 | |
| 11214 | defineFunction({ |
| 11215 | type: "mathchoice", |