summaryrefslogtreecommitdiffstats
path: root/docs/katex/contrib/copy-tex.css
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-07-19 23:48:16 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-07-19 23:48:16 -0300
commit553b17d09cdcb2735e2cb69f13607e6ea6dd8418 (patch)
treef3853e5c0fc3b1b600d528f4dfcb2b44f94b874e /docs/katex/contrib/copy-tex.css
parent06e5c8371952502d5d1bed349f80c8749ab445e7 (diff)
downloadPSP.git-553b17d09cdcb2735e2cb69f13607e6ea6dd8418.tar.gz
PSP.git-553b17d09cdcb2735e2cb69f13607e6ea6dd8418.tar.xz
PSP.git-553b17d09cdcb2735e2cb69f13607e6ea6dd8418.zip
User guide update
Diffstat (limited to 'docs/katex/contrib/copy-tex.css')
-rw-r--r--docs/katex/contrib/copy-tex.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/katex/contrib/copy-tex.css b/docs/katex/contrib/copy-tex.css
new file mode 100644
index 0000000..90801d8
--- /dev/null
+++ b/docs/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;
+}
+