Results 1 to 3 of 3

Math Help - Some Latex questions (captions and Maple)

  1. #1
    Super Member Deadstar's Avatar
    Joined
    Oct 2007
    Posts
    722

    Some Latex questions (captions and Maple)

    How do you caption individual images within this kind of thing...

    \begin{figure}[h]
    \begin{center} $
    \begin{array} {cc}
    \includegraphics[width=7cm]{file1}
    \includegraphics[width=7cm]{file2}
    \end{array} $
    \end{center}
    \caption{Caption for WHOLE picture}\label{label}
    \end{figure}

    This produces 2 images side by side but I don't know how to caption each image.



    Next question.
    I'm having trouble putting my Maple code into latex.
    Anyone know a good way to do this?

    EDIT: Might have found a way to do first part. I need to download the subfig package apparently.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member Deadstar's Avatar
    Joined
    Oct 2007
    Posts
    722
    Ok I got the first part working using this code.

    \begin{figure}[h]
    \begin{center} $
    \begin{array} {cc}
    \subfloat[][subcaption1]{\label{fig:fig1}\includegraphics[width=7cm]{file1}}
    \subfloat[][subcaption2]{\label{fig:fig2}\includegraphics[width=7cm]{file2}}
    \end{array} $
    \end{center}
    \caption{Caption}\label{label}
    \end{figure}

    Now my question is how to I avoid having a letter before each subcaption.

    Like the first picture will be captioned... a) picture. How would I get rid of the a)?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Opalg's Avatar
    Joined
    Aug 2007
    From
    Leeds, UK
    Posts
    4,041
    Thanks
    7
    Quote Originally Posted by Deadstar View Post
    Now my question is how to I avoid having a letter before each subcaption.

    Like the first picture will be captioned... a) picture. How would I get rid of the a)?
    I haven't used this package myself, but according to The LaTeX Companion the subfigure is labelled by the macro \thesubfigure. Try redefining this by something like \renewcommand{\thesubfigure}{}, and the (a), (b), ..., should disappear.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: December 10th 2011, 07:40 PM
  2. Replies: 0
    Last Post: November 30th 2011, 03:25 PM
  3. Maple
    Posted in the Math Software Forum
    Replies: 0
    Last Post: April 22nd 2010, 03:37 PM
  4. LaTex inside of LaTex
    Posted in the LaTeX Help Forum
    Replies: 2
    Last Post: November 12th 2009, 12:07 PM
  5. Help with maple
    Posted in the Math Software Forum
    Replies: 0
    Last Post: April 5th 2009, 06:58 AM

Search Tags


/mathhelpforum @mathhelpforum