[Tugindia] problem with lineno.sty

josef dev david_jsf at yahoo.com
Thu Apr 28 08:01:11 CEST 2005


Dear Sir,
 
I am using lineno.sty. It works well. I have some display math in the
document and want to adjust above and below space of equations. I can
do same by setting \abovedisplayskip and \belowdisplayskip, But my
requirement to adjust space is condition dependent, I want to use
\vspace*{} command to play with above and below space. When I use this
command, it have great impact on corresponding line number in which
this command placed, i.e. line no. do not align with the base of line.
Can I ask you for your expert comments on how to overcome of this
problem. I have pasted a small test file below.
Second is when I use \vadjust{\pagebreak} command in a line of a
paragraph, then the corresponding line no. do not generate.
I am eagerly waiting for your reply
I thanks for your support in advance
 
Thanks
David
 
------------------------------ cut from here -------------------------------------
 
\documentclass{article}
\usepackage[displaymath]{lineno}
\linenumbers
\begin{document}
This is sample file. This is sample file. This is sample file. This is
sample file. This is sample file. This is sample file. This is sample
file. This is sample file. This is sample file. This is sample
file.\vspace*{-6pt}
\begin{equation}
\int\limits^{n=1}_{n=0} = \Gamma_n + \Delta
\vspace*{-6pt}
\end{equation}
This is sample file. This is sample file. This is sample file. This is
sample file. This is sample file. This is sample file. This is sample
file. This is sample file. This is sample file. This is sample file.
\end{document}

------------------------------------------------------------------------------------------------------------------



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the tugindia mailing list