In many programs this can be done with regular expressions. I just
checked in LO Calc, and there is an option for regex.
Of course, the "simple" way of doing this would be to search for "m2"
and replace with "m(2)" (sorry, this is a text only email, so you'll
have to imagine the second one has a superscript 2 instead of a 2 in
brackets).
When you know the term you are searching for, and know that you want to
replace only part of it, you can just use a replacement term that is
the same as the search term, with the correct part replaced. But when
you are trying to search for a term that can vary, and then want to
replace only part of the term, you need to use regexen.
Paul
On Wed, 02 Oct 2013 20:33:39 +0900
Thomas Blasejewicz <nyuwa@hb.tp1.jp> wrote:
(2013/10/02 20:13), Pedro wrote:
Hi Thomas
Toppa-2 wrote
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.
You are searching for a string (m2) but only want part of it to be
changed.
I think this is not possible in any program, but would really be
interested to learn if it is.
Pedro
Many years ago I used to use Wordperfect and if I recall it
correctly, WP did allow that.
If this is NOT possible, it is a real shame when you are working with
technical text that contain lots
of symbols or number with some super- or subscripts.
Finding a whole lot of ASCII codes for different characters would not
be very elegant either ...
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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
Context
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.