diff options
Diffstat (limited to 'client/katex/contrib/copy-tex.css')
-rw-r--r-- | client/katex/contrib/copy-tex.css | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/katex/contrib/copy-tex.css b/client/katex/contrib/copy-tex.css new file mode 100644 index 0000000..aae1a93 --- /dev/null +++ b/client/katex/contrib/copy-tex.css @@ -0,0 +1,12 @@ +/* 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; +} |