Skip to content

Commit

Permalink
Merge pull request modelica#3072 from HansOlsson/FixMathListingSize
Browse files Browse the repository at this point in the history
Increase sizes a bit, and use "smallifpdf" for comments.
  • Loading branch information
HansOlsson committed Dec 16, 2021
2 parents 177e1dd + 639a32d commit e0fb713
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions css/MLS.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ a:hover { text-decoration: underline; }
* font set to monospace (the font probably only matters for font size selection in the case of math content).
* 13/16 = 0.8125
*/
/*.ltx_font_typewriter { font-size:123%; }*/
.ltx_Math { font-size: 81.25%; }
.ltx_font_typewriter .ltx_Math { font-size: 100%; }
.ltx_font_typewriter { font-size:110%; }
.ltx_Math { font-size:120%; }
.MathJax .ltx_Math { font-size: 100%; }
.ltx_font_typewriter { font-size:110%; }
.ltx_font_typewriter .ltx_Math { font-size: 120%; }
.ltx_font_typewriter .MathJax .ltx_Math { font-size: 110%; }

/* Undo the ltx-report.css setting that destroys parskip.sty style paragraphs.
*/
Expand Down
2 changes: 1 addition & 1 deletion mlsshared.sty
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
breaklines=true, % automatic line breaking only at white-space
keepspaces, % don't remove space such as those after closing parenthesis
captionpos=b, % sets the caption-position to bottom
commentstyle=\color{commentcolor}\sffamily\small, % For the LaTeXML build this is smaller than for 'basicstyle', need due to sans serif font.
commentstyle=\color{commentcolor}\sffamily,
keywordstyle=\color{red}, % Unused keyword style in bright red to make it easy to detect and fix.
keywordstyle=[1]\color{keywordcolor1},
keywordstyle=[2]\color{keywordcolor1}\bfseries,
Expand Down

0 comments on commit e0fb713

Please sign in to comment.