2014-09-21 22:03:07 +00:00
|
|
|
title: $:/plugins/tiddlywiki/katex/styles
|
|
|
|
tags: [[$:/tags/Stylesheet]]
|
|
|
|
|
|
|
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
|
|
|
|
|
|
|
/* KaTeX styles */
|
|
|
|
|
|
|
|
{{$:/plugins/tiddlywiki/katex/katex.min.css}}
|
|
|
|
|
2024-07-25 16:44:52 +00:00
|
|
|
/* Force text-rendering (see https://github.com/TiddlyWiki/TiddlyWiki5/issues/2500) */
|
2016-07-21 07:48:13 +00:00
|
|
|
|
|
|
|
.katex {
|
|
|
|
text-rendering: auto;
|
|
|
|
}
|
|
|
|
|
2021-09-18 08:45:17 +00:00
|
|
|
/* Reset Automatic Numbering on a per tiddler basis */
|
|
|
|
|
|
|
|
.tc-tiddler-frame {
|
|
|
|
counter-reset: katexEqnNo;
|
|
|
|
}
|
|
|
|
|
2019-05-11 16:31:35 +00:00
|
|
|
/* Avoid TW5's max-width: 100% */
|
|
|
|
|
|
|
|
.katex svg {
|
2021-09-18 08:45:17 +00:00
|
|
|
max-width: initial;
|
2019-05-11 16:31:35 +00:00
|
|
|
}
|
|
|
|
|
2014-09-21 22:03:07 +00:00
|
|
|
/* Override font URLs */
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_AMS;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Caligraphic;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 700;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Caligraphic;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Fraktur;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 700;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Fraktur;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Main;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Bold.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 700;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2018-02-20 21:24:11 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: KaTeX_Main;
|
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-BoldItalic.woff'>>) format('woff');
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2014-09-21 22:03:07 +00:00
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Main;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Main;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2022-07-09 07:37:47 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: KaTeX_Math;
|
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-BoldItalic.woff'>>) format('woff');
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2014-09-21 22:03:07 +00:00
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Math;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2018-02-20 21:24:11 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: KaTeX_SansSerif;
|
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff'>>) format('woff');
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: KaTeX_SansSerif;
|
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff'>>) format('woff');
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2014-09-21 22:03:07 +00:00
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_SansSerif;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Script;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Size1;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Size2;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Size3;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Size4;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2015-09-09 12:56:52 +00:00
|
|
|
font-family: KaTeX_Typewriter;
|
2014-09-21 22:03:07 +00:00
|
|
|
src: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff'>>) format('woff');
|
2015-09-09 12:56:52 +00:00
|
|
|
font-weight: 400;
|
2014-09-21 22:03:07 +00:00
|
|
|
font-style: normal;
|
|
|
|
}
|
2018-02-20 21:24:11 +00:00
|
|
|
|