[Segtex] Re: comments on geophysics.cls
Sergey Fomel
sergey.fomel at gmail.com
Thu Jul 7 18:00:42 CDT 2005
Rodrigo,
Thank you for your suggestions. I hope you don't mind my sharing them
with the list.
On 6/29/05, Rodrigo Fuck <rfuck at mines.edu> wrote:
> 1)\appendix has no effect, only works if I use the class defined \append
> command for appendices
\append does more than a regular LaTeX \appendix: it sets the
numbering of equations and figures in the proper style. I could not
figure out how to accomplish that with simply redefining the \appendix
command.
> 2) figures are only plot at the end of manuscript if the \plot command is
> used, i.e., figures declared on the text with
> \begin{figure}
> \end{figure}
>
> are not put at the end. This also causes the list of figures to be wrong.
> For instance, if one defines figure 1 with \plot and then another 5
> figures are set within figure environment, the first figure is the only one
> plotted at the end of the document and its number will become figure 6,
> being listed at the end of the LoF. If no \plot command is used no LoF will
> be produced as well.
>
> In the end I used the package endfloat.sty to put my figures at the end of
> manuscript, which also has a handy option that writes "[figure # about
> here]" in the manuscript at the original position of the figure in the
> latex file. I am not sure if that should be the case for geophysics
> manuscripts, though...
I have added an "endfloat" option, which disables all \plot macros and
lets the user work with the standard "figure" and "table"
environments. Of course, you should not mix the two.
For those of us using \plot commands, it would be easy to add the
"[figure # about here]" feature. Would that be helpful?
> 3) I am using also the hyperref package and for some reason I cannot fully
> understand the bookmarks are not output when the pdf file is generated....I
> am not sure this is some incompatibility between hyperref and geophysics.cls
> or some error caused by declarations like
> \ifpdf
> \usepackage[pdftex,bookmarks]{hyperref}
> \else
> \usepackage[dvips]{hyperref}
> \fi
Bookmarks are not generated because geophysics.cls uses \section* in
place of \section (sections are not numbered and are not entered in a
table of contents). A workaround is to use an explicit \pdfbookmark
macro in hyperref.
> 4) another thing is that I think the class should use mathtmpx package as an
> option rather than requiring it...I really don't like those fonts,
> especially for typesetting math. I understand that this is a personal taste,
> but I think to bundle this in the class is to make it less flexible. Users
> can always choose what fonts they want by loading the font packages...
That is true. I have removed loading of mathtmpx. There was a problem
before with LaTeX generating limited-resolution bitmap fonts unless
proper PostScript fonts were loaded. It does not seem to be a problem
anymore with the latest LaTeX installations that use Type1 versions of
Computer-Modern fonts.
Sergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geophysics_endfloat.pdf
Type: application/pdf
Size: 152456 bytes
Desc: not available
Url : http://listserver.seg.org/pipermail/segtex/attachments/20050707/965b9e3b/geophysics_endfloat-0001.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geophysics_example.pdf
Type: application/pdf
Size: 153613 bytes
Desc: not available
Url : http://listserver.seg.org/pipermail/segtex/attachments/20050707/965b9e3b/geophysics_example-0001.pdf
More information about the Segtex
mailing list