Is there a way to make text written in LateX look like something in the pdf document, but different if you copy-paste it?
Here is an example of what I would like:
In the pdf document: there is 10 km to the city
when you copy-paste: there is 10 kilometers to the city
added after reply:Thank you all.
However, I also want to do it when writing by using $$.
As an example again, If I write: for water $\rho$ is 997 $kg/m^3$
PDF: for water rho is 997 kg/m^3copy-paste: for water the density is 997 kilograms per cubic meter