LaTex tips

LaTex tips

Here are the various tips collected by the author in the process of using LaTex

Problems inserting pictures

LaTex can automatically typeset pictures so that we don’t care about the position of the picture. However, LaTex does not implement automatic typesetting for all pictures. For example, the PNGfiles generated by commonly used screenshots will have various problems during the insertion process. In this case, just convert the pictures into a epsformat. The bmepstools in the CTEX package can achieve the above requirements, use the command as follows

bmeps -c 1.PNG 1.eps

-cThe parameter indicates that a color picture 1.PNGis generated, which is an input file and 1.epsan output file.
At this time, when a typical picture sentence is inserted

\begin{figure}[H]
\centering
\includegraphics[scale = 0.5]{1.eps}
\caption{name}
\label{fig5}
\end{figure}

HIndicates a fixed picture position

Guess you like

Origin blog.csdn.net/NelsonCheung/article/details/109129744