You'll set up two different style sheets, one for left (even-numbered) pages and one for right (odd-numbered) pages. Set the even-numbered pages paragraph style to align right, and of course the odd-numbered pages to align left. Make a text frame on your corresponding master pages, and assign the appropriate style sheet to these frames, and voila! Now all your new pages in the document will have a master text frame set to align the way you need. If you already have pages in the document, just go to a paragraph and assign the appropriate style sheet. Hope this helps!
It's not necessary to set up different styles for left and right pages. As suggested by Salah, setting the paragraph style to align either towards or away from the spine (but do it at the style definition level) will cause the text to do what you want, and will even align it properly on both pages if a paragraph breaks across them.
Thx, Peter and Salah, but this wasn't what I was looking for. I don't want to simply align the text towards the spine, but I have to justify it towards the spine.
THX Mikey for the tip, but if i understood right what you meant, I think its not working for me. The thing is I have a text in word, about 40 pages long, now I wanna do the layout in indesign. So I create my layout and place the text (cmd+d) into the columns of my indesign-document. So the text is running threw from page 1 to page 40. If I create two different paragraph styles for every page its not working... although I'm beginning to think I don't know what style sheets are...
Perhaps you could tell us what you mean, then by "justify towards the spine." Justified text is the full width of the column. Do you mean justified, with the last line aligned towards the spine? That's not something ID can automate. You have a choice of justified with last line aligned left, center or right, and you'd have to use two styles or a manual format override.
Yes, thats almost what I want. But the only thing I have to have is, as Peter said above, that the text is justified with the last line towards the spine. I'm not making this up, it's what I have to do. :/ So the only way is to do it manualy, right?
Peter was posting as I was.
So you want fully justified text, but the last line in a paragraph against the spine?
Say what, Mike? What does paragraph spacing have to do with alignment of the last line?
It doesn't have anything to do with the alignment. It only has to do with avoiding space before like the Main paragraph text has.
My point was that there is spacing between paragraphs. By using a separate paragraph for the last line there would be spacing between the main paragraph and its last line if it also had Space Before set.
Main paragraph is fully justified. This paragraph has Space Before set.
Last line paragraph is aligned Towards spine. This paragraph has no Space Before set.
So you are adding a paragraph break a the end of the second-to-last line so your first x lines are full justified (including last line) and last line can be a single-line paragraph aligned to spine?
What happens when you need to edit and the length of a paragraph changes?
thx a lot for your help everyone!!!
And I can't imagine the amount of work necessary to go through an entire book and add all those extra breaks. At least with a single style you can go through page by page and select all of the text at once that needs to align the other way and make the change.
It's just a bloody method of accomplishing what amounts to a lot of manual work no matter what method is used. It was all I could think of. I have never had such a request and I would (at least try really hard to) shoot it down with whoever requested it of me in the first place.
So you want fully justified text, but the last line in a paragraph against the spine?...Yes
It's fairly easy to script. If you are on OSX this AppleScript works on a selected text flow
tell application "Adobe InDesign CS6"
set ruler origin of view preferences of active document to spine origin
set mystory to parent story of selection of active document
set p to object reference of last word of every paragraph of mystory
repeat with i from 1 to number of items in p
--with spine origin this number will be positive on the right and negative on the left pages
set x to horizontal offset of item i of p
if x is greater than 0 then
set justification of paragraph i of parent of item i of p to left justified
set justification of paragraph i of parent of item i of p to right justified