* Christian Ebert on Monday, December 05, 2005 at 14:00:33 +0100:
> Hello,
>
> [ LilyPond 2.7.20 ]
>
> In the following example the bar number pushes the staff into the
> right margin:
A workaround would be something like the following after getting
the size of the overfull hbox out of the logfile.
#v+
%\version "2.7.15"
%\documentclass[a5paper,pagesize]{scrartcl}
\documentclass[a5paper]{article}
% outcomment following line to see grid
%\usepackage[colorgrid,gridunit=pt]{eso-pic}
\usepackage{graphics}
\makeatletter
\newenvironment{lilyleft}[1]{%
\list{}{%
\setlength\leftmargin{-#1}%
\setlength\listparindent\parindent
\setlength\itemsep\parskip
\setlength\itemindent\z@
\setlength\topsep\z@
\setlength\parsep\parskip
\setlength\partopsep\parskip
[EMAIL PROTECTED]
\setlength\labelwidth\z@
[EMAIL PROTECTED]@ne
}\item\relax
[EMAIL PROTECTED]@ne\endlist}
\makeatother
\begin{document}
Text.
\noindent
\rule{\textwidth}{1.5pt}
\begin{lilyleft}{4pt}
\begin{lilypond}
melody = \relative c' {
c d e f g a b c \break
c d e f g a b c \bar"||"
}
\score { \melody }
\end{lilypond}
\end{lilyleft}
Text.
\noindent
\rule{\textwidth}{1.5pt}
\begin{lilypond}
melody = \relative c' {
c d e f g a b c \bar"||"
}
\score { \melody }
\end{lilypond}
Text.
\end{document}
#v-
Well ...
c
--
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond