summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-27 14:22:31 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-01-27 14:22:31 +0000
commitd9e75ddbdad47ebaafbdd276613367989b5afb53 (patch)
tree3f135ef2d36bb72b2510739d6971e131dcf96a85 /docs
parent9d0b483d840017644b75278a80ad77bbc88d7f9f (diff)
downloaddocutils-d9e75ddbdad47ebaafbdd276613367989b5afb53.tar.gz
Do not use combining Unicode characters without base in literal strings.
Add an example for LaTeX accent functions in mathematical text to the mathematics documentation. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8986 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/rst/mathematics.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/ref/rst/mathematics.txt b/docs/ref/rst/mathematics.txt
index c6db8a9f5..ecd063775 100644
--- a/docs/ref/rst/mathematics.txt
+++ b/docs/ref/rst/mathematics.txt
@@ -975,7 +975,7 @@ Compare automatic sizing with fixed sizes:
\left( \frac{3 }{2} \right)
\left( \frac{3^2}{2^4} \right)
\binom{3 }{2}
- \begin{pmatrix} a & b \\ c & d \end{pmatrix}
+ \begin{pmatrix} a & b \\ c & d \end{pmatrix}
\left( \frac{1}{\sqrt 2} \right)
\left( \int \right)
\left( \int_0 \right)
@@ -1001,7 +1001,7 @@ And in text:
\left( \sum_0 \right)
\left( \prod \right)`
-
+
:`\bigl(\text{big}\bigr)`: `\left(\underline x \right)
\left( 3^2 \right)
\binom{3}{2}
@@ -1087,8 +1087,12 @@ Inline: `\int\ \iint\ \iiint\ \iiiint\ \idotsint \oint\ \smallint\
\bigotimes_1^N
-
Text
~~~~
The text may contain non-ASCII characters: `n_\text{Stoß}`.
+
+Some text-mode LaTeX commands are supported with math_output_ "html".
+In other output formats, use literal Unicode: `\text{ç é è ë ê ñ ů ž ©}`
+to get the result of the accent macros
+`\text{\c{c} \'e \`e \"e \^e \~n \r{u} \v{z} \textcircled{c}}`.