Debian Codegraph @

unpacked/jax/output/PlainSource/config.js

raw
1 /*************************************************************
2 *
3 * MathJax/jax/output/PlainSource/config.js
4 *
5 * Initializes the PlainSource OutputJax (the main definition is in
6 * MathJax/jax/input/PlainSource/jax.js, which is loaded when needed).
7 *
8 * ---------------------------------------------------------------------
9 *
10 * Copyright (c) 2015-2020 The MathJax Consortium
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
23 */
24
25 MathJax.OutputJax.PlainSource = MathJax.OutputJax({
26 id: "PlainSource",
27 version: "2.7.9",
28 directory: MathJax.OutputJax.directory + "/PlainSource",
29 extensionDir: MathJax.OutputJax.extensionDir + "/PlainSource",
30
31 config: {
32 styles: {
33 ".MathJax_PlainSource_Display": {
34 "text-align": "center",
35 margin: ".75em 0px",
36 "white-space":"pre"
37 },
38 ".MathJax_PlainSource_Display > span": {
39 display: "inline-block",
40 "text-align": "left"
41 }
42 }
43 }
44 });
45
46 if (!MathJax.Hub.config.delayJaxRegistration)
47 MathJax.OutputJax.PlainSource.Register("jax/mml");
48
49 MathJax.OutputJax.PlainSource.loadComplete("config.js");