Showing posts with label figure. Show all posts
Showing posts with label figure. Show all posts
Friday, June 17, 2016
Convert latex equation to png
A nice web resource to convert latex equation to .png figures is latex2png
Friday, January 16, 2015
Placing a figure here, I said right here!
Sometimes the LaTeX engine decides not to insert the figure exactly where we want, and we want it right there. Well [h] or [h!] were the options I have tried so far, but they do not work well all the time, however if the figure is inserted with [H] option, the engine will not decide differently, even if next page or other things would ruin the layout, so I suggest to use
\begin{figure}[H]For more info you might check here.
...
\end{figure}
Monday, February 17, 2014
How to prevent figures and tables from floating
Many times I received messages like
LaTeX Warning: `!h' float specifier changed to `!ht'.
resulting my figures / tables appearing on the top of the page, however I wanted to place the figure _exactly_ where at that position.
TThe solution I found here is to use the package float
\usepackage{float} ... \begin{figure}[H] ... \end{figure}
Thursday, February 28, 2013
How to use .tiff figures in MATLAB
Well, I was digging deep, and this issue does not seem to be solved :(
The best thing to do is to use png, pdf or eps instead.
When using linux the imagemagick package can be used for example as
The best thing to do is to use png, pdf or eps instead.
When using linux the imagemagick package can be used for example as
$ convert myfile.tif myfile.pdf
Wednesday, October 10, 2012
How to put two figures next to each other
Use the minipage command, and the epsfig package e.g.
This, and other possible ways to put figures next to each other can be found here:
http://www.cse.iitd.ernet.in/~bagchi/latex-tips.html
\begin{figure}[h] \hfill \begin{minipage}[t]{.45\textwidth} \begin{center} \epsfig{file=figure1.eps, scale=0.5} \caption{figure 1} \label{fig-tc} \end{center} \end{minipage} \hfill \begin{minipage}[t]{.45\textwidth} \begin{center} \epsfig{file=figure2.eps, scale=0.5} \caption{figure 2} \label{fig-tc} \end{center} \end{minipage} \hfill \end{figure}
This, and other possible ways to put figures next to each other can be found here:
http://www.cse.iitd.ernet.in/~bagchi/latex-tips.html
Labels:
figure,
graphics,
graphicx,
next to each other
Tuesday, July 3, 2012
Include figures from a separate directory
It is often a good idea to have the figures separated into a folder. This can be done using the \graphicspath command as
This will tell the compiler to look up the figures from the mypics directory in the document root. Don't forget to include the graphicx (or similar) package.
\graphicspath{{./mypics/}}after the includes.
This will tell the compiler to look up the figures from the mypics directory in the document root. Don't forget to include the graphicx (or similar) package.
Thursday, April 12, 2012
How to place figures / images inside a table
Figures and images can be placed within tables, but even into other environments, or without environment. A good description is available here:
http://texblog.org/2008/02/04/placing-graphicsimages-inside-a-table/
Thank you J. !
http://texblog.org/2008/02/04/placing-graphicsimages-inside-a-table/
Thank you J. !
Subscribe to:
Posts (Atom)