Latex merging and inserting pictures related issues _latex

Source: Internet
Author: User

Latex picture Side

1. Share the title by side

\BEGIN{FIGURE}[HTBP]

\centering

\includegraphics{left}

\includegraphics{right}

\caption{anti-Qing fuming}

\end{figure}

2. Put each side, each with a title

\BEGIN{FIGURE}[HTBP]

\centering

\begin{minipage}[t]{0.3\textwidth}

\centering

\includegraphics{left}

\caption{Qingming}

\end{minipage}

\begin{minipage}[t]{0.3\textwidth}

\centering

\includegraphics{right}

\caption{repeatedly}

\end{minipage}

\end{figure}

3. Put the caption, share the title, each have sub headings

If you want two pictures to share a title, each with its own subheadings, you can use the \subfloat command provided by the SUBFIG macro package. The Subfloat command lacks a width parameter. Although we can use the \hspace command to adjust the distance of the child, the subheadings can only be as wide as the child graph itself, there will be a folded line.

To prevent the subheadings from wrapping, we can nest a minipage in the \subfloat because the latter is a width.

\BEGIN{FIGURE}[HTBP]

\centering

\subfloat[Qingming]{

\LABEL{FIG:IMPROVED_SUBFIG_A}

\begin{minipage}[t]{0.3\textwidth}

\centering

\includegraphics{left}

\end{minipage}

}

\subfloat[repeated]{

\label{fig:improved_subfig_b}

\begin{minipage}[t]{0.3\textwidth}

\centering

\includegraphics{right}

\end{minipage}

}

\caption{anti-Qing fuming}

\end{figure}

Subfigure Vertical Graphics using latex

Note the template you want to use the macro package \usepackage{graphicx} and \usepackage{subfigure},ieee is graphic horizontal, subfigure does not support \ line wrapping, and someone is minipage in subfigure{}. Wrap the line in minipage{}

\begin{figure}

\centering

\subfigure[the-subfigure]{

\begin{minipage}[b]{0.2\textwidth}

\includegraphics[width=1\textwidth]{fig1.eps} \ \

\includegraphics[width=1\textwidth]{fig2.eps}

\end{minipage}

}

\subfigure[the Second subfigure]{

\begin{minipage}[b]{0.2\textwidth}

\includegraphics[width=1\textwidth]{fig3.eps} \ \

\includegraphics[width=1\textwidth]{fig4.eps}

\end{minipage}

}

\end{figure}

The above appears in a single column. If you want to display across columns, you can use \begin{figure*}...\end{figure*}\begin{figure*}...\end{figure*} and modify the corresponding width parameters.


Latex Insert Picture related issues

/usepackage{subfigure}

/BEGIN{FIGURE}[H]

/centering

/subfigure[subfigurecaption]{

/label{fig.sub.1}

/includegraphics[width=0.4/textwidth]{figurename.eps}}

/subfigure[subfigurecaption]{

/label{fig.sub.2}

/includegraphics[width=0.4/textwidth]{figurename.eps}}

/caption{mainfigurecaption}

/label{fig.lable}

/end{figure}

Latex Sub-map emission

First use the macro package \usepackage{graphicx}, \usepackage{subfigure}

(1) Vertical graphics

Subfigure do not support \ Line, you can use Minipage placed in subfigure{}, in the minipage{} in exchange for

\begin{figure}

\centering

\subfigure[the-subfigure]{

\begin{minipage}[b]{0.2\textwidth}

\includegraphics[width=1\textwidth]{fig1.eps} \ \

\includegraphics[width=1\textwidth]{fig2.eps}

\end{minipage}

}

\subfigure[the Second subfigure]{

\begin{minipage}[b]{0.2\textwidth}

\includegraphics[width=1\textwidth]{fig3.eps} \ \

\includegraphics[width=1\textwidth]{fig4.eps}

\end{minipage}

}

\end{figure}

(2) Horizontal sub-graph

Use Latex's subfigure layout to place two graphs side by side.

\begin{figure}

\begin{minipage}[t]{0.5\linewidth}

\centering

\includegraphics[width=2.2in]{fig1.eps}

\CAPTION{FIG1}

\LABEL{FIG:SIDE:A}

\end{minipage}%

\begin{minipage}[t]{0.5\linewidth}

\centering

\includegraphics[width=2.2in]{fig2.eps}

\CAPTION{FIG2}

\LABEL{FIG:SIDE:B}

\end{minipage}

\end{figure}

There is another way: in some cases, there are times when you want to make a group of parallel shapes, each of which maintains its independence.

\begin{figure}

\centering

\subfigure[small Box with a Long caption]{

\LABEL{FIG:SUBFIG:A}%-percent label for the Subfigure

\includegraphics[width=1.0in]{graphic.eps}}

\hspace{1in}

\subfigure[big box]{

\LABEL{FIG:SUBFIG:B}% percent label for second Subfigure

\includegraphics[width=1.5in]{graphic.eps}}

\caption{two Subfigures}

\label{fig:subfig}% percent label for entire figure

\end{figure}

About Visio turning EPS

Many people are used to drawing in Visio (including me), but Visio cannot export the EPS format, so it has to be aided by Third-party software. Save with Visio as a *.emf format and then open with OpenOffice Draw, which can be exported to EPS format. When you export, you need to select an open picture, so that after you export the EPS, you will only include the contents of the *.emf picture. However, an EPS image exported in this way will get out of shape, such as a line that is often choppy, and the "Computer" shapes I have added to Visio will have a baffling shadow. Or maybe I didn't set it up well.

There is another better solution, and the exported EPS file is perfect. That is, the Visio graphic is printed as a PDF through the Acrobat printer, and then cut by GSview (GSview4.8). The specific process is as follows:

1 Edit picture file, save as PDF file

Install Acrobat, and print the edited picture as a PDF file under Visio and WOD

2 Convert to EPS file

Open the PDF file under Acobat and choose Save as an EPS file

3 to the EPS file cut

Open EPS file with GSview, select File-->ps to EPS, choose Automatic Cut, Save as another *.eps file

The use of Minipage

\begin{figure}

%\BEGIN{TABULAR}{CC}

\begin{minipage}{0.48\linewidth}

\centerline{\includegraphics[width=100px]{image1.jpg}}

\centerline{(a) result 1}

\end{minipage}

\hfill

\begin{minipage}{.48\linewidth}

\centerline{\includegraphics[width=100px]{image2.jpg}}

\centerline{(b) Results 2}

\end{minipage}

\vfill

\begin{minipage}{0.48\linewidth}

\centerline{\includegraphics[width=100px]{image3.jpg}}

\centerline{(c) Result 3}

\end{minipage}

\hfill

\begin{minipage}{0.48\linewidth}

\centerline{\includegraphics[width=100px]{image4.jpg}}

\centerline{(d) Result 4}

\end{minipage}

%\end{tabular}

\caption{example of placing a figure with experimental results.}

\label{fig:res}

\end{figure}


From:http://blog.sina.com.cn/s/blog_9612843f0101a3lc.html

Http://blog.sciencenet.cn/blog-561346-747243.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.