[OS X TeX] \linenumbers and only half of the page
stephenmoye at cox.net
stephenmoye at cox.net
Wed Feb 21 18:57:47 CET 2007
---- Joshua Smith <joshua.smith at ucsf.edu> wrote:
>
> On Feb 21, 2007, at 8:22 AM, Peter Dyballa wrote:
>
> > Then you could present this minimal example ...
>
> Here is my minimal example:
>
> \documentclass{article}
> \usepackage{amsmath}
> \usepackage{lineno}
>
> \begin{document}
>
> \linenumbers
>
> \section*{Mathematical Model}
>
> The application of poroelasticity to the consolidation of brain and
> neoplastic tissues is well established. Considering brain and
> neoplastic tissues as homogeneous, isotropic, poroelastic materials
> and assuming infinitesimal deformation, the governing differential
> equations are
> \begin{gather}
> G \; \nabla^2 \vec{u} + \frac{G}{1 - 2 \nu} \; \nabla (\nabla \cdot
> \vec{u}) - \alpha \; \nabla p = 0 \label{Naviers_equations} \\[6pt]
> %
> \alpha \frac{\partial e}{\partial t} + \frac{1}{M} \frac{\partial p}
> {\partial t} - \kappa \; \nabla^2 p = L_{p} \frac{S}{V} (p_{e} - p),
> \label{pressure_diffusion_equation}%
> \end{gather}
> where the variable $\vec{u}$ is the displacement vector of the
> tissue, $p$ is the interstitial fluid pressure, and $e = \nabla \cdot
> \vec{u}$ is the dilatation.
>
> \end{document}
>
> I only get three line numbers: 1 for Mathematical Model, and 2 and 3
> for the last two lines. I get nothing in between.
>
> Thanks,
> Josh
>
A little Googling on comp.text.tex turned this up:
%%=====8><-----%%
\documentclass{article}
\usepackage{amsmath}
\usepackage{lineno}
\begin{document}
\linenumbers
\section*{Mathematical Model}
The application of poroelasticity to the consolidation of brain and
neoplastic tissues is well established. Considering brain and
neoplastic tissues as homogeneous, isotropic, poroelastic materials
and assuming infinitesimal deformation, the governing differential
equations are
\begin{linenomath} %%<<----- NOTICE
\begin{gather}
G \; \nabla^2 \vec{u} + \frac{G}{1 - 2 \nu} \; \nabla (\nabla \cdot
\vec{u}) - \alpha \; \nabla p = 0 \label{Naviers_equations} \\[6pt]
%
\alpha \frac{\partial e}{\partial t} + \frac{1}{M} \frac{\partial p}
{\partial t} - \kappa \; \nabla^2 p = L_{p} \frac{S}{V} (p_{e} - p),
\label{pressure_diffusion_equation}%
\end{gather}
\end{linenomath} %%<<----- NOTICE
where the variable $\vec{u}$ is the displacement vector of the
tissue, $p$ is the interstitial fluid pressure, and $e = \nabla \cdot
\vec{u}$ is the dilatation.
\end{document}
%%=====8><-----%%
Hope that helps.
Stephen
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list