When I had to do something similar, I wrote a macro :-)
If you do not know much about macros, you probably need to record one,
and I expect that the macro recorder is poor enough that the only real
solution would be to do the first one by hand, copy the correct result
to the clipboard, then record a macro that pastes the value and then
searches for the next occurrence. If you are left with a regular m2
selection, run the macro again. if not, well, you are finished.
On 10/02/2013 04:50 AM, Thomas Blasejewicz wrote:
Thisis probably a rather stupid question and has been answered on this
list (somewhere) a million times ...
(The job is already done - manually - so there is no hurry; I would like
to know the trick.)
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"
But I could not figure out how that works. I ALWAYS got "m2" as
superscript, even I selected only "2" and then format -> superscript.
(after I while of trying I gave up and replaced those number manually)
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
Thank you in advance.
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] replace normal font with superscript · Andrew Douglas Pitonyak
Re: [libreoffice-users] replace normal font with superscript · Valter Mura
- [libreoffice-users] Re: replace normal font with superscript (continued)
Impressum (Legal Info)
: 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