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


Hi,
   Seems my previous reply did not reach all users. I wrote:

In the "Find and Replace" option type in m2 in the "Find" window, then in
the "Replace" window type in m and then, holding down the Alt key, type in
253 then release the Alt key. This places the ASCI code for supercript 2 in
the Replace window.

Cheers,

Paddy

Using Copy (from text) and Paste (into "Find and Replace" window) does not
work either. When you paste the m(2) into the Replace window it reverts to
standard 2. This ASCI workaround seems to be the only option at the moment.
This might be something that they could look at.

Paddy


On 2 October 2013 13:47, Paul <paulsteyn1@afrihost.co.za> wrote:

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



-- 
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.