Skip to content

Commit

Permalink
Force normal font weight in <th> elements
Browse files Browse the repository at this point in the history
The <th> are produced by LaTeXML in somewhat mysterious ways, and this really messes up the look of tables due to the default browser behavior of using bold font weight for these elements.  This commit is a workaround for this styling problem.
  • Loading branch information
henrikt-ma committed Oct 7, 2020
1 parent b794e71 commit 87c3c0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -24,4 +24,4 @@ MLS.pdf: *.tex chapters/*.tex
# Not using %.html since nmake does not support it (instead using old-style suffix rules)
MLS.html: MLS.tex chapters/*.tex
$(LATEXMLPREFIX)latexml MLS.tex --path=media --dest MLS.xml
$(LATEXMLPREFIX)latexmlpost MLS.xml -format html -pmml --splitat=chapter --splitnaming=labelrelative --javascript=css/LaTeXML-maybeMathJax.js --navigationtoc=context --css=css/LaTeXML-navbar-left.css --dest $@
$(LATEXMLPREFIX)latexmlpost MLS.xml -format html -pmml --splitat=chapter --splitnaming=labelrelative --javascript=css/LaTeXML-maybeMathJax.js --navigationtoc=context --css=css/MLS.css --css=css/LaTeXML-navbar-left.css --dest $@
7 changes: 7 additions & 0 deletions css/MLS.css
@@ -0,0 +1,7 @@
/* This CSS makes adjustments for the MLS on top of the style sheets that come with LaTeXML.
* By not editing copies of the ones from LaTeXML, we can take advantage of upstream improvements to the LaTeXML files.
*/

/* Undo bold here to remove the browser's native th styling,
*/
.ltx_th { font-weight:normal; }

0 comments on commit 87c3c0a

Please sign in to comment.