Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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]{}
share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
    
Thank you for directing me to this link. I will look into it. –  maths-help-seeker May 29 '12 at 11:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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