Difference between revisions of "Documentation/FAQ/Formula/How can I get a left bracket without a right bracket?"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: {{DISPLAYTITLE: How can I get a left bracket without a right bracket?}} <section begin=question/> '''How can I get a left bracket without a right bracket?''' <section end=question/> <sec...)
 
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
 
To get a single bracket without a matching bracket partner you
 
To get a single bracket without a matching bracket partner you
 
have to escape the bracket with a backslash. For example to get a &quot;[&quot;
 
have to escape the bracket with a backslash. For example to get a &quot;[&quot;
without a corresponding &quot;]&quot; you should enter "'''\['''".
+
without a corresponding &quot;]&quot; you should enter <font color="brown"> '''\['''</font>.
  
Thus to typeset the interval [3;8) you should enter <font color="brown">'''\[3 ";" 8\)'''</font>. The quotation marks around the semicolon ensures that it
+
Thus to typeset the interval [3;8) you should enter <font color="brown">'''\[3 ";" 8\)'''</font>. The quotation marks around the semicolon ensures that it is not typeset in italic. (You're right, this has nothing to do with brackets!)
is not typeset in italic. (You're right, this has nothing to do with
+
brackets!)
+
  
For scalable brackets it is essential that '''left''' and
+
For scalable brackets it is essential that '''left''' and '''right''' matches, since the content that the brackets enclose must be well defined.  
'''right''' matches, since the content that the brackets
+
encloses must be well defined.  
+
  
In this case you can use the invisible bracket '''none''' to
+
In this case you can use the invisible bracket '''none''' to get a single bracket. For example to get a scalable &quot;[&quot;
get a single bracket. For example to get a scalable &quot;[&quot;
+
without a corresponding &quot;]&quot; you should enter <font color="brown">'''left [... right none'''</font>.
without a corresponding &quot;]&quot; you should enter <font color="brown">'''left [
+
... right none'''</font>.
+
  
 
Thus to typeset  
 
Thus to typeset  
[[Image:001a.gif]]you
+
[[Image:001.gif]]you
 
should enter<font color="brown">''' x=left lbrace binom -5 3 right none'''</font>.
 
should enter<font color="brown">''' x=left lbrace binom -5 3 right none'''</font>.
  

Latest revision as of 11:19, 21 January 2013


How can I get a left bracket without a right bracket?


Since brackets have a grouping function they must always match and be correctly nested.

To get a single bracket without a matching bracket partner you have to escape the bracket with a backslash. For example to get a "[" without a corresponding "]" you should enter \[.

Thus to typeset the interval [3;8) you should enter \[3 ";" 8\). The quotation marks around the semicolon ensures that it is not typeset in italic. (You're right, this has nothing to do with brackets!)

For scalable brackets it is essential that left and right matches, since the content that the brackets enclose must be well defined.

In this case you can use the invisible bracket none to get a single bracket. For example to get a scalable "[" without a corresponding "]" you should enter left [... right none.

Thus to typeset 001.gifyou should enter x=left lbrace binom -5 3 right none.


Personal tools