Ask Your Question
0

Find & Replace all numbers to supercript in writer? [closed]

asked 2014-12-11 20:05:46 +0100

opensourceiscool gravatar image

Hello,

I just switched over to Libre office from OO. So grateful for this program.

Anyway, I am editing a very long document with chapters and verses. The verse numbers/annotations need to be superscript. It started as a text file, though, so all verses numbers are normal--not superscript.

The BIG question: is there any way to use the find and replace function, or any other method, to replace all numbers in the document with superscript? It's fine if it's just one number at a time, but there's no way to do one verse at a time.

Thanks for the help.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-03-07 01:21:54.038655

1 Answer

Sort by » oldest newest most voted
0

answered 2014-12-11 20:57:57 +0100

karolus gravatar image

updated 2014-12-12 00:04:26 +0100

One Method could be:

goto →Edit→search&replace
search for \d+
under more Options check [x]regular Expression
hit the →→find all button

close the Dialog, and change to Charstyle with Fontname Linux Biolinum G:sups=1

more about these special Fontproperties see here and in this Writer-dokument

edit flag offensive delete link more

Comments

Thanks a lot for your answer. I only halfway understand it, though. It changes all numbers to "[x]", but I don't understand how to change charstyle. You mean change it for "[x]" only or for the whole doc? It doesn't seem to do anything except change the font of the "[x]". How can I keep them as the correct numbers, not all the same number, but just make them superscript?

Thanks for your patience.

opensourceiscool gravatar imageopensourceiscool ( 2014-12-11 22:24:02 +0100 )edit

I've edited my Answer...please read again

karolus gravatar imagekarolus ( 2014-12-12 00:03:10 +0100 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-11 20:05:46 +0100

Seen: 454 times

Last updated: Dec 12 '14