From 436ed2cf19ac3c714457d57628e93c79329ddf19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 6 Jan 2012 21:54:02 +0000 Subject: [PATCH] Math.lyx: add missing things from previous commit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40580 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/fr/Math.lyx | 4 +- lib/doc/ja/Math.lyx | 158 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+), 2 deletions(-) diff --git a/lib/doc/fr/Math.lyx b/lib/doc/fr/Math.lyx index 25a5fae673..dbe34749b0 100644 --- a/lib/doc/fr/Math.lyx +++ b/lib/doc/fr/Math.lyx @@ -36143,11 +36143,11 @@ To change the size of cancelto \series default 's -\begin_inset Quotes eld +\begin_inset Quotes fld \end_inset subscript -\begin_inset Quotes erd +\begin_inset Quotes frd \end_inset value one can load the package diff --git a/lib/doc/ja/Math.lyx b/lib/doc/ja/Math.lyx index f16195c24b..085f713a87 100644 --- a/lib/doc/ja/Math.lyx +++ b/lib/doc/ja/Math.lyx @@ -35222,6 +35222,164 @@ cancelto \end_layout +\begin_layout Standard + +\lang english +To change the size of +\series bold + +\backslash +cancelto +\series default +'s +\begin_inset Quotes eld +\end_inset + +subscript +\begin_inset Quotes erd +\end_inset + + value one can load the package +\series bold +cancel +\series default + with either the option +\series bold +samesize +\series default + which leads to the same size as for the canceled value or with the option + +\series bold +Smaller +\series default + which makes is it a bit smaller than the size one gets without using a + package option. + In this document +\series bold +cancel +\series default + was loaded with this line: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[samesize]{cancel} +\end_layout + +\begin_layout Standard + +\lang english +To color the cancellation bar one adds this command as TeX code: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +CancelColor}{ +\backslash +color{red}} +\end_layout + +\begin_layout Standard + +\series bold +\lang english +red +\series default + can be replaced by a color of your choice. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +CancelColor}{ +\backslash +color{red}} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Formula +\[ +\frac{\left(x_{0}+bB\right)^{2}}{\left(1+b^{2}\right)^{\cancelto{2}{3}}}=\frac{x_{0}^{2}+B^{2}-r_{g}^{2}}{\cancel{1+b^{2}}} +\] + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +CancelColor}{ +\backslash +color{black}} +\end_layout + +\end_inset + + +\lang english + +\begin_inset Note Note +status open + +\begin_layout Plain Layout + +\lang english +reset the color +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +For further customizations, see the documentation of the package +\lang japanese + +\series bold +cancel +\series default +, +\begin_inset CommandInset citation +LatexCommand cite +key "cancel" + +\end_inset + +. +\end_layout + \begin_layout Subsection 節見出し中の数式 \begin_inset CommandInset label -- 2.39.5