# Output: Right margin problem for a section* (standard font:typewriter,italic)

If it matters:
I use whichever version of LyX is available from the repository of
whichever Linux system I'm currently using. At the moment that means:
LyX 1.6.5 on Arch Linux
------------------------
Note: I'm NOT an LaTeX wizard, nor a professional writer So if I use an
incorrect name for something... Please bear with me.
------------------------

This is a work in progress that I work on when I can. I have doubts that
it'll ever get "published" but just in case, I want to keep the output
presentable.

I'm using book (more font sizes) with base size set to 14 so that my eyes
are capable of reading a printed document. I also have roman set to bookman.
Every thing else in document settings are the default values that were
originally set by LyX 1.5.x... But there are some ERT boxes inserted here
and there...

Now the problem:

If I understand correctly a "leftside page" normally gets a larger righthand
margin to leave room for binding the pages together. Which is fine with me.
But I have a short section* (about a page and a half with an 8.5" x 11"
page size and a base size of 14) that I wanted typeset just a little bit
differently to set it apart from the other text. I don't consider it
verse, and it's certainly not a quote of someone else's words. So I left
the environment set to standard but set the font to typewriter italic. At
this point I should mention that none of the ERT boxes I've inserted are
supposed to change margin settings. However when I view the output with DVI
or PDF, the righthand margin of this short section allows some of the lines
to get within about an quarter of an inch of the right hand edge of the
"paper".  And that's on the leftside page, there is a line on the
rightside page that actually bleeds off the paper...

I can compensate for this by redefining the environment as verse
where the rightside pages righthand margin stays about the same as that of
the leftside page.

I get similar, but slightly better results from setting the environment to
quotation. Like verse, the righthand margin appears the same for both the
leftside and rightside pages. But with quotation it's slightly better
because the closest it gets to the righthand edge of the "paper" is
approximately doubled to a half inch or so... But it's still not right.
And besides, Like I said, I don't want it formatted as verse. And I'm not
quoting anyone...

I've extracted the problematic section into a much smaller document that
includes the preamble, all applicable ERT boxes and a few dummy sections
and chapters to ensure the output formatting of the problem section
remains the same, etc... I will attempt to attach the resulting .lyx file
to this message. So someone smarter than me could maybe tell me what I'm
doing wrong. But I can't remember if attachments make it to this list via
gmane's usenet mirror. We shall see...    ;-7

--
|  ~^~   ~^~
|  <?>   <?>       Joe (theWordy) Philbrook
|      ^                J(tWdy)P
|    \___/         <<jtw...@ttlc.net>>
#LyX 1.6.5 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\textclass extbook
\use_default_options false
\language english
\inputencoding auto
\font_roman bookman
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 14
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 0
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\author ""

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
frontmatter
\end_layout

\end_inset

\end_layout

\begin_layout Title
Unspecified
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
setcounter{page}{0}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset Newpage newpage
\end_inset

\end_layout

\begin_layout Author
\begin_inset space ~
\end_inset

\begin_inset Newline newline
\end_inset

\begin_inset VSpace vfill
\end_inset

By Joseph Philbrook
\begin_inset Newline newline
\end_inset

\begin_inset Newline newline
\end_inset

\begin_inset Newline newline
\end_inset

\begin_inset Newline newline
\end_inset

\begin_inset Newline newline
\end_inset

The author claims all copy rights to the original content below.
\begin_inset Newline newline
\end_inset

This is a work in progress...

\end_layout

\begin_layout Part*
Unspecified
\begin_inset Newline newline
\end_inset

\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
setcounter{page}{0}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
pagenumbering{roman}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
setcounter{page}{1}
\end_layout

\end_inset

\end_layout

\begin_layout Section*
Authors notes:
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
\end_layout

\end_inset

Are not included in this excerpt.
Instead I mention that I've included ALL the ERT boxes excepting only a
few like the one on this page that cause section*s and chapter*s (that
I didn't include in this excerpt) to be listed in the TOC...

\end_layout

\begin_layout Standard
\begin_inset Newpage newpage
\end_inset

\end_layout

\begin_layout Section*
Unnamed prelude:
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
\end_layout

\end_inset

In this prelude several unspecified characters do and say several unspecified
things.
\end_layout

\begin_layout Standard
\begin_inset Newpage newpage
\end_inset

\end_layout

\begin_layout Section*
The Darkness Within
\end_layout

\begin_layout Standard

\family typewriter
\shape italic
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
\end_layout

\end_inset

There was an old wound hidden deep inside his heart.
It never quite healed, no matter how much time went by.
He hid it from himself.
Wrapped it up with what good times he could find.
Yet deep down the pain festered.
He covered it over with the many otherwise satisfactory accomplishments
of a long and purposeful life.
But every time he dared to look, the blackness in the center of his being
was a little bigger.
He took much solace from the many occasions he had been able to put an
end to the power mad schemes with which some of the strong were wrecking
evil upon the weak and defenseless.
But inside, he still felt hollow.
So he filled what was left of his heart with love and kindness for his
many friends.
And he made many more friends than he did enemies.
But the darkness within still grew.
It slowly ate away at him.
Each time he took note, he found less pleasure in fewer things.
Yet he stubbornly clung to his purpose.
He spent much time fooling himself into thinking he was happy.
But try as he might, he could not avoid the bittersweet memories of the
good times he had had with those dear ones that were forever lost.
And when thoughts of their loss came unbidden into his mind, there was
nothing that could even begin to hold back the tears.
He would cry until he could cry no more.
Then, for a time, he would embrace the sadness.
And seek once more, to atone for the evil events in his past.
He was well aware that few of them had ever been of his own doing.
But he would pay for them all none the less.
For he knew that when he gave himself fully to this task his heart would
be, for a time, at peace once more.
He also knew however, that all to soon the painful sadness would again
become too much.
And he would seek shelter from it.
Once again, He would lock it away deep inside his tortured heart.
And pretend to be happy.
It was then that the darkness within did grow.
\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
mainmatter
\end_layout

\begin_layout Plain Layout

\backslash
pagenumbering{arabic}
\end_layout

\begin_layout Plain Layout

\backslash
pagestyle{plain}
\end_layout

\end_inset

\end_layout

\begin_layout Chapter*
dark dreams...
\end_layout

\begin_layout Standard

\family typewriter
\shape italic
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
\end_layout

\end_inset

\family sans
\shape smallcaps
The dream aways started with something like this.
But he never realized that fact while he was dreaming it...
\end_layout

\begin_layout Standard

\shape smallcaps
\size small
Or was it the other way around.
He was never really certain if this was the way the dream began, or rather
if the last dream before waking, was always something like this just before,
actually waking.
He never could quite be sure...
But either way it always felt like this.
\end_layout

\begin_layout Standard
\begin_inset Newpage newpage
\end_inset

\end_layout

\begin_layout Chapter
Unspecified
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
\end_layout

\end_inset

In this chapter several unspecified characters do and say several unspecified
things.
\end_layout

\begin_layout Chapter
Also Unspecified
\end_layout

\begin_layout Standard
In this chapter, and 44 more like it, (so far) several more unspecified
characters do and say several more unspecified things.
But there are no more ERT boxes.
\end_layout

\end_body
\end_document