R-beta: Suggestion for a very minor change to Rd.sty

ernst.molitor@uni-bonn.de ernst.molitor at uni-bonn.de
Sun Jul 5 19:39:09 CEST 1998


Dear R gurus and users, 

for some functions in some of the many packages available for R, with
the current definition of \Header given in Rd.sty, the heading bumps
into the surrounding words in documentation printed via LaTeX. To
alleviate this minor typographical mishap, I'd like to suggest the
change to R/doc/manual/Rd.sty included below as a context diff. With
this minor diff applied, the heading proper is included in a minipage
environment of appropriate size, which results in line breaks
introduced in the heading instead of bumping into the surrounding
keywords for somewhat longer headings...

Best regards,

Ernst

---
ernst.molitor at uni-bonn.de
Institute for Medical Microbiology and Immunology, Bonn

*** /opt/R-release/doc/manual/Rd.sty	Wed Jun 17 01:17:00 1998
--- Rd.sty	Sun Jul  5 18:38:43 1998
***************
*** 40,46 ****
      \begin{tabular}{c}
        \hline \rule[-0.275cm]{0cm}{0.8cm}
        \makebox[1in][l]{\texttt{#1}}
!       \makebox[\middle]{\emph{#2}}
        \makebox[1in][r]{\texttt{#1}} \\ \hline
      \end{tabular}
    \end{center}}
--- 40,51 ----
      \begin{tabular}{c}
        \hline \rule[-0.275cm]{0cm}{0.8cm}
        \makebox[1in][l]{\texttt{#1}}
!       \makebox[\middle]{
!         \begin{minipage}{\middle}
!           \begin{center}
!             \emph{#2}
!           \end{center}
!         \end{minipage}}
        \makebox[1in][r]{\texttt{#1}} \\ \hline
      \end{tabular}
    \end{center}}

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list