From 233efd688c486a61b52ef53e4915629069bf8cfe Mon Sep 17 00:00:00 2001 From: Paul Wessel Date: Sun, 5 Nov 2023 15:06:06 +0100 Subject: [PATCH 1/2] Warn that Latex cannot be used in panel tags See #7958 for background. This updates the documentation until we have a better solution. --- doc/rst/source/subplot.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/rst/source/subplot.rst b/doc/rst/source/subplot.rst index 5f8c71e7313..899df0cdb58 100644 --- a/doc/rst/source/subplot.rst +++ b/doc/rst/source/subplot.rst @@ -109,6 +109,8 @@ Optional Arguments (begin mode) shift relative to the tag box [default is **2p**\ /**-2p**] and *shade* sets the fill style to use for shading [default is **gray50**]. Append **+v** to increase tag numbers vertically down columns [horizontally across rows]. + **Note**: Currently you cannot use Latex expressions in the panel tag. The workaround is + to place such tags separately via :doc:text. .. |Add_-B| replace:: |Add_-B_links| .. include:: explain_-B.rst_ From 99d8ebff0c25d59db7b28525f5c3bd844556928a Mon Sep 17 00:00:00 2001 From: Paul Wessel Date: Sun, 5 Nov 2023 15:54:57 +0100 Subject: [PATCH 2/2] Update doc/rst/source/subplot.rst Co-authored-by: Dongdong Tian --- doc/rst/source/subplot.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rst/source/subplot.rst b/doc/rst/source/subplot.rst index 899df0cdb58..ab2189eeee6 100644 --- a/doc/rst/source/subplot.rst +++ b/doc/rst/source/subplot.rst @@ -109,8 +109,8 @@ Optional Arguments (begin mode) shift relative to the tag box [default is **2p**\ /**-2p**] and *shade* sets the fill style to use for shading [default is **gray50**]. Append **+v** to increase tag numbers vertically down columns [horizontally across rows]. - **Note**: Currently you cannot use Latex expressions in the panel tag. The workaround is - to place such tags separately via :doc:text. + **Note**: Currently you cannot use LaTeX expressions in the panel tag. The workaround is + to place such tags separately via :doc:`text`. .. |Add_-B| replace:: |Add_-B_links| .. include:: explain_-B.rst_