Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

At 17:50 02/10/2013 +0900, Thomas Blasejewicz wrote:
This is probably a rather stupid question ...

In the absence of good evidence, I tend to assume there are no stupid questions - only perhaps stupid answers.

I had a piece of text (txt file), which contained a lot of things like "m2" (square meter). Working in Writer I tried to do a "find and replace" and turn the "2" into superscript. But I could not figure out how that works. I ALWAYS got "m2" as superscript, even I selected only "2" and then format -> superscript.

What is the trick required to turn "2" into superscript? But ONLY in "m2" and not all "2", since there were lots of other numbers too.

Here are two workarounds:

o Search for "m2" and replace with "m2" but superscripted - exactly as you have been able to do. o Now search for just "m" and replace with "m", but use Format... in the "Search for" box to set Superscript and the same in the "Replace with" box to set Normal position. The temporarily superscripted "m"s will be restored to normal.
This relies on there being no existing superscripted "m"s, of course.


o Search for "m2" but click Find All.  All the occurrences will be selected.
o Now search for "2" and replace with superscripted "2" but - here's the trick - click More Options and tick "Current selection only".

I trust this helps.

Brian Barker

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.