Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 12-23-2019, 04:34 AM   #1
butterbeer
Junior Member
butterbeer began at the beginning.
 
butterbeer's Avatar
 
Posts: 4
Karma: 10
Join Date: Dec 2019
Device: Kindle Oasis
Question How to change italic font to regular?

I only need to edit half of the sentence which is italic but not sure how to do it without breaking the ebook. Here is the part I want to edit and how it looks in calibre:

Thanks!
butterbeer is offline   Reply With Quote
Old 12-23-2019, 09:00 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Use advanced mode in MR reply to upload attachments (the paperclip icon)

General tips: Look at the code

That determines the S&R least likely to do damage
Do you have a <span class or an <i ?

Single step Replace (Next), not 'Replace all' until you are ABSOLUTELY sure there are no exceptions
theducks is offline   Reply With Quote
Advert
Old 12-24-2019, 07:03 PM   #3
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Example of a sentence:

<p class="calibre1">This is a sentence.</p>


To add italics to the words "a sentence," add one of the following sets of codes:

<p class="calibre1">This is <i class="italic">a sentence.</i></p>

-or-

<p class="calibre1">This is <span class="italic">a sentence.</span></p>

Then add the following code into your stylesheet.css file:

.italic {
font-style: italic;
}
deback is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura How not to use an italic font? ohho Kobo Reader 2 03-07-2017 06:17 AM
Italic missing with Sans font Armaell Conversion 4 11-20-2015 03:34 AM
Side-loaded font bold-italic problem roger64 Kobo Reader 5 11-25-2013 08:15 PM
Embeded Italic font not rendered theducks Sigil 6 11-07-2012 07:25 AM
Italic font switch, but not back anymore adrian142 Calibre 1 10-10-2010 03:37 PM


All times are GMT -4. The time now is 09:41 AM.


MobileRead.com is a privately owned, operated and funded community.