1

Referring to cannot use \caption under minipage, When I use the solution provided to the question in link above, in order to include images with latex math fonts embedded into them and place them side by side, the images overlap. For this to happen I use \input{} instead of \includegraphics{} into my code. The code now looks like this:

  \noindent\begin{minipage}{.5\textwidth}
  \centering
  \input{fig1.pstex_t}
  \captionof{figure}{fig 1}
  \label{fig:fig1}            
  \end{minipage}%
  \begin{minipage}{.5\textwidth}
  \centering
  \input{fig2.pstex_t}
  \captionof{figure}{fig 2}
  \label{fig:fig2}             
  \end{minipage}

I want to scale them to fit these correctly. Is this possible? if yes, how can I do this?

I have tried editing the .pstex_t files to scale the images. This does scale the images but the latex fonts get placed incorrectly outside the figure. Using the following does not compile:

    \input[width = .5\textwidth]{}
3

No you certainly will not be able to scale your images by using an optional argument to \input. If and how you can scale the images depends on the content of the files. Looking at the extension you can perhaps use \resizebox or \scalebox as described here:

http://epb.lbl.gov/xfig/latex_and_xfig.html#picsize

1
  • Thank you for directing me to this link. I will look into it. – maths-help-seeker May 29 '12 at 11:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.