Writer's Haven > Formatter's Forge [Public]

Paragraph spacing with styles

(1/3) > >>

notthatamanda:
I'm crunching my Word Document through the D2D meatgrinder.  For the ebook I put the title, copyright blurb and Thank you on one page.  I want a double space between each of these elements and I can't make it work. Using styles, I've tried every combination of spacing sizes and even as a last resort, the dreaded extra paragraph return.  Nothing helps.  I'm ready to chuck the laptop at the wall.  If anyone has any ideas, please help.   It's not absolutely crucial but it's the first thing people will see on the look inside and now I just have to make it work or it will bug me forever.   Thanks.

Lynn:
That stuff can be so tricky to figure out when the things that should work don't work. I feel your pain! :)

Things that you can try, if you haven't already:

- Create a new paragraph style and apply it, with the spacing you want. Don't use any of the defaults, like Normal, edited.

- Highlight the text you want to style, and "Clear All" styles. Then put the new style on the text.

- Don't highlight the text, make sure your cursor is at the beginning or within the paragraph you want to style, and apply a new style you've created for it.

- Make sure in the paragraph settings for the style you don't have the "Don't add space between paragraphs with the same style" checked or grayed out

- Save the document as an html file and open it and look at the text to see if the problem is in how Word is telling the document to format itself or if maybe it's a D2D issue

- Make sure you use the show/hide formatting so you can see if you have paragraph returns between those lines or line breaks

If I think of anything else, I'll add it, but those are the only things I can think of right now that don't involve copy-pasting the whole thing to a new Word document.

RPatton:
If I am reading this correctly, you want the space between the paragraphs not the lines, right?

If so, then you need to increase the spacing after. You can do this with styles in Word, but you have to select the format drop down and paragraph to get to that granular level. Just double your point size and you'll get double spacing after paragraphs.

If you want double spacing between each line in the paragraph, then you need to use line spacing at exactly and use a point size that is double the size of the point size you have listed.

I haven't used D2D, so I can't say whether you can customize styles through them or if you have to bring in custom styles, but I find that using ems for the CSS works best. If you can build a basic CSS, all you need to do is worry about putting in the styles.


Here's some basic styles I built for a CSS. The Body is the default. fm-para is a basic paragraph no changes, fm-paralast is with spacing between paragraphs, fm-paradouble is with double spacing between each line.


--- Code: ---body {
    font-size: 1em;
    line-height: 1.1;
    margin: 0 2% 0 2%;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: Bookerly, Georgia, Palatino, Baskerville, "Times New Roman", serif;
    }

.fm-para {
font-weight : normal;
font-style : normal;
font-size : 1em;
line-height : inherit;
margin-top : 0em;
text-align : left;
margin-bottom : 0.2em;
}

.fm-paralast {
font-weight : normal;
font-style : normal;
font-size : 1em;
line-height : inherit;
text-align : left;
margin-bottom : 1em;
margin-top : 0em;
}

.fm-paradouble {
font-weight : normal;
font-style : normal;
font-size : 1em;
line-height : 2em;
text-align : left;
margin-bottom : 1em;
margin-top : 0em;
}

--- End code ---

notthatamanda:
Thanks, I'm crunching the word document through D2D into an epub and I was editing normal to make a new style.  I'll try to make a completely new style and see if that works.  Thanks for the suggestion.

notthatamanda:
It still doesn't look right on the D2D previewer.  I'm unable to upload a new file to Amazon now, for some reason, to check it on there.  That has me worried, it's a couple of weeks before the block out for the preorder file.

Thank you for giving me the code but I am not up for the challenge of learning how to do that right now.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version