[OS X TeX] \linenumbers and only half of the page
Iraj Kalantari
I-Kalantari at wiu.edu
Wed Feb 21 21:58:05 CET 2007
This is a nice feature -- thank you for teaching me a new trick.
Is there a way to arrange for the line numbers to appear in, say, 50%
grey?
How about a way of numbering every 10th line?
(So that it is less distracting.)
Iraj.
On Feb 21, 2007, at 12:07 PM, Joshua Smith wrote:
> On Feb 21, 2007, at 9:57 AM, <stephenmoye at cox.net>
> <stephenmoye at cox.net> wrote:
>> A little Googling on comp.text.tex turned this up:
>>
>> \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}
>
> Thanks, that fixes my problem, but I cannot speak for Thomas (who
> originally started this thread). I see now that it is explained in
> the documentation. I just find manuals hard to read when the user
> commands are mixed with code explanation.
>
> Josh
>
>
>
> ------------------------- 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/
>
------------------------- 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