![]() |
#1 | ||
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Kindle Paperwhite
|
Line break for poetry
Hello, I need to edit several poetry books and convert them to epub format. The problem I run into is that I need to somehow indicate when a verse (line) ends, and depending on the device and font size the verses (lines) could be broken and the words that don't fit go to the next line.
I would like that if that happens, the words that do not fit in the line go automatically to the next line (which it already happens) but with some indentation, like for example: Quote:
Quote:
I found an old thread (from 2013) in this forum in which some solutions were presented but it was said that there was still no simple solution, and I think that perhaps now there may be already some possible resolution to this problem. Thanks for everything and best regards. |
||
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look at the files from https://manual.calibre-ebook.com/con...ormatting-demo it tells you exactly how to do that.
|
![]() |
![]() |
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,899
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
A Hanging (- value) indent Paragraph style will do the split line the way you want.
|
![]() |
![]() |
![]() |
#5 | |||
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Kindle Paperwhite
|
Quote:
Quote:
Quote:
Sorry I am really new and I had no Idea, I am now taking a look at the Workshop, thanks for pointing me in the right direction. My original file is a .docx and I am converting it into a .epub file using Calibre (I've done it successfully I think, but I'd love to solve this last problem) Thanks for your answer friend but as I started a few days ago using Calibre I have no idea what do you mean, I'm going to do my research. Thanks again. |
|||
![]() |
![]() |
![]() |
#6 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 3367292
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
Quote:
Search for using paragraph styles in Word Help, and also search for poetry styles or hanging indent styles. By setting the margin and the indent you can control exactly how it works in your document. This will save you mucking about with conversion settings or editing the epub. In general, use paragraph styles for ALL formatting on the word processor side, except for italics and bold within a paragraph. It will make everything soooo much easier. Below is a picture of what a setting like this looks like in Writer; Word will be somewhat similar. This setting will indent the whole poem 1 cm from the margin and give a further .5 cm indent to overflow lines. |
|
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,606
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
Code:
.hanging { text-indent: -1em; } Code:
<p class="hanging">My poetry line</p> Last edited by Karellen; 03-15-2023 at 04:11 PM. |
|
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@wishart - if you regard your DOCX file as your manuscript, I recommend you make the changes as outlined by @retiredbiker using Word. Do a search for "Microsoft word template for poetry" in your browser ro get some examples
Word keeps its Styles in template files. BR Last edited by BetterRed; 03-15-2023 at 05:34 PM. |
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,104
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
.hanging { left-margin: 1em; text-indent: -1em; } |
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Kindle Paperwhite
|
Quote:
Thanks again everyone. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Line break problem | onqun | KOReader | 3 | 05-03-2022 12:34 AM |
Sigil line break | ebookscovers | Sigil | 6 | 09-07-2020 09:07 PM |
Starting a line indented to end of previous line (Poetry) | sjfan | ePub | 18 | 01-22-2019 06:39 PM |
Poetry: line numbers aligned to the right. | 1v4n0 | ePub | 20 | 12-16-2017 04:02 AM |
Style poetry - line break on verse | ramsaa | Sigil | 15 | 10-22-2013 04:28 PM |