Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!hanche From: hanche@imf.unit.no (Harald Hanche-Olsen) Newsgroups: comp.text.tex Subject: Re: Side by side figures in LaTeX Message-ID: Date: 6 May 91 13:56:13 GMT References: <1991May6.033627.24887@cs.ubc.ca> Sender: news@ugle.unit.no Organization: The Norwegian Institute of Technology, Trondheim, Norway. Lines: 33 In-Reply-To: scharein@cs.ubc.ca's message of 6 May 91 03:36:27 GMT In article <1991May6.033627.24887@cs.ubc.ca> scharein@cs.ubc.ca (Robert Scharein) writes: Does anybody know of a way to place two figures (or tables) side by side in a LaTeX document? Yes, anybody knows :-) No, seriously, ... It seems that LaTeX puts the figures in a \parbox of width \textwidth so it would not seem possible without changing \textwidth in the middle of the document. I believe that the figure and table environments are very badly named. THE figure ENVIRONMENT DOES NOT MAKE A FIGURE! What it makes is a float: A box that can be moved to wherever the output routine feels like putting it (subject to certain constraints). Similarly for the table environment: The only diffence between the two (I believe) is how the \caption command works. You see, the \caption command within the figure environment is what really defines the figure! Now, there is nothing to stop you from having two or more \caption's (or none!) inside your figure environment. If the environment had been named "figures" instead, I believe fewer people would be confused. So, the answer to your question is simple enough: Put each of your two figures including their \caption inside a \parbox, and set the two boxes side by side inside the figure environment. (The \parbox is so the \caption command will know how wide it must be). Warning: I have not tested this, and no doubt you will discover pitfalls. But this is at least in principle how I would do it. - Harald Hanche-Olsen Division of Mathematical Sciences The Norwegian Institute of Technology N-7034 Trondheim, NORWAY