Verse margin
Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! \d
Re: Verse margin
On Tue, 2 Oct 2007, Donn Ingle wrote: Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! Have you searched for LaTeX packages or styles that are suitable for poems? Maybe it's better if you find those, and then try to make them work with LyX? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: Verse margin
On Tuesday 02 October 2007, Donn Ingle wrote: Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! Donn, There is an extensive discussion of verse formatting in the manual for the Memoir class (http://tug.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf) starting on page 195. It isn't a trivial problem, and it will require some use of Latex, but judging from the examples given can produce some very acceptable layouts. Les -- L. R. Denham Gentoo Linux 2007.1 Kernel 2.6.19-gentoo-r5 KDE 3.5.7
Re: Verse margin
Two suggestions: (1) Try to put the verse in a minipage (Box), then center the box or use an Hfill before it. (2) Only if that fails, try something like \setlength{\unitlength}{1cm} \begin{picture}(width, height) \put(x_coord,y_coord){\makebox(x_dim,y_dim)[position]{My verse.}} \end{picture} in ERT and replace the measures with useful numbers. position refers to the text's position in the box and can be l,r,b and so on. For example rb will give you text that is aligned with the right and bottom side of the makebox. I'm not sure if that works with \verse, though. Cheers, -- Christian Donn Ingle wrote: Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! \d -- Christian Liesen Universität Zürich Institut für Sonderpädagogik Sonderforschungsbereich Hirschengraben 48 8001 Zürich University of Zurich Institute for Special Education Research Unit Hirschengraben 48 CH-8001 Zurich Tel +41 44 634 3130 Fax +41 44 634 4941
Re: Verse margin
Les, I have been using that manual all along. If that's the best that Lyx Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I have tried 2 column mode, but can't figure a way to clear the first column. I have tried a table (in true old-fashioned html table-design fashion) with blank columns (to get the indenting), but it seems one can't have a subsection env. within a table cell. I thought there may be a boffin out there who can tell me which .inc or .layout file, and where, and how, to edit so that verse env. simply uses a larger indent. Thanks anyway :) \d
Re: Verse margin
On Oct 2, 2007, at 11:26 AM, Donn Ingle wrote: Les, I have been using that manual all along. If that's the best that Lyx Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I haven't really been following this thread, but perhaps this is what you want. Bennett Poetry-example.lyx Description: Binary data
Re: Verse margin
On Oct 2, 2007, at 11:40 AM, Bennett Helm wrote: On Oct 2, 2007, at 11:26 AM, Donn Ingle wrote: Les, I have been using that manual all along. If that's the best that Lyx Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I haven't really been following this thread, but perhaps this is what you want. Oops -- that version has some junk in the preamble that will cause you problems. Here is a corrected version that should typeset for you. Bennett Poetry-example.lyx Description: Binary data
Re: Verse margin
Bennet - Thanks a million for that file. It comes hot on the heels of Christian's advice about a minipage and from the looks of things it's a winner! I'm closing OpenOffice right now! \d
Re: Verse margin
On Oct 2, 2007, at 12:26 PM, Donn Ingle wrote: Bennet - Thanks a million for that file. It comes hot on the heels of Christian's advice about a minipage and from the looks of things it's a winner! I'm closing OpenOffice right now! Yes -- it was his advice I thought I'd provide an example of, since it's not an obvious way of doing what you seemed to want until you see it done. Notice that you can right-click on the Box (Minipage) button to get a Box Settings dialog, where you can change things like the width of the box. Bennett
Re: Verse margin
On Oct 2, 2007, at 2:03 PM, Donn Ingle wrote: While I have your help, how do I stack minipages on below the other so that if a poem is short enough for two or three to fit in the height of the page, they do? I have been mucking around with minipages and there's a large random element involved -- not much info in the help. At the moment they either insist on a page to themselves or they sort of overlap other text or the bottom of the page. I'm not sure precisely what the difficulty is, but here's another example with several poems right on top of each other. The first 2 poems that are side-by-side; this was obtained by adjusting the sum of their widths to be 100% of the line width, and by putting them on the same line, separated by a single space. All other poems are in their own paragraphs, which results in them getting stacked on top of each other. Note that minipages will not break across pages, as is clear from the 3rd poem -- the longer one -- that's in my example. I'm not sure what to tell you to do if you have really long poems that you want to break across pages. Bennett Poetry-example.lyx Description: Binary data
Verse margin
Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! \d
Re: Verse margin
On Tue, 2 Oct 2007, Donn Ingle wrote: Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! Have you searched for LaTeX packages or styles that are suitable for poems? Maybe it's better if you find those, and then try to make them work with LyX? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: Verse margin
On Tuesday 02 October 2007, Donn Ingle wrote: Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! Donn, There is an extensive discussion of verse formatting in the manual for the Memoir class (http://tug.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf) starting on page 195. It isn't a trivial problem, and it will require some use of Latex, but judging from the examples given can produce some very acceptable layouts. Les -- L. R. Denham Gentoo Linux 2007.1 Kernel 2.6.19-gentoo-r5 KDE 3.5.7
Re: Verse margin
Two suggestions: (1) Try to put the verse in a minipage (Box), then center the box or use an Hfill before it. (2) Only if that fails, try something like \setlength{\unitlength}{1cm} \begin{picture}(width, height) \put(x_coord,y_coord){\makebox(x_dim,y_dim)[position]{My verse.}} \end{picture} in ERT and replace the measures with useful numbers. position refers to the text's position in the box and can be l,r,b and so on. For example rb will give you text that is aligned with the right and bottom side of the makebox. I'm not sure if that works with \verse, though. Cheers, -- Christian Donn Ingle wrote: Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! \d -- Christian Liesen Universität Zürich Institut für Sonderpädagogik Sonderforschungsbereich Hirschengraben 48 8001 Zürich University of Zurich Institute for Special Education Research Unit Hirschengraben 48 CH-8001 Zurich Tel +41 44 634 3130 Fax +41 44 634 4941
Re: Verse margin
Les, I have been using that manual all along. If that's the best that Lyx Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I have tried 2 column mode, but can't figure a way to clear the first column. I have tried a table (in true old-fashioned html table-design fashion) with blank columns (to get the indenting), but it seems one can't have a subsection env. within a table cell. I thought there may be a boffin out there who can tell me which .inc or .layout file, and where, and how, to edit so that verse env. simply uses a larger indent. Thanks anyway :) \d
Re: Verse margin
On Oct 2, 2007, at 11:26 AM, Donn Ingle wrote: Les, I have been using that manual all along. If that's the best that Lyx Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I haven't really been following this thread, but perhaps this is what you want. Bennett Poetry-example.lyx Description: Binary data
Re: Verse margin
On Oct 2, 2007, at 11:40 AM, Bennett Helm wrote: On Oct 2, 2007, at 11:26 AM, Donn Ingle wrote: Les, I have been using that manual all along. If that's the best that Lyx Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I haven't really been following this thread, but perhaps this is what you want. Oops -- that version has some junk in the preamble that will cause you problems. Here is a corrected version that should typeset for you. Bennett Poetry-example.lyx Description: Binary data
Re: Verse margin
Bennet - Thanks a million for that file. It comes hot on the heels of Christian's advice about a minipage and from the looks of things it's a winner! I'm closing OpenOffice right now! \d
Re: Verse margin
On Oct 2, 2007, at 12:26 PM, Donn Ingle wrote: Bennet - Thanks a million for that file. It comes hot on the heels of Christian's advice about a minipage and from the looks of things it's a winner! I'm closing OpenOffice right now! Yes -- it was his advice I thought I'd provide an example of, since it's not an obvious way of doing what you seemed to want until you see it done. Notice that you can right-click on the Box (Minipage) button to get a Box Settings dialog, where you can change things like the width of the box. Bennett
Re: Verse margin
On Oct 2, 2007, at 2:03 PM, Donn Ingle wrote: While I have your help, how do I stack minipages on below the other so that if a poem is short enough for two or three to fit in the height of the page, they do? I have been mucking around with minipages and there's a large random element involved -- not much info in the help. At the moment they either insist on a page to themselves or they sort of overlap other text or the bottom of the page. I'm not sure precisely what the difficulty is, but here's another example with several poems right on top of each other. The first 2 poems that are side-by-side; this was obtained by adjusting the sum of their widths to be 100% of the line width, and by putting them on the same line, separated by a single space. All other poems are in their own paragraphs, which results in them getting stacked on top of each other. Note that minipages will not break across pages, as is clear from the 3rd poem -- the longer one -- that's in my example. I'm not sure what to tell you to do if you have really long poems that you want to break across pages. Bennett Poetry-example.lyx Description: Binary data
Verse margin
Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! \d
Re: Verse margin
On Tue, 2 Oct 2007, Donn Ingle wrote: Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! Have you searched for LaTeX packages or styles that are suitable for poems? Maybe it's better if you find those, and then try to make them work with LyX? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: Verse margin
On Tuesday 02 October 2007, Donn Ingle wrote: > Hello again, > How could I shift the left edge (margin?) of the verse environment > across to the right? I would like to have it further across the page. > > I'm not sure what class is the best for setting verse. Memoir seems to > work, but each poem is oddly staggered left and right. > > Ideally, I want: > 1. Poems and titles (which appear in toc) centered on page, left > aligned to a set margin. > 2. The option to center-align some poems (so they are symetrical) - > but still central to poems above and below it. > 3. The option to stagger lines (using hspace maybe) for interesting > layouts. > > Please give me a hand. I am thinking that OpenOffice might be the way > to go, but I don't want that kind of pain! > Donn, There is an extensive discussion of verse formatting in the manual for the Memoir class (http://tug.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf) starting on page 195. It isn't a trivial problem, and it will require some use of Latex, but judging from the examples given can produce some very acceptable layouts. Les -- L. R. Denham Gentoo Linux 2007.1 Kernel 2.6.19-gentoo-r5 KDE 3.5.7
Re: Verse margin
Two suggestions: (1) Try to put the verse in a minipage (Box), then center the box or use an Hfill before it. (2) Only if that fails, try something like \setlength{\unitlength}{1cm} \begin{picture}(width, height) \put(x_coord,y_coord){\makebox(x_dim,y_dim)[position]{My verse.}} \end{picture} in ERT and replace the measures with useful numbers. "position" refers to the text's position in the box and can be l,r,b and so on. For example rb will give you text that is aligned with the right and bottom side of the makebox. I'm not sure if that works with \verse, though. Cheers, -- Christian Donn Ingle wrote: Hello again, How could I shift the left edge (margin?) of the verse environment across to the right? I would like to have it further across the page. I'm not sure what class is the best for setting verse. Memoir seems to work, but each poem is oddly staggered left and right. Ideally, I want: 1. Poems and titles (which appear in toc) centered on page, left aligned to a set margin. 2. The option to center-align some poems (so they are symetrical) - but still central to poems above and below it. 3. The option to stagger lines (using hspace maybe) for interesting layouts. Please give me a hand. I am thinking that OpenOffice might be the way to go, but I don't want that kind of pain! \d -- Christian Liesen Universität Zürich Institut für Sonderpädagogik Sonderforschungsbereich Hirschengraben 48 8001 Zürich University of Zurich Institute for Special Education Research Unit Hirschengraben 48 CH-8001 Zurich Tel +41 44 634 3130 Fax +41 44 634 4941
Re: Verse margin
Les, I have been using that manual all along. If that's the best that Lyx & Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I have tried 2 column mode, but can't figure a way to clear the first column. I have tried a table (in true old-fashioned html table-design fashion) with blank columns (to get the indenting), but it seems one can't have a subsection env. within a table cell. I thought there may be a boffin out there who can tell me which .inc or .layout file, and where, and how, to edit so that verse env. simply uses a larger indent. Thanks anyway :) \d
Re: Verse margin
On Oct 2, 2007, at 11:26 AM, Donn Ingle wrote: Les, I have been using that manual all along. If that's the best that Lyx & Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I haven't really been following this thread, but perhaps this is what you want. Bennett Poetry-example.lyx Description: Binary data
Re: Verse margin
On Oct 2, 2007, at 11:40 AM, Bennett Helm wrote: On Oct 2, 2007, at 11:26 AM, Donn Ingle wrote: Les, I have been using that manual all along. If that's the best that Lyx & Co. can do for my layout needs, then I really am doomed. I don't want to learn latex right now, it's just a learning-curve too far for me. Forget poetry -- how would you inset a block of text (and it's subsection title) so that it's deeply indented into the page? I haven't really been following this thread, but perhaps this is what you want. Oops -- that version has some junk in the preamble that will cause you problems. Here is a corrected version that should typeset for you. Bennett Poetry-example.lyx Description: Binary data
Re: Verse margin
Bennet - Thanks a million for that file. It comes hot on the heels of Christian's advice about a minipage and from the looks of things it's a winner! I'm closing OpenOffice right now! \d
Re: Verse margin
On Oct 2, 2007, at 12:26 PM, Donn Ingle wrote: Bennet - Thanks a million for that file. It comes hot on the heels of Christian's advice about a minipage and from the looks of things it's a winner! I'm closing OpenOffice right now! Yes -- it was his advice I thought I'd provide an example of, since it's not an obvious way of doing what you seemed to want until you see it done. Notice that you can right-click on the "Box (Minipage)" button to get a Box Settings dialog, where you can change things like the width of the box. Bennett
Re: Verse margin
On Oct 2, 2007, at 2:03 PM, Donn Ingle wrote: While I have your help, how do I stack minipages on below the other so that if a poem is short enough for two or three to fit in the height of the page, they do? I have been mucking around with minipages and there's a large random element involved -- not much info in the help. At the moment they either insist on a page to themselves or they sort of overlap other text or the bottom of the page. I'm not sure precisely what the difficulty is, but here's another example with several poems right on top of each other. The first 2 poems that are side-by-side; this was obtained by adjusting the sum of their widths to be < 100% of the line width, and by putting them on the same line, separated by a single space. All other poems are in their own paragraphs, which results in them getting stacked on top of each other. Note that minipages will not break across pages, as is clear from the 3rd poem -- the longer one -- that's in my example. I'm not sure what to tell you to do if you have really long poems that you want to break across pages. Bennett Poetry-example.lyx Description: Binary data