summaryrefslogtreecommitdiff
path: root/source/text/smath/guide/text.xhp
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-12-26 12:54:58 -0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-12-26 22:15:20 +0100
commite6095165acb81b895d5671a4414faf7885a622ff (patch)
treeb58f3496f4d7d128cc924d152e677e0acc038ac6 /source/text/smath/guide/text.xhp
parent2d43bbab27930b562466b9a05c8fcdcae1e08537 (diff)
Review code in help page and mute l10n when OK
+ Added "smathcode" role to render smath code paragraphs + let smath code samples be copied to clipboard. Change-Id: I580c162d0c77f51d0de817ca143a845abf56eca9 Reviewed-on: https://gerrit.libreoffice.org/65621 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/smath/guide/text.xhp')
-rw-r--r--source/text/smath/guide/text.xhp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/smath/guide/text.xhp b/source/text/smath/guide/text.xhp
index ffd78bd439..9fee8c00ca 100644
--- a/source/text/smath/guide/text.xhp
+++ b/source/text/smath/guide/text.xhp
@@ -39,10 +39,10 @@
<paragraph role="paragraph" id="par_id337229" xml-lang="en-US">Some text strings get interpreted as operators automatically. Sometimes this is not what you want. If you want to write W<emph>*</emph> (a letter with a superscripted asterisk), the asterisk will be interpreted as a multiplication operator. Enclose the direct text within double quotes or add spaceholders.</paragraph>
<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US">Examples:<comment>collected from several issues: i78812, i9167, i21484, i25573</comment></paragraph>
<paragraph role="paragraph" id="par_id521866" xml-lang="en-US">An imported MathType formula contains the following string</paragraph>
-<paragraph role="code" id="par_id9413739" xml-lang="en-US" localize="false">W rSup { size 8{*} }</paragraph>
+<paragraph role="smathcode" id="par_id9413739" xml-lang="en-US" localize="false">W rSup { size 8{*} }</paragraph>
<paragraph role="paragraph" id="par_id755943" xml-lang="en-US">If you have set up Math to convert imported MathType formulas (in <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Load/Save - Microsoft Office), you see the formula with a placeholder instead of the asterisk.</paragraph>
<paragraph role="paragraph" id="par_id5988952" xml-lang="en-US">Change {*} to {} * {} as in the following formula:</paragraph>
-<paragraph role="code" id="par_id3304544" xml-lang="en-US" localize="false">W rSup { size 8{} * {} }</paragraph>
+<paragraph role="smathcode" id="par_id3304544" xml-lang="en-US" localize="false">W rSup { size 8{} * {} }</paragraph>
<paragraph role="paragraph" id="par_id4941557" xml-lang="en-US">You can also use W^"*" to enter the character as direct text.</paragraph>
<paragraph role="paragraph" id="par_id9961851" xml-lang="en-US">Some formulas start with an = sign. Use "=" to enter that character as direct text.</paragraph>
<section id="relatedtopics">