![]() |
![]() |
#1 |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10000101101112 Posts |
![]()
Here's a minor problem I've come across, and a relatively simple solution to it:
When a number is represented like 243112609-1, it looks nice, but if you copy/paste it into a plain text field without being careful to preserve formatting, it ends up looking like 243112609-1. Of course, if it was just 2^43112609-1 to begin with, it would copy ok, but then it's not superscript. Then I remembered this little trick to make something appear one way and copy another way. As you might expect, this same trick can be used to fix this problem! Try it at http://www.w3schools.com/html/tryit....=tryhtml_intro, paste this into the body: Code:
<style> .z{ float:right; font-size:.001px; color:transparent; display:inline-block; width:0px; } </style> 87800*6<span class="z">^</span><sup>398859</sup>+1 Code:
87800*6<span class="z">[sup]</span><sup>398859</sup><span class="z">[/sup]</span>+1 I think it'd be cool if sites that list primes in that sort of form (e.g. Top 5000, Wikipedia) used something like this, so meaning isn't lost when you copy/paste into a form like this one. ![]() Last fiddled with by TimSorbet on 2010-12-16 at 14:16 |
![]() |
![]() |
![]() |
#2 |
Aug 2006
135438 Posts |
![]() |
![]() |
![]() |
![]() |
#3 |
Jun 2003
22·32·151 Posts |
![]()
tex tag does it here:
You can select the image and do copy/paste, and it will give you the underlying text. |
![]() |
![]() |
![]() |
#4 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
11·389 Posts |
![]() Quote:
Last fiddled with by TimSorbet on 2010-12-16 at 19:03 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
conductivity of thermal paste | wildrabbitt | Hardware | 5 | 2017-05-10 13:07 |
Beware thermal paste | Mark Rose | Hardware | 14 | 2015-11-03 02:23 |
Best Thermal paste | kracker | Hardware | 50 | 2015-02-23 23:41 |
XP Pro x64 Cut & Paste | storm5510 | Software | 5 | 2013-10-29 12:34 |
copy all files | roger | Information & Answers | 6 | 2008-04-30 01:55 |