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 PNG
files generated by commonly used screenshots will have various problems during the insertion process. In this case, just convert the pictures into a eps
format. The bmeps
tools in the CTEX package can achieve the above requirements, use the command as follows
bmeps -c 1.PNG 1.eps
-c
The parameter indicates that a color picture 1.PNG
is generated, which is an input file and 1.eps
an 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}
H
Indicates a fixed picture position