{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}.

learn more… | top users | synonyms (2)

1
vote
1answer
48 views

two column, landscape page

I'm writing an article, with 2 columns. Because my picture is too large I want to put it on a new landscape page. So I used the following code: \newgeometry{left=3.0cm,bottom=30mm,top=20mm} \...
1
vote
1answer
40 views

How to insert figures with two column break

I need to insert some plots with one column in a two column style. How can break it. I use the IEEE journal paper style.
1
vote
1answer
25 views

issue with subfigures top alignment [duplicate]

I have three figures in a row but they are not aligned properly. the third one is a little bit upper than the other ones. \begin{figure}[H] \begin{subfigure}{.3\textwidth} \vspace{...
1
vote
1answer
54 views

Force two last bars down in figure of stacked bars

I want to illustrate data with stacked bars using tikz in ShareLaTeX. I'm working with two files: a data file called "Value of Crowdfunding by type.txt" and the document where I'm working in called "...
1
vote
2answers
98 views

How can I set a legend outside subfigures?

I'm making a figure with three subfigures inside of it. I'd then like to create a legend on the top left of the figure. Currently I've created the legend in the third subfigure but it would be ideal ...
1
vote
3answers
52 views

Figure inside a table, problem formatting text

I having some trouble with the text not beeing at the top inside the tabular when i add the image to the column beside it... I've tried to use wrapfigure, mixing with multirows and multicolumns and I'...
1
vote
1answer
37 views

How can I independently number figure pages?

I have a document where all the figures are put on separate pages (sometimes more than one figure to a page, which is fine). This is achieved using the \begin{figure}[p] option in the figure ...
1
vote
1answer
71 views

How to patch a starred environment

I would like to translate my approach to center all figure environments to figure* environments. How? \documentclass[peerreview]{ieeetran} \usepackage{xpatch} % \def\figure{\def\@floatboxreset{\reset@...
1
vote
1answer
19 views

Need to insert a reference (right-centered) after a caption

I have a small problem. Please have a look at the Screenshot. What I need to do is to put one more empty line BEFORE (Khan et al., 2011, 30). When I try to do this, it always moves the citation back ...
1
vote
1answer
22 views

Setting different environment setup depending on the location in two column (also considering the figure environment)

I asked about using listings environment to put the line numbers left or right side according to the location. Setting different environment setup depending on the location in two column The code ...
1
vote
1answer
70 views

Side by side figures portrait landscape

I am trying to include two figures one is of portrait kind (tall) and other landscape (wide) kind. I am using the code as below \documentclass[11pt]{scrbook} \begin{document} \begin{figure}[ht] \...
1
vote
2answers
95 views

How do I obtain arbitary precision calculation within LaTeX?

I'm interested in using a package that provides arbitrary calculation within LaTeX. I need mathematical functions such as exp(), sin(), cos(). Does such a package exist? If not, which package ...
1
vote
1answer
86 views

Centering figure on Landscape A3 page

I've been attempting to insert a figure on a landscape A3 page in an A4 document, but I proves hard. Ideally, the figure would fill the whole page (It's an A3 figure), but it's more important with ...
1
vote
1answer
60 views

twocolumnfalse overlaps Image and Text

I am writing a document in the two column format and wished to spread an image spanning both the columns. So,my code snippet for the image is as follows: \twocolumn[\begin{figure} \begin{@...
1
vote
1answer
76 views

Paste command no longer working in lyx

I have been using lyx for a while and everything was working smoothly. Recently, however, I tried deleting a float figure and inserting it at a different point in the document. Following this question ...
1
vote
1answer
47 views

Ordering subfigures inside a figure environment

How can I order the subfigures such that subfigure a,b,c is ordered one above the other in the left side of the figure and only subfigure d is in the right side of the figure? \documentclass[11pt]{...
1
vote
1answer
79 views

How to hide axis line leaving axis label?

I would like to hide the black box but not the label of x axis and y axis. The code I used is: \begin{tikzpicture} \begin{axis}[ ybar stacked, ymin=0, %width=\textwidth, height=6cm, ...
1
vote
1answer
58 views

Multicolumn figure caption?

I have a landscape figure in a portrait article inserted as a sidewaysfigure* from package rotating. Now, when I add (also landscape) caption to the figure, the lines become ca 25 cm long, which is ...
1
vote
1answer
56 views

Figure textwidth and badbox

I am using a documentclass requried by a journal, which also defines the format of a picture. I am using the following code for expanding the figures to the page width and getting badbox error. What ...
1
vote
1answer
138 views

Figures and text side by side

I'm struggling to put a series of five graphics side by side with the normal text. The figures are put as subfloat and placed inside a common figure environment to be able to give them a common ...
1
vote
1answer
114 views

How to remove the blank line above the table in beamer

I want to insert a table in my beamer, but the there's a blank line above the table, how can I remove the blank line to make the table's top align with the text on the right This is the MWE \...
1
vote
2answers
80 views

How do i have capital name of figure? [duplicate]

my figures in latex must have caption like this: FIGURE 1. figure name which command gives me this capital figure name? \documentclass[11pt,a4paper]{article} \usepackage{graphicx} \usepackage{...
1
vote
1answer
77 views

Subfigures on next page cause text not come in correct order

I have a problem when using subfigures: When there is not enough space for the two side-by-side subfigures they are put on the next page, which is fine of course, but then the text following the ...
1
vote
1answer
98 views

Prevent pagebreak between section header and figure

In a document, I have an appendix with several screenshots, i.e., the different figures are displayed without any descriptive text right after the section header. I notice, however, that in several ...
1
vote
1answer
68 views

How do I add subfigures in an Informs template

In my own Tex file, I pieced together four subfigures into one.(See the attached image below.) And my code was the following: \begin{figure}[h] \centering \subfigure[$\rho^2-\theta_1$ and $\rho^2-\...
1
vote
2answers
136 views

Specifying Figure Location With Figure Star

I am using a two-column document and I need a figure to cover both columns, hence I am using the figure* environment. The problem is that I need the figure on the first page of the document. It ...
1
vote
1answer
58 views

figure positioning according to space available on page

I am using Tufte style with symmetric option. I want to force figure automatically to next page if the current page doesn't have enough space to fit the figure at the desired position. Although it ...
1
vote
1answer
94 views

Ignore indent of itemize for figures, lstlistings etc

I have a list of items where some of the items contain figures, listings, etc. How can I make these environments ignore the additional indent in an itemize environment? My code looks like this: \...
1
vote
2answers
116 views

Unnumbered section numbered figures

I have unnumbered sections (\section*) in my document (documentclass article) but I need to have numbered figures, tables and footnotes within sections. Normal solution like \counterwithin{figure}{...
1
vote
1answer
148 views

Get actual position

Is there any command to get current position in text? What do I mean: \the\currentposition text text text text \newline \the\currentposition text text text text \newline \the\currentposition ...
1
vote
1answer
42 views

Floating objects: defining in a place, saying where to print later

I'm using a system where I can mix TeX and formal definitions, and it has a procedure that generates latex that combining my TeX and the formal definitions. I discovered that I can wrap the formal ...
1
vote
1answer
148 views

Figure inset in right bottom corner - non transparent

I have 2 pdf images: 1.pdf and 2.pdf. Now I would like to have 2.pdf as an inset (in the right bottom corner) in the Figure 1.pdf. My question is almost similar to this ; however I only want 1 image ...
1
vote
1answer
69 views

figures and sub figures are too wide in a row to see in the document

I am facing an issue of floated figures and their sub figures and tables adjustment in the compiled document... They get out of the document and can't be seen when it is compiled. kindly help!
1
vote
1answer
45 views

Positioning two independent figures [duplicate]

I have two figures, 1 and 2. Figure 1 should be placed on top, so a \begin{figure}[t] is the way to go. In the syntax, figure 2 is loaded just after the first one with a \begin{figure}[h] command, so ...
1
vote
1answer
187 views

prevent page break a couple of lines after figure

I am writing a document which consists of the repeating format: text, figure, then a larger paragraph. How can I prevent a page break between both of the text and figure environments, whilst not ...
1
vote
1answer
61 views

Vertical spacing around align in a figure

Math environments like align put vertical space around them, to separate them from the text. This is all well, and if I wanted to change that, I could check this question. However, these environments ...
1
vote
1answer
94 views

Margin notes in listing with float environment – Error: Float(s) lost

Based on this question: Margin notes in listing with float enviroment - Error: Float(s) lost I have now other question. The solution is working fine. But I want to use floats for listings, to prevent ...
1
vote
1answer
57 views

My float items are linked to wrong entities

I am using a .sty file from my university to prepare my dissertation. In this file, there is a float for "Algorithms" that I use to define Algorithm 1, Algorithm 2, ... My problem is that, no matter ...
1
vote
1answer
54 views

Picture goes to a new page when inserted

I have now managed to insert a picture into my LaTeX...but now, I cannot place it where I want it to go :/ For some bizarre reason, the picture, when inserted, goes to the next page, a new page, ...
1
vote
2answers
41 views

How can I ensure that a figure is displayed following another one?

I have two figures in my document: \begin{figure} \begin{tabular} ... \end{tabular} \caption{Notation used in the big complicated table} \end{figure} \begin{figure} \begin{tabular} ... \end{...
1
vote
1answer
136 views

RevTex4-1 figure reference wrong number? [duplicate]

I have included a graphic using \includegraphics into a \begin{figure} \end{figure} in revtex4-1. The figure appears in section II (i.e. 2) but the caption of the figure says Fig.1 (this is not a ...
1
vote
1answer
82 views

Twocolumn Revtex-4 figure caption is above the figure

Figure captions should be below figure (unlike table captions). But in Revtex4-1 the caption is above the figure. How can one fix this to make it appear below the figure? I'm bumping this should have ...
1
vote
2answers
614 views

How to remove blank spaces above and below inserted images?

In my document there are large blank spaces above and below the images that I inserted, also sometimes I can see blank spaces after the texts too. How can I remove the blank spaces above and below the ...
1
vote
1answer
121 views

Removing white space in text after the image moves

I'm writing a thesis and have about 80 figures. The text leads up to the figure with a single line space: ....text text text text. \begin{figure}[h] .... \end{figure} More text, and so on... My ...
1
vote
2answers
120 views

Border of pictures are not coming in longtable

\begin{longtable}{|lllllllll|} % [ht] \caption{Create } \\ %\label{step 3} \hline \multicolumn{3}{|l|}{\textbf{Prefix}} & \multicolumn{2}{l|}{\textbf{...
1
vote
1answer
124 views

White space between two figures

I have four figures all of the same size. They are all put under each other but for some reason there is no space between the first two, but for the second two there is a white space which makes the ...
1
vote
1answer
71 views

Page break in float pages

I have an appendix section with half a page of text followed by a lot of tables. I want all these tables to go on float pages for the nice distribution on the pages, so placement specified as [p]. ...
1
vote
1answer
85 views

Expansion problem in a grid-like tikz figure

My goal is to automate a process where I have many pictures from a movie sequence and I would like them to be typeset in descending rows. For that, all my images rest in a folder and of course, they ...
1
vote
1answer
133 views

All figures have width equal to textwidth

I am using the AIAA typeset for my LaTeX file. I include figures as follows: \begin{figure}[!htb] \centering \includegraphics[scale=.70]{XXX.eps} \caption{XXX.} \label{fig:XXX} \end{figure} The ...
1
vote
1answer
37 views

image position using figure

I have this document and I want that both images be located in same page or at least that every image be located at the top of the page. Is there anyway to put bigger? I tried to modify the scale but ...