Skip to content

Commit fcf0d5a

Browse files
committed
Make bullet lists looser, add a tighter command, and move kbd definitions to the configuration and CSS files
1 parent b9f7623 commit fcf0d5a

File tree

25 files changed

+126
-344
lines changed

25 files changed

+126
-344
lines changed

_static/custom.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,30 @@
1010
.toctree-l1 > ul {
1111
margin-top: 3px ! important;
1212
}
13+
14+
.toctree-l2 > ul {
15+
margin-top: 0 ! important;
16+
margin-bottom: 3px ! important;
17+
}
18+
19+
ul.simple > li {
20+
margin-bottom: 10px;
21+
}
22+
23+
div.tight > ul.simple > li {
24+
margin-bottom: 0;
25+
}
26+
27+
kbd {
28+
display: inline-block;
29+
padding: 3px 5px ! important;
30+
font-size: 80% ! important;
31+
line-height: 10px ! important;
32+
color: #444d56 ! important;
33+
vertical-align: middle ! important;
34+
background-color: #fafbfc ! important;
35+
border: solid 1.5px #c6cbd1 ! important;
36+
border-bottom-color: #959da5 ! important;
37+
border-radius: 3px ! important;
38+
box-shadow: inset -.5px -1px 0 #959da5 ! important;
39+
}

advanced/webpack.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ Your first step is to download a copy of MathJax via ``npm``,
4343
only going to use the webpacked components, then installing the
4444
``mathjax`` package will be sufficient.
4545

46-
..
47-
4846
* If you use ``git``, be sure to run the commands to compile and make
4947
the components, as listed in :ref:`mathjax-git`.
5048

@@ -88,14 +86,10 @@ There are several kinds of components you could build:
8886
* A **combined component** that brings together several other
8987
components (the ``tex-chtml`` component is a combined component)
9088

91-
..
92-
9389
* An **extension component** that contains what is needed for one
9490
feature and can be loaded along with other components to add
9591
that feature to MathJax.
9692

97-
..
98-
9993
* A **custom build** of MathJax that uses only the pieces of MathJax
10094
that you need for a specialized setting.
10195

basic/legacy-accessibility.rst

Lines changed: 0 additions & 265 deletions
This file was deleted.

conf.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,23 @@
8888
.. |-----| raw:: html
8989
9090
<hr>
91+
92+
.. |bkey| raw:: html
93+
94+
<kbd>
95+
96+
.. |ekey| raw:: html
97+
98+
</kbd>
99+
100+
.. |btight| raw:: html
101+
102+
<div class="tight">
103+
104+
.. |etight| raw:: html
105+
106+
</div>
107+
91108
"""
92109
#
93110
# /DPVC

input/tex/extensions/autobold.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ autobold
66

77
The `autobold` extension is no longer available in MathJax version 3 or later.
88

9+
It is possible to use a TeX input jax pre-filter to get the same
10+
effect, however. See :ref:`filter-autobold` for an example of how to do this.
11+
912
|-----|

input/tex/extensions/mediawiki-texvc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The `mediawiki-texvc` extension predefines macros that match
88
the behavior of the `MediaWiki Math Extension
99
<https://www.mediawiki.org/wiki/Extension:Math>`__.
1010

11-
This extension has not been translated to version 3 OR ABOVE, so
12-
currently it is not available. It MAY be included in a future release
11+
This extension has not been translated to version 3 or above, so
12+
currently it is not available. It *may* be included in a future release
1313
of MathJax.
1414

1515
|-----|

input/tex/extensions/physics.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ The `physics` extension implements much of the LaTeX `physics package
88
<https://ctan.org/pkg/physics?lang=en>`_, which defines simple, yet
99
flexible, macros for typesetting equations via:
1010

11+
|btight|
12+
1113
* Automatic bracing
1214
* Vector notation
1315
* Derivatives
@@ -16,6 +18,8 @@ flexible, macros for typesetting equations via:
1618
* Additional trig functions and other convenient operators
1719
* Flat fractions and other useful miscellaneous math macros
1820

21+
|etight|
22+
1923
See the `documentation
2024
<http://mirrors.ctan.org/macros/latex/contrib/physics/physics.pdf>`_
2125
for the LaTeX package for more information.

input/tex/macros/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ websites, including:
1515
above, though it won't include the features that are new in later
1616
versions.
1717

18-
..
19-
2018
* More complete details, with examples and explanations, are available
2119
at Carol Fisher's `TeX Commands Available in MathJax
2220
<http://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm>`_
2321
page. These were written for MathJax v2, but most of the
2422
information is still correct for v3 and above.
2523

26-
..
27-
2824
* The `LaTeX Wikibook <https://en.wikibooks.org/wiki/LaTeX>`__
2925
sections in `Mathematics
3026
<https://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics>`__ and

0 commit comments

Comments
 (0)