{floats} is about the floating environments figure, table and other, custom-defined floats, and concerns issues such as positioning, labelling, captioning, indexing and listing of said floats. For questions specifically about formatting a float caption, consider using {captions}.
0
votes
0answers
43 views
Latex subections inside figure - toc shows subsections
I try to put a lot of these elements inside my thesis:
\subsection{Maschine}
\begin{figure}[!ht]
\begin{center}
\begin{tikzpicture}
\node[fill=gray!10,text width=0.9\textwidth, draw, minimum height=1 ...
1
vote
0answers
18 views
Latex subsections inside figure - toc shows subsections [duplicate]
I try to put a lot of these elements inside my thesis:
\subsection{Maschine}
\begin{figure}[!ht]
\begin{center}
\begin{tikzpicture}
\node[fill=gray!10,text width=0.9\textwidth, draw, minimum height=1 ...
2
votes
0answers
29 views
Meaning of floattype in KOMA [duplicate]
Friends, I've been happily using KOMA for some time now, and yesterday I was intrigued by a particular option when using \DeclareNewTOC:
floattype = <number>: The numerical float type of the ...
3
votes
1answer
31 views
Figure numbering with section number, problem with subfigure
I changed my figure numbering to section-style numbering for my thesis:
\numberwithin{figure}{section}
That's fine, but the only problem that remains in the following MWE:
...
3
votes
1answer
43 views
LaTeX figure problems
I want to include a jpg to a LaTeX document, which I have done many times. Normally, I use put it in a figure environment, the code looks like this:
\documentclass[twoside]{article}
...
0
votes
0answers
26 views
Centering \inputminted inside a figure?
I'm using minted package to import some code and also kind of images using ASCII art. I've wrapped the \inputminted with \figure with a caption and all works fine.
The only thing I can't accomplish ...
0
votes
0answers
35 views
inserting figure or table affect \chapter and \section
I am using scrreprt with this preamble:
\documentclass[fontsize=12pt,a4paper,oneside,
listof=totoc, bibliography=totoc, titlepage, headsepline, DIV12,
]{scrreprt}
I have a document with \chapter ...
1
vote
0answers
41 views
Remove the unnecessary white space between figures and the sentences
This is the command I used to have the figures.
\begin{figure}[h]
\centering
\includegraphics[scale=0.2]{ch5}
\caption{lalalalal}
\label{llaa}
\end{figure}
However, ...
1
vote
0answers
41 views
How to position wide figures in two column documents
I want to an image at the bottom of a page in a two column document. Using figure* causes the image to jump to jump to the bottom of the document. Is there a way to do avoid this?
Here is an example:
...
1
vote
2answers
28 views
Image caption within \newfloat
I am using the float package to create my own floats. Now I also want to add an image with its own caption inside, but the caption belongs to the outer float. Is it possible to create something like ...
3
votes
1answer
36 views
Labels do not increment
In my document, I have a lot of short case studies, which I would like to number, just like figures. So I am using this:
\subsubsection{Case study \ref{cs:this}: Title}
\begin{figure}
\label{cs:this} ...
3
votes
2answers
43 views
Placing image in second column of two column page
I would like to use a two column layout and have images and text in the second column begin at the top of the page and continue down with even spacing. I've tried using the multicol package as well, ...
1
vote
1answer
34 views
to remove unnecessary space between text and figure on same page
What is the command that I can used to remove unnecessary space between text and figure on same page?
Below command doesn't do anything
\newcommand{\squeezeup}{\vspace{-2.5mm}}
3
votes
1answer
50 views
Continuous numbering of custom float with caption package
I defined a custom environment that allows me to define mathematical problem statements and puts them in a box. Since I have quite a few of them in my report, I decided to properly caption them, which ...
4
votes
1answer
61 views
Implementing marginfigure
sorry for the absolutely beginner question here.
I've been looking at the tufte-latex class, specifically the tufte sample book. It makes use of marginfigures, which I believe are provided by the ...
2
votes
0answers
33 views
Ensure float appears directly after `\afterpage` and `landscape`
I have a large (full page) landscape figure that I would like to appear on the page opposite to a large (full page) portrait figure. The landscape figure is generated like so:
\afterpage{
...
1
vote
1answer
27 views
Hyperref a subfloat figure
Here is a sample code from my document,
\begin{figure}[H]
\centering
\begin{tabular}{cc}
\subfloat[$a=0.2$]{\includegraphics[width=2in]{Chapters/BMethods/figures/Airy_Rings_0.pdf}}~~~~~&~~~~~
...
0
votes
2answers
72 views
Adding image file in Latex
I'm trying to add a image file in the middle of report but it always go in the next page.
\begin{figure}[h]
\centering
\includegraphics[angle=45,width=62mm]{images/X}
\caption{Diagram}
...
2
votes
1answer
29 views
Figure caption runs off page
How can I get latex to place my figure sufficiently at the top of my page to allow for my caption to nicely fit at the bottom?
\documentclass{amsart}
\usepackage{graphicx}
\begin{document}
...
1
vote
0answers
43 views
Text Wrap with algorithm2e
I'm using algorithm2e for algorithms and for some of the longer algorithms, (eyeballed at > 50% of a page) there is no other text on the page with just an embarrassing amount of white space above and ...
0
votes
0answers
31 views
figure reference links go just below the figure [duplicate]
Is it common that when you click the reference it takes you just below the figure?
If I scroll up, the figure is right there. I am using the standard procedure
\begin{figure}[H]
\centering
...
3
votes
0answers
71 views
How to have headers, section headings, and figures expand into the margin?
I am interested in the following page layout.
How to have headers in margins (up to margin)
Is it possible to start section headings from margin
How to set figures occupy the margins.
I can ...
0
votes
0answers
30 views
Text and caption overlapping on includepdf image
I have recently discovered includepdf for a cropped pdf image I have wanted to insert. However, both the surrounding text and the image caption itself overlaps the image, what do I do?! I've tried ...
3
votes
0answers
16 views
revtex incompatible with dblfloatfix?
This minimal example makes my latex/pdflatex from MiKTeX (or TeX Live of a colleague) crash:
\documentclass{revtex4-1}
\usepackage{dblfloatfix}
\begin{document}
Hello World!
\begin{figure}
...
0
votes
1answer
35 views
Cannot include caption on figure [closed]
I'm having trouble including a caption on a figure in my thesis. The code I'm using to do this is below:
\begin{figure}\label{FillExample1}
\includegraphics[scale=0.8]{FillExample.png}
%\caption{ ...
2
votes
1answer
48 views
Arrange multiple graphics inside a subfloat
I'm using the subfig package to arrange multiple graphics inside a figure. I'm trying to arrange two graphics vertically inside a subfloat but keep getting an error. I'd like the figures to be ...
8
votes
1answer
41 views
Prevent the insertion of figure after the footnote
How can I prohibit putting figure after the footnote? I have pretty simple LaTeX code that has a lot of figure environments, and I see the figure is inserted after the footnote.
\documentclass[10pt, ...
4
votes
1answer
62 views
Using LyX, how do you put a table and a figure side by side and caption them Table XX and Figure XX?
I have found solutions for them to be done in normal TeX, but how do I do this in LyX? What I wish to obtain is something like that shown in Table and Figure side-by-side with Table caption above, ...
1
vote
0answers
17 views
latex: how to insert oneside figures in a twosided article?
I'm writing a 2 sided article with latex, but I'd like to insert a figure in appendix with width of the whole page to make it clearer. I tired with this script but it did nothing...
...
0
votes
1answer
27 views
Adding \includegraphics totally abolishes all \citep and \ref links [closed]
I have something very peculiar, and I have been trying for several hours now, without success. I will try to describe it as well as possible. I must say beforehand that I used Word2010 as editor. So I ...
0
votes
0answers
33 views
Chapter header is not placed right before pagebreak
I have a document that is followed by a set of appendices. In one of these appendices, I want to include flowcharts as figures that take a whole page. The way I want it to look is as follows:
First ...
0
votes
0answers
15 views
Different number in image caption and in ref to figure [duplicate]
I have figure with image like this:
\begin{figure}[h!]
\centering
\label{fig:controlsOpacity}
\includegraphics[width=120mm]{img/image_01.png}
\caption{some text}
\end{figure}
then I am referencing ...
1
vote
0answers
25 views
Fine Tuning Float Positioning [duplicate]
How can I make a float have a dedicated page AND be always placed on an EVEN page (ie left page of double sided book)?
I explicitly do not want to have certain floats taking up a whole page on the ...
1
vote
0answers
33 views
Latex float so no stretching appears, but everything is placed on top
It has probably been already answered, but I cannot find it.
If I include images as floats, LaTeX places the last one on a single page in the middle. How do I make LaTeX to put in on the top of the ...
0
votes
0answers
71 views
Unable to use subfigure package together with subcaption packages [closed]
I am using following code to place two sub figures one below another but it is giving multiple error
\begin{figure}[ht]
\centering
\subfigure[Feb 25]{
...
0
votes
1answer
41 views
Is it possible to add hidden text to a caption that only appears in the table of figures? [duplicate]
I want to add additional information about some figures that should only show up in the list of figures. Is this possible?
4
votes
1answer
75 views
Caption placement for new float in tufte-book class
I am using the tufte-book document class and I am trying to create a new float environment for example boxes that will include captions in the right margin similar to table/figure captions.
However, ...
15
votes
1answer
96 views
Order of float types on float pages
Is it possible to always have a certain type of float, i.e. in my case figures or tables, come first when they end up on a float page? I don't want to change the order in the source.
0
votes
0answers
32 views
LaTeX numbering one figure incorrectly (Figure 2 instead of Figure 2.1) [duplicate]
All of my figures seem to be referencing correctly except for one. I have
Text text text \ref{fig:label}.
\begin{figure}
\begin{center}
<TikZ Drawing>
\end{center}
...
2
votes
1answer
50 views
ieeetran caption question
In the ieeetran how to, they are using caption with their examples; however, latex tells me not to use caption.
So if I use subfloat, all my figures are labeled as such (a), (b) and don't have a main ...
0
votes
0answers
37 views
line spacing in lstinputlisting with floats
I have a document with many code listings using \lstinputlisting. Some are floats for convenience and some (multipage listings or others that need explicit placement) do not float.
If the listing ...
0
votes
0answers
23 views
let latex decide where to place a picture in multicol environment
I have a three column text with floating pictures. The whole latex code is made by scripting. The pictures are sometimes badly placed, so that the text is streched out (vertical space in between ...
0
votes
0answers
21 views
Use a column in a twocolumn layout only for images when requested
to present additional informations I would like to use one column of a twocolumn layout, whichs moves to a certain header.
That would mean that all written informations should be presented in the ...
5
votes
1answer
77 views
How can I give the same figure number to five different figures on five different pages?
How can I give the same figure number to five different figures on five different pages using latex? For example, fig. 1.1, fig. 1.1 cont'd (player I), fig. 1.1 cont'd (player II), fig. 1.1 cont'd ...
1
vote
0answers
14 views
Figure section including image goes above the section definition [duplicate]
Trying to use the following code:
\subsection {Shop}
\begin{figure}
\makebox[\textwidth][c]{
\includegraphics[scale=0.65]{shop.png}
}
\caption{Shop Tab}
\label{fig:shopTab}
...
3
votes
1answer
67 views
Floating longtable in Latex
I have a short table but I want to use the longtable environment for it because I have also some other long tables in my document and I want they have the same appearance. However, I do not know how ...
2
votes
1answer
57 views
Latex Section header and figure won't print on same page
I'm trying to print a section that has only figures (no text aside from captions). I have a figure that clearly does not take up a whole page (it takes up half a page at most), but for some reason I ...
8
votes
2answers
86 views
Extra page at beginning of appendix containing big figures
I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures.
...
0
votes
1answer
50 views
How to solve hyperref anchor warnings? [duplicate]
I'm writing a report document, at some point I create a new section inside a chapter and I got this message from sharetex LaTeX compiler:
main.tex:122 [hyperref] The anchor of a bookmark and its ...
1
vote
0answers
36 views
includegraphics stopped working after including another graphic [closed]
Currently using Texmaker and using this line of code:
\begin{figure}[h!]
\includegraphics[scale=.5]{Figures/Blah}
\caption{\label{Blah} BLAH BLAH}
\end{figure}
Everything worked with several other ...


