File: config-files.rst

package info (click to toggle)
mathjax-docs 2.7+20161014-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,080 kB
  • ctags: 14
  • sloc: sh: 22; python: 19; makefile: 8
file content (634 lines) | stat: -rw-r--r-- 31,591 bytes parent folder | download
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
.. _common-configurations:

***********************
Combined Configurations
***********************

MathJax comes with a number of pre-defined and pre-compiled configuration files
in the ``MathJax/config`` directory.  The ``default.js`` file contains nearly
all the possible configuration options together with comments explaining them,
so you can use that file to customize MathJax to your needs.  Simply load
it via

.. code-block:: html

    <script type="text/javascript" src="path-to-MathJax/MathJax.js?config=default"></script>

where ``path-to-MathJax`` is the URL to the MathJax directory on your
server or hard disk.  If you are using MathJax from the CDN, you can
view the contents of `default.js
<http://cdn.mathjax.org/mathjax/latest/config/default.js>`_ as a
reference, but you will not be able to edit the CDN copy.  It is
possible to use the CDN copy of MathJax with your own configuration
file, however; see :ref:`Using a Local Configuration File with the CDN
<local-config-files>` for details.

The remaining files in the ``MathJax/config`` directory are
combined configuration files that include not just configuration
parameters but also the files that MathJax would need to load for
those configurations; you can browse the directory on `Github
<https://github.com/mathjax/MathJax/tree/master/config/>`_.  This
means MathJax will have to load fewer files, and since each file access requires
establishing connections over the network, it can be faster to load one larger
file than several smaller ones.  See :ref:`Loading and Configuring MathJax
<loading>` for more details about how to load configurations, and how
to modify the parameters for a configuration file.

The following sections describe the contents of the combined configuration
files.  Each comes in two flavors: a standard version and a "full" version.
The standard version simply defines the output processor(s) that are part
of the configuration, but doesn't load the code that implements the output
processor.  The full version loads the complete output processors, so
everything that MathJax needs for the page should be loaded up front, and
there will be no delay once the page is ready to be processed.  To obtain
the "full" version, add ``-full`` to the end of the configuration file
name.


The ``TeX-MML-AM_CHTML`` configuration file
================================================

This configuration file is one of the most general of the pre-defined
configurations.  It loads all the main MathJax components, including
the TeX, MathML, and AsciiMath preprocessors and input processors, the
AMSmath, AMSsymbols, noErrors, and noUndefined TeX extensions, the CommonHTML output processor definitions, and
the MathMenu and MathZoom extensions.  It is equivalent to the
following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/TeX","input/MathML","input/AsciiMath","output/CommonHTML"],
      extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathMenu.js","MathZoom.js","AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax, the TeX, MathML, and
AsciiMath input jax main code (not just the definition files), as well
as the `toMathML` extension, which is used by the Show Source option
in the MathJax contextual menu.  The `-full` version also loads the CommonHTML output jax main code, plus the CommonHTML
`mtable` extension, which is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor.
See the :ref:`asciimath2jax configuration <configure-asciimath2jax>` section for
other configuration options for the ``asciimath2jax`` preprocessor, and the
:ref:`AsciiMath input jax configuration <configure-AsciiMath>` section for
options that control the AsciiMath input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on CommonHTML output processor.


The ``TeX-MML-AM_HTMLorMML`` configuration file
================================================

This configuration file is one of the most general of the pre-defined
configurations.  It loads all the main MathJax components, including
the TeX, MathML, and AsciiMath preprocessors and input processors, the
AMSmath, AMSsymbols, noErrors, and noUndefined TeX extensions, both
the native MathML and HTML-CSS output processor definitions, the fast-preview and AssistiveMML extensions, and
the MathMenu and MathZoom extensions.  It is equivalent to the
following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      config: ["MMLorHTML.js"],
      jax: ["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS","output/NativeMML", "output/PreviewHTML"],
      extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax, the TeX, MathML, and
AsciiMath input jax main code (not just the definition files), as well
as the `toMathML` extension, which is used by the Show Source option
in the MathJax contextual menu.  The `-full` version also loads the HTML-CSS,
PreviewHTML, and NativeMML output jax main code, plus the HTML-CSS
`mtable` extension, which is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor.
See the :ref:`asciimath2jax configuration <configure-asciimath2jax>` section for
other configuration options for the ``asciimath2jax`` preprocessor, and the
:ref:`AsciiMath input jax configuration <configure-AsciiMath>` section for
options that control the AsciiMath input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the NativeMML and HTML-CSS output processors.  See the
:ref:`MMLorHTML configuration <configure-MMLorHTML>` section for
details on the options that control the ``MMLorHTML`` configuration.

The ``TeX-MML-AM_SVG`` configuration file
================================================

This configuration file is one of the most general of the pre-defined
configurations.  It loads all the main MathJax components, including
the TeX, MathML, and AsciiMath preprocessors and input processors, the
AMSmath, AMSsymbols, noErrors, and noUndefined TeX extensions, the SVG output processor, the fast-preview and AssistiveMML extensions, and
the MathMenu and MathZoom extensions.  It is equivalent to the
following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS","output/NativeMML", "output/PreviewHTML"],
      extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax, the TeX, MathML, and
AsciiMath input jax main code (not just the definition files), as well
as the `toMathML` extension, which is used by the Show Source option
in the MathJax contextual menu.  The `-full` version also loads the SVG and
PreviewHTML output jax main code, plus the SVG
`mtable` extension, which is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor.
See the :ref:`asciimath2jax configuration <configure-asciimath2jax>` section for
other configuration options for the ``asciimath2jax`` preprocessor, and the
:ref:`AsciiMath input jax configuration <configure-AsciiMath>` section for
options that control the AsciiMath input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the SVG output processor.


The ``TeX-AMS-MML_HTMLorMML`` configuration file
================================================

This configuration file is a commonly used pre-defined
configuration.  It loads the most commonly used MathJax components, including
the TeX and MathML preprocessors and input processors, the AMSmath,
AMSsymbols, noErrors, and noUndefined TeX extensions, both the native
MathML and HTML-with-CSS output processor definitions, the fast-preview and AssistiveMML extensions, and the
MathMenu and MathZoom extensions.  It is equivalent to the following
configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      config: ["MMLorHTML.js"],
      jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML", "output/PreviewHTML"],
      extensions: ["tex2jax.js","mml2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax, the TeX and MathML input
jax main code (not just the definition files), as well as the
`toMathML` extension, which is used by the Show Source option in the
MathJax contextual menu.  The ``-full`` version also loads the HTML-CSS,
PreviewHTML, and NativeMML output jax main code, plus the HTML-CSS
`mtable` extension, which is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the NativeMML and HTML-CSS output processors.  See the
:ref:`MMLorHTML configuration <configure-MMLorHTML>` section for
details on the options that control the ``MMLorHTML`` configuration.


The ``TeX-AMS_CHTML`` configuration file
========================================

This configuration file is for sites that only use TeX format for their
mathematics, and that want the output to be as close to TeX output as
possible.  This configuration uses the CommonHTML output jax.  The user can still use the MathJax contextual menu to select any other output jax if they desire.

This file includes all the important MathJax components for TeX input and
output, including the `tex2jax` preprocessor and TeX input jax, the
AMSmath, AMSsymbols, noErrors, and noUndefined TeX extensions, the
CommonHTML output, the AssistiveMML extensions, and the MathMenu and MathZoom
extensions.  It is equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/TeX","output/CommonHTML"],
      extensions: ["tex2jax.js","MathMenu.js","MathZoom.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax and the TeX input jax main code
(not just the definition file), as well as the `toMathML` extension, which
is used by the Show Source option in the MathJax contextual menu.  The ``-full``
version also loads the CommonHTML output jax main code, plus the
CommonHTML `mtable` extension, which is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the CommonHTML output processor.


The ``TeX-AMS_SVG`` configuration file
================================================

This configuration file is for sites that only use TeX format for their
mathematics, and that want the output to be as close to TeX output as
possible.  This uses the SVG output jax.  The user can still use the MathJax contextual menu to select another output jax if they desire.

This file includes all the important MathJax components for TeX input and
output, including the `tex2jax` preprocessor and TeX input jax, the
AMSmath, AMSsymbols, noErrors, and noUndefined TeX extensions, the SVG output processor, the fast-preview and AssistiveMML extensions, and the MathMenu and MathZoom
extensions.  It is equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/TeX","output/SVG", "output/PreviewHTML"],
      extensions: ["tex2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax and the TeX input jax main code
(not just the definition file), as well as the `toMathML` extension, which
is used by the Show Source option in the MathJax contextual menu.  The ``-full``
version also loads the SVG and PreviewHTML output jax main code, plus the
SVG `mtable` extension, which is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the SVG output processor.


The ``TeX-AMS_HTML`` configuration file
================================================

This configuration file is for sites that only use TeX format for their
mathematics, and that want the output to be as close to TeX output as
possible.  This uses the HTML-CSS output jax (even when the user's browser
understands MathML).  The user can still use the MathJax contextual menu
to select the NativeMML output jax if they desire.

This file includes all the important MathJax components for TeX input and
output, including the `tex2jax` preprocessor and TeX input jax, the
AMSmath, AMSsymbols, noErrors, and noUndefined TeX extensions, the
HTML-with-CSS output processor definition, the fast-preview and AssistiveMML extensions, and the MathMenu and MathZoom
extensions.  It is equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/TeX","output/HTML-CSS", "output/PreviewHTML"],
      extensions: ["tex2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax and the TeX input jax main code
(not just the definition file), as well as the `toMathML` extension, which
is used by the Show Source option in the MathJax contextual menu.  The ``-full``
version also loads the HTML-CSS and PreviewHTML output jax main code, plus the
HTML-CSS `mtable` extension, which is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the HTML-CSS output processor.


The ``MML_CHTML`` configuration file
====================================

This configuration file is for sites that only use MathML format for their
mathematics.  It will use the CommonHTML output.  The user can still use the
MathJax contextual menu to select any other output format if they desire.

This file includes all the important MathJax components for MathML input
and output, including the `mml2jax` preprocessor and MathML input jax, the
CommonHTML output processor definition files, the AssistiveMML extension, and the MathMenu
and MathZoom extensions.  It is equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/MathML", "output/CommonHTML"],
      extensions: ["mml2jax.js","MathMenu.js","MathZoom.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"]
    });

In addition, it loads the mml Element Jax and the MathML input jax main
code (not just the definition file), as well as the `toMathML` extension,
which is used by the Show Source option in the MathJax contextual menu.
The ``-full`` version also loads the CommonHTML output
jax main code, plus the CommonHTML `mtable` extension, which is normally
loaded on demand.

See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor. See :ref:`MathJax Output Formats <output-formats>` for more information on the CommonHTML output processor.


The ``MML_SVG`` configuration file
================================================

This configuration file is for sites that only use MathML format for their
mathematics.  It will use the SVG output.  The user can still use the
MathJax contextual menu to select the other output formats if they desire.

This file includes all the important MathJax components for MathML input
and output, including the `mml2jax` preprocessor and MathML input jax, the
SVG output processor definition files, the fast-preview and AssistiveMML extensions, and the MathMenu
and MathZoom extensions.  It is equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/MathML","output/SVG", "output/PreviewHTML"],
      extensions: ["mml2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"]
    });

In addition, it loads the mml Element Jax and the MathML input jax main
code (not just the definition file), as well as the `toMathML` extension,
which is used by the Show Source option in the MathJax contextual menu.
The ``-full`` version also loads the SVG and PreviewHTML output
jax main code files, plus the SVG `mtable` extension, which is normally
loaded on demand.

See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the SVG output processor.


The ``MML_HTMLorMML`` configuration file
================================================

This configuration file is for sites that only use MathML format for their
mathematics.  It will use MathML output in browsers where that is
supported well, and HTML-CSS output otherwise.  The user can still use the
MathJax contextual menu to select the other output format if they desire.

This file includes all the important MathJax components for MathML input
and output, including the `mml2jax` preprocessor and MathML input jax, the
NativeMML and HTML-CSS output processor definition files, the fast-preview and AssistiveMML extensions, and the MathMenu
and MathZoom extensions.  It is equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      config: ["MMLorHTML.js"],
      jax: ["input/MathML","output/HTML-CSS","output/NativeMML", "output/PreviewHTML"],
      extensions: ["mml2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"]
    });

In addition, it loads the mml Element Jax and the MathML input jax main
code (not just the definition file), as well as the `toMathML` extension,
which is used by the Show Source option in the MathJax contextual menu.
The ``-full`` version also loads the HTML-CSS, PreviewHTML, and NativeMML output
jax main code files, plus the HTML-CSS `mtable` extension, which is normally
loaded on demand.

See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the NativeMML and HTML-CSS output processors.  See the
:ref:`MMLorHTML configuration <configure-MMLorHTML>` section for
details on the options that control the ``MMLorHTML`` configuration.


The ``AM_CHTML`` configuration file
================================================

This configuration file is for sites that only use AsciiMath format for their
mathematics.  It will use CommonHTML output.  The user can still use the
MathJax contextual menu to select the other output formats if they desire.

This file includes all the important MathJax components for AsciiMath
input and output, including the `asciimath2jax` preprocessor and
AsciiMath input jax, the CommonHTML output processor
definition files, the AssistiveMML extension, and the MathMenu and MathZoom extensions.  It is
equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/AsciiMath","output/CommonHTML"],
      extensions: ["asciimath2jax.js","MathMenu.js","MathZoom.js","AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"]
    });

In addition, it loads the mml Element Jax and the TeX input jax main code
(not just the definition file), as well as the `toMathML` extension, which
is used by the Show Source option in the MathJax contextual menu.  The ``-full``
version also loads the CommonHTML output jax main code, plus the
CommonHTML `mtable` extension, which is normally loaded on demand.

See the :ref:`asciimath2jax configuration <configure-asciimath2jax>`
section for other configuration options for the ``asciimath2jax``
preprocessor, and the :ref:`AsciiMath input jax configuration
<configure-AsciiMath>` section for options that control the AsciiMath
input processor.  See :ref:`MathJax Output Formats <output-formats>`
for more information on the CommonHTML output processors.


The ``AM_SVG`` configuration file
================================================

This configuration file is for sites that only use AsciiMath format for their
mathematics.  It will use SVG output.  The user can still use the
MathJax contextual menu to select the other output formats if they desire.

This file includes all the important MathJax components for AsciiMath
input and output, including the `asciimath2jax` preprocessor and
AsciiMath input jax, the CommonHTML output processor
definition files, the fast-preview and AssistiveMML extensions, and the MathMenu and MathZoom extensions.  It is
equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      config: ["MMLorHTML.js"],
      jax: ["input/AsciiMath","output/SVG", "output/PreviewHTML",
      extensions: ["asciimath2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js","AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"]
    });

In addition, it loads the mml Element Jax and the TeX input jax main code
(not just the definition file), as well as the `toMathML` extension, which
is used by the Show Source option in the MathJax contextual menu.  The ``-full``
version also loads the SVG and PreviewHTML output jax main code, plus the
SVG `mtable` extension, which is normally loaded on demand.

See the :ref:`asciimath2jax configuration <configure-asciimath2jax>`
section for other configuration options for the ``asciimath2jax``
preprocessor, and the :ref:`AsciiMath input jax configuration
<configure-AsciiMath>` section for options that control the AsciiMath
input processor.  See :ref:`MathJax Output Formats <output-formats>`
for more information on the CommonHTML output processors.


The ``AM_HTMLorMML`` configuration file
================================================

This configuration file is for sites that only use AsciiMath format for their
mathematics.  It will use MathML output in browsers where that is
supported well, and HTML-CSS output otherwise.  The user can still use the
MathJax contextual menu to select the other output format if they desire.

This file includes all the important MathJax components for AsciiMath
input and output, including the `asciimath2jax` preprocessor and
AsciiMath input jax, the NativeMML and HTML-CSS output processor
definition files, the fast-preview and AssistiveMML extensions, and the MathMenu and MathZoom extensions.  It is
equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      config: ["MMLorHTML.js"],
      jax: ["input/AsciiMath","output/HTML-CSS","output/NativeMML", "output/PreviewHTML"],
      extensions: ["asciimath2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"]
    });

In addition, it loads the mml Element Jax and the TeX input jax main code
(not just the definition file), as well as the `toMathML` extension, which
is used by the Show Source option in the MathJax contextual menu.  The ``-full``
version also loads the HTML-CSS and PreviewHTML output jax main code, plus the
HTML-CSS `mtable` extension, which is normally loaded on demand.

See the :ref:`asciimath2jax configuration <configure-asciimath2jax>`
section for other configuration options for the ``asciimath2jax``
preprocessor, and the :ref:`AsciiMath input jax configuration
<configure-AsciiMath>` section for options that control the AsciiMath
input processor.  See :ref:`MathJax Output Formats <output-formats>`
for more information on the HTML-CSS and NativeMML output processors.
See the :ref:`MMLorHTML configuration <configure-MMLorHTML>` section
for details on the options that control the ``MMLorHTML``
configuration.


The ``TeX-AMS-MML_SVG`` configuration file
================================================

This configuration file is the same as `TeX-AMS-MML_HTMLorMML` except
that it uses the SVG output renderer rather than the NativeMML or
HTML-CSS ones.  It loads all the main MathJax components, including
the TeX and MathML preprocessors and input processors, the AMSmath,
AMSsymbols, noErrors, and noUndefined TeX extensions, the SVG output
processor definitions, the fast-preview and AssistiveMML extensions, and the MathMenu and MathZoom extensions.  It
is equivalent to the following configuration:

.. code-block:: javascript

    MathJax.Hub.Config({
      jax: ["input/TeX","input/MathML","output/SVG", "output/PreviewHTML"],
      extensions: ["tex2jax.js","mml2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      }
    });

In addition, it loads the mml Element Jax, the TeX and MathML input
jax main code (not just the definition files), as well as the
`toMathML` extension, which is used by the Show Source option in the
MathJax contextual menu.  The ``-full`` version also loads the SVG and
PreviewHTML output jax main code, plus the SVG `mtable` extension, which
is normally loaded on demand.

See the :ref:`tex2jax configuration <configure-tex2jax>` section for
other configuration options for the ``tex2jax`` preprocessor, and the
:ref:`TeX input jax configuration <configure-TeX>` section for options
that control the TeX input processor.
See the :ref:`mml2jax configuration <configure-mml2jax>` section for
other configuration options for the ``mml2jax`` preprocessor, and the
:ref:`MathML input jax configuration <configure-MathML>` section for
options that control the MathML input processor.
See :ref:`MathJax Output Formats <output-formats>` for more
information on the SVG output processor.


The ``Accessible`` configuration file [Deprecated]
==================================================

This configuration file is essentially the same as
``TeX-AMS-MML_HTMLorMML`` except that it includes options that are
designed for assistive technology, particularly for those with visual
challenges.

.. warning::

  *This file is deprecated* since the controls that make
  MathJax work with screen readers are now available in the MathJax
  contextual menu and the AssistiveMML extension, and so there is no need to set them in the
  configuration file any longer.  So you can use any of the other
  pre-defined configurations and readers with special needs should be
  able to change the MathJax settings themselves to be appropriate for
  their software.

The Accessible configuration is equivalent to the following:

.. code-block:: javascript

    MathJax.Hub.Config({
      config: ["MMLorHTML.js"],
      jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML", "output/PreviewHTML"],
      extensions: ["tex2jax.js","mml2jax.js","MathMenu.js","MathZoom.js", "fast-preview.js", "AssistiveMML.js", "[Contrib]/a11y/accessibility-menu.js"],
      TeX: {
        extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
      },
      menuSettings: {
        zoom: "Double-Click",
	mpContext: true,
	mpMouse: true
      },
      errorSettings: { message: ["[Math Error]"] }
    });

This turns off the MathJax contextual menu for IE when MathPlayer is
active, and passes mouse events on to MathPlayer to allow screen
readers full access to MathPlayer.  It also sets the zoom trigger
to double-click, so that readers can see a larger version of the
mathematics by double-clicking on any equation.

In addition, it loads the mml Element Jax, the TeX and MathML input jax
main code (not just the definition files), as well as the `toMathML`
extension, which is used by the Show Source option in the MathJax
contextual menu.  The ``-full`` version also loads the HTML-CSS, CommomHTML,
and NativeMML output jax main code, plus the HTML-CSS `mtable` extension, which
is normally loaded on demand.