| 1 |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ |
| 2 |
/* vim: set ts=2 et sw=2 tw=80: */ |
| 3 |
|
| 4 |
/************************************************************* |
| 5 |
* |
| 6 |
* MathJax/config/local/local.js |
| 7 |
* |
| 8 |
* Include changes and configuration local to your installation |
| 9 |
* in this file. For example, common macros can be defined here |
| 10 |
* (see below). To use this file, add "local/local.js" to the |
| 11 |
* config array in MathJax.js or your MathJax.Hub.Config() call. |
| 12 |
* |
| 13 |
* --------------------------------------------------------------------- |
| 14 |
* |
| 15 |
* Copyright (c) 2009-2020 The MathJax Consortium |
| 16 |
* |
| 17 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 18 |
* you may not use this file except in compliance with the License. |
| 19 |
* You may obtain a copy of the License at |
| 20 |
* |
| 21 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 22 |
* |
| 23 |
* Unless required by applicable law or agreed to in writing, software |
| 24 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 25 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 26 |
* See the License for the specific language governing permissions and |
| 27 |
* limitations under the License. |
| 28 |
*/ |
| 29 |
|
| 30 |
|
| 31 |
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { |
| 32 |
var TEX = MathJax.InputJax.TeX; |
| 33 |
|
| 34 |
// place macros here. E.g.: |
| 35 |
// TEX.Macro("R","{\\bf R}"); |
| 36 |
// TEX.Macro("op","\\mathop{\\rm #1}",1); // a macro with 1 parameter |
| 37 |
|
| 38 |
}); |
| 39 |
|
| 40 |
MathJax.Ajax.loadComplete("[MathJax]/config/local/local.js"); |