diff options
Diffstat (limited to 'static/katex/contrib/copy-tex.css')
-rw-r--r-- | static/katex/contrib/copy-tex.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/static/katex/contrib/copy-tex.css b/static/katex/contrib/copy-tex.css new file mode 100644 index 0000000..90801d8 --- /dev/null +++ b/static/katex/contrib/copy-tex.css @@ -0,0 +1,14 @@ +/* Force selection of entire .katex/.katex-display blocks, so that we can + * copy/paste the entire source code. If you omit this CSS, partial + * selections of a formula will work, but will copy the ugly HTML + * representation instead of the LaTeX source code. (Full selections will + * still produce the LaTeX source code.) + */ +.katex, +.katex-display { + user-select: all; + -moz-user-select: all; + -webkit-user-select: all; + -ms-user-select: all; +} + |