LyX ⇒ How to maintain italics when pasting text from elsewhere?
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
How to maintain italics when pasting text from elsewhere?
When I copy the documents and then paste them into Lyx the italics are gone and those words just appear as normal text.
Is there a command I can enter into the preamble in order to preserve italics from pasted words?
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
How to maintain italics when pasting text from elsewhere?
I am not aware of any way to do this. There is a way to do the "opposite" (turn formatted text into unformatted text):insipidtoast wrote:I need to copy and paste documents that I have alread written in word. Many of the words are italicized throughout the various documents.
When I copy the documents and then paste them into Lyx the italics are gone and those words just appear as normal text.
Edit > Paste Special > Unformatted Text
This might make for a nice feature request:
http://www.lyx.org/trac
(it's very easy to register and post)
Creative thinking! This is a good place to stop and ask yourself "is this a LaTeX issue or a LyX issue?" The answer is that it's a LyX issue. The LaTeX preamble is for LaTeX. The closest thing for LyX for what the LaTeX preamble is to LaTeX is Document Settings > Local Layout.insipidtoast wrote: Is there a command I can enter into the preamble in order to preserve italics from pasted words?
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: How to maintain italics when pasting text from elsewhere
That's quicker than entering code or selecting italics from the drop down menu.
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class