Results 1 to 8 of 8

Math Help - paragraph numbering, A4 layout, undefined figure references (reftex4)

  1. #1
    Newbie
    Joined
    Oct 2009
    Posts
    5

    paragraph numbering, A4 layout, undefined figure references (reftex4)

    Hi there,

    I'm using LaTeX to typeset my phys reports for uni. I've noticed three issues I can't seem to fix; not sure where I'm going wrong!

    1. I structure my report using \section, \subsection, \subsubsection and \paragraph. I like the paragraphs, but the paragraph numbering usually continues across sections (so I might for example have paragraphs a and b in subsection 1.1, but then in subsection 1.2 the next two paragraphs are labelled c and d instead of a and b.) However this is not always the case! In a recent, longer report I had: ... 1.3 a, b, c ... 2.1 d, e ... 4.3 a. So I am confused as to why this might be.

    2. I print on A4 and so have set up TeXshop to output pdfs as A4, but the right-hand margins are narrower than the left, and the bottom margins much wider than the top. (On the pdf itself, not a printer setup issue.) What can I do to correct this?

    3. When compiling the report, the console contains the error ' warning: there were undefined references' but I have taken care to label and refer to all figures consistently. I compile again but this does not change.

    thanks in advance!
    Sarah.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Oct 2009
    Posts
    5

    bump

    Any thoughts?
    Sarah
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member Focus's Avatar
    Joined
    Aug 2009
    Posts
    228
    2) Are you using the book format? You can manually adjust the margins with geometry, e.g.
    \usepackage[left=2cm,right=2cm,top=1cm,bottom=1cm]{geometry}

    Use the \oddsidemargin and \evensidemargin to adjust the odd and even pages.

    3) You should see a (?) if you have an undefined reference. It could just be a misspelling. Can you not pinpoint the line it complains about?
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    Oct 2009
    Posts
    5
    thanks,

    2) I'm using the report layout in revtex4. I'll give the geometry package a try.

    3) Yes, I do get the ?? in place of these references. I have checked to ensure there's no misspelling. Most of the references are fine, while others are not (all are defined using an identical format). On one occasion I replaced one stubbornly undefined reference with text; the next time I compiled the report, the reference following that one was now undefined (whereas it was not before that). So I am unsure as to where the issue arises.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Member Focus's Avatar
    Joined
    Aug 2009
    Posts
    228
    That sounds odd. By reference do you mean \ref or \cite?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Newbie
    Joined
    Oct 2009
    Posts
    5
    I'm using \ref , for example:
    .. Figure~\ref{visibilitycurve}...

    \begin{figure}
    \centerline{
    \includegraphics[width=85mm]{visibility_curve.pdf}
    }
    \caption{Image curves and their corresponding visibility curves}
    \label{visibilitycurve}
    \end{figure}
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Member Focus's Avatar
    Joined
    Aug 2009
    Posts
    228
    Are you sure all your labels are after the captions? You could try putting the label inside the caption ( i.e. \caption{Bla bla bla \label{gibberish}} )
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Newbie
    Joined
    Oct 2009
    Posts
    5
    ok I'll give that a try, thanks!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: November 8th 2010, 04:05 AM
  2. References
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: August 10th 2010, 05:33 AM
  3. Replies: 6
    Last Post: June 21st 2010, 01:39 AM
  4. references in metrization of moore space
    Posted in the Differential Geometry Forum
    Replies: 2
    Last Post: June 8th 2010, 09:44 PM

Search Tags


/mathhelpforum @mathhelpforum