1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textsmathguidetextxml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Entering Text</title>
28<filename>/text/smath/guide/text.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3155962">
33<bookmark_value>text strings; entering in $[officename] Math</bookmark_value>
34<bookmark_value>direct text; entering in $[officename] Math</bookmark_value>
35<bookmark_value>inserting;text in $[officename] Math</bookmark_value>
36</bookmark>
37<paragraph role="heading" id="hd_id5676442" xml-lang="en-US" level="1" l10n="NEW"><variable id="text"><link href="text/smath/guide/text.xhp" name="Entering Text">Entering Text</link>
38</variable></paragraph>
39<paragraph role="heading" id="hd_id8509170" xml-lang="en-US" level="3" l10n="NEW">How to enter direct text strings that do not get interpreted?</paragraph>
40<paragraph role="paragraph" id="par_id337229" xml-lang="en-US" l10n="NEW">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>
41<paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US" l10n="NEW">Examples:<comment>collected from several issues: i78812, i9167,  i21484, i25573</comment></paragraph>
42<paragraph role="paragraph" id="par_id521866" xml-lang="en-US" l10n="NEW">An imported MathType formula contains the following string</paragraph>
43<paragraph role="code" id="par_id9413739" xml-lang="en-US" l10n="NEW">W rSup { size 8{*} }</paragraph>
44<paragraph role="paragraph" id="par_id755943" xml-lang="en-US" l10n="NEW">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>
45<paragraph role="paragraph" id="par_id5988952" xml-lang="en-US" l10n="NEW">Change {*} to {} * {} as in the following formula:</paragraph>
46<paragraph role="code" id="par_id3304544" xml-lang="en-US" l10n="NEW">W rSup { size 8{} * {} }</paragraph>
47<paragraph role="paragraph" id="par_id4941557" xml-lang="en-US" l10n="NEW">You can also use W^"*" to enter the character as direct text.</paragraph>
48<paragraph role="paragraph" id="par_id9961851" xml-lang="en-US" l10n="NEW">Some formulas start with an = sign. Use "=" to enter that character as direct text.</paragraph>
49<section id="relatedtopics">
50<embed href="text/smath/guide/main.xhp#main"/>
51</section>
52</body>
53</helpdocument>
54