1
vote
1answer
34 views

ragged2e justifying - centering figures

I am preparing a beamer presentation and I used the ragged2e package to justify the text in my slides (I justified the itemize environment). However, this does not allow me anymore to center a figure. ...
2
votes
2answers
35 views

Centering figure caption does not work

I have a few narrow figures for which I want to center the caption. I have to use a LaTeX template from Springer (svmult.cls). This makes captions left-aligned by default. I took a look at this ...
1
vote
2answers
58 views

Two figures with side captions next to one another

I currently have the following figure placed at the bottom of my page: \begin{SCfigure}[][h] \centering \caption{Georg Kantor (1845--1918)} ...
1
vote
0answers
39 views

Center code in a lstlisting float

Out of pure laziness, I decided to create lstlisting floats with the option offered by the package: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings} \begin{document} ...
0
votes
1answer
58 views

Centering a xy matrix inside beamer frame and figure

In the following beamer frame, I want the description text to stay top-left, while the xymatrix-figure should be centered. However, whatever I tried with \centering, \begin{center} and other online ...
5
votes
1answer
62 views

side by side figures wider than margins

I'm trying to do exactly what's explained here: Figure with two side-by-side subfigures that is wider than textwidth However, I'm working with a large document and already have many subfigures using ...
1
vote
1answer
93 views

Centering Xcircuit Figure

Hi I am using a program called xcircuit to make circuit diagrams and I cant seem to get the figure centered. I have tried \begin{center}, \centering. I have tried messing with \flushleft but it needs ...
2
votes
4answers
198 views

Align pictures in subfigure

I'm having troubles with the subfigure package and proper alignment of figures. I'm inexperienced with Latex so please apologize obvious mistakes. The top-left figure is not properly aligned with the ...
3
votes
1answer
48 views

Add \centering to all subfigures in subcaption using \g@addto@macro

I'm trying to center subcaption subfigures as outlined this answer. However, compilation fails with ! Argument of \subcaption@minipage has an extra }. <inserted text> \par ...
4
votes
1answer
61 views

Float right aligned text around a text snippet in first line of a paragraph

I have right-aligned paragraphs and want to float text around a little text snipped, which should be placed in the first line of the paragraph at the right side. How can I achieve this? The LaTeX ...
5
votes
2answers
728 views

Figure caption alignment screwed when using line break

I am having trouble with figure captions when I need a manual line break. \documentclass[A4]{book} \usepackage{subfig} \usepackage[top=35mm, bottom=38mm, inner=40mm, outer=24mm]{geometry} ...
2
votes
2answers
103 views

Table way out of margin

I have a really long table and it is out of margin. I read other post about this issue but I still cannot figure it out: \begin{table}[htbp] \begin{center} ...
1
vote
0answers
113 views

Problem when introducing figures [closed]

I'm new to LaTeX and I'm having trouble when I try to include a figure in my text. The problem is that the text appears behind the image, or the image overlays the text. Also, it's not centred ...
8
votes
2answers
149 views

Align position of a table exactly to another one

I have a problem. I just made a table which was very wide, so I decided to split it into two smaller ones. Turned out the 2nd half is a little bit smaller in width than the first one. Now I want these ...
1
vote
1answer
151 views

How to shift a large graph to the left

Basically, I have a large graph, which take almost half a page. Right now, when I compile the tex file, the graph shifts to the right on the pdf. I have label and caption on this graph. How can I ...
2
votes
2answers
2k views

problem with alignment of an image in the center of the page in lyx

I have this doubt Using lyx inside a floating I been putting the images, everything was good but then I realized something: some images are aligned in the center and others not. I don't understand ...
2
votes
0answers
31 views

Figure with more than one image in Lyx [duplicate]

I have a Figure with 3 images inside (a) (b) and (c) when I want to write the description of each image in the figure this description is not so well aligned I mean I would like to see something like ...
3
votes
2answers
645 views

position caption of centered figure left-adjusted to figure

I have a problem with the alignment of the caption of an image. My image is centered and I need the caption to be left-adjusted relative to my image like that: ...
2
votes
0answers
541 views

center align 2x2 plot of subfigures [duplicate]

I've got a 2x2 plot of subfigures that is too wide to fit within the margins of a page. Latex left aligns it and the right hand side goes off the page. I would like to center align the whole thing ...
2
votes
0answers
28 views

Aligning long entries in LOF using tocloft package [duplicate]

I am facing a problem by left aligning long entries in the LOF using the tocloft package. Although my TOC for long entries looks perfect and aligned, the LOF is not :( . I am using the command ...
4
votes
1answer
173 views

Figure + table wider than textwidth

I have a figure and a table placed next to one another, but they are wider than the textwidth. Now I want to center them so they exceed the textwidth margins. Can this be done? Edit: currently I have ...
3
votes
1answer
150 views

Full width table with caption in refman doc

The refman document class has a big left margin for text. Only the headings are on the normal left margin. Perfect for what I'm doing. But I have a wide table (float) that must be centered on the ...
2
votes
2answers
154 views

Align a figure caption lines

I have an image with caption in LaTeX: \begin{figure}[H] \centering \includegraphics[width=0.8\textwidth,height=0.8\textheight,keepaspectratio]{img/image9} \caption{Text text text text text ...
3
votes
1answer
261 views

wrapfig with {R} remains left and keeps white space to the right

I am using wrapfig inside normal text (no lists or anything), with the {R} option to make it float right. However, some of the figures end up being aligned left, with all the space to their right ...
4
votes
1answer
410 views

How to manipulate width and position of items inside floatrow

From this answer by @lockstep I learned, how to put figure and table side by side: \documentclass{article} \usepackage{floatrow} % Table float box with bottom caption, box width adjusted to content ...
5
votes
2answers
108 views

Uneven number of subfloats on separate lines

I have 5 subfloats that I would like to distribute 3 on the top line and two udnerneath but equally spaced between the top 3. But \\ doesn't seem to do anything between them. What do you sugges? ...
1
vote
1answer
176 views

alignment of tikzpicture

I have several plots which I create with tikzpicture. The plot dimension is set to \begin{tikzpicture}[x=\textwidth]. I try to align these plots right with \begin{flushright} and \end{flushright} but ...
4
votes
1answer
226 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 ...
1
vote
1answer
66 views

Require two figures on consecutive pages to be horizontally aligned

How can I require two (large, near page-size) figures (on separate though consecutive/facing pages) to be horizontally aligned? I've tried \begin{figure}[t] but LaTeX ignores me. If they simply are at ...
2
votes
3answers
148 views

Side by side tables as one figure

\begin{figure} \begin{minipage}{0.5\textwidth} \centering \caption{***} $\begin{array}{cccccccc} T_1: & c_{12} & & c_{23} & & c_{34} & & c_{45}\\ ...
3
votes
2answers
154 views

How to arrange floating image top centered?

I am using image in my report as follows to make it top centered. \documentclass{article} \usepackage{lipsum}% http://ctan.org/pkg/lipsum \usepackage{graphicx,caption}% ...
1
vote
0answers
133 views

Alignment of TikZ object [closed]

I'm using the classic thesis style by André Miede. As I have to import a lot of Matlab plots, I'm using matlab2tikz. In the LaTeX document, I want the TikZ object to act like a normal jpg/png ...
4
votes
1answer
158 views

Figures in tables

I want to make a table with lots of figures. \begin{table} \centering \begin{tabular}{c|c|c} Index & Stand. Residuals & acf\\ \hline\hline BEL 20 & ...
3
votes
1answer
82 views

Align pictures with text

I am having problems to align or better put, make my figures being of equal size/margins like my text What I do is this \documentclass[a4paper,12pt]{book} %%%%%%%%%%%%%%%%%%%%%%%%% %%% Document ...
0
votes
2answers
134 views

How to center align the whole table? [duplicate]

I created a table and it starts from the left and goes all the way to right, which looks really skewed. So I want to center align the whole table but couldn't figure out how to do it. I'm new to latex ...
5
votes
1answer
4k views

Centering figure captions in IEEEtran

I am working on a paper using the IEEEtran template in LyX. I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left ...
4
votes
2answers
355 views

Over wide figure with caption of the same width that both spill out of the right margin and are aligned flush left

This question is similar to that question, but instead I want to place a figure caption flush left aligned to an overwide figure so that it spills out of the right margin. MWE ...
1
vote
1answer
342 views

Problem with side by side figures and captions

I want to have 4 figures side by side and centered in my paper. I am using this code. The problem is that captions and figures are not aligned. It seems captions are in correct position, but figures ...
12
votes
1answer
4k views

center /verbatim text in /figure

I'm trying to center a the content of a figure that has verbatim text in it, but the verbatim text is always right-aligned: \begin{figure} \centering \begin{verbatim} some text here ...
0
votes
2answers
5k views

Caption of an image doesn't follow flushleft

Hello I want to place a photograph in a page so i write: \begin{figure}[h] \caption{H Feistel Function } \begin{flushleft} \includegraphics[scale=0.7]{func} \end{flushleft} \end{figure} I face 2 ...
4
votes
1answer
270 views

Center subfigures; fix TikZ error

I am trying to center some figures produced by TikZ. In my example, I have three large Tikz pictures that are separate figures. I also have the same three pictures, but this time as subfigures. All ...
4
votes
1answer
184 views

floatrow and dirtree clash

I am using dirtree to visualize a directory structure. It needs to be embedded into a float as to avoid problems when a pagebreak occours. This works fine except when loading floatrow which i use to ...
1
vote
3answers
168 views

Centering figure consisting of subfigures

I currently have a graph that uses subfigures as follows: \begin{figure}[!htbp] \centering \begin{subfigure}[b]{0.3\textwidth} \centering ...
1
vote
0answers
2k views

Placing two figures side by side [duplicate]

Possible Duplicate: Two figures side by side Subfigures placed horizontally I want to place two figures side by side in my document. I am using the subcaption package and my code is as ...
3
votes
1answer
329 views

Table right of TikZ image

I created a tree using TikZ and would like to add tabular explanation data to the right of it. The figure definition currently looks like this: \begin{figure*}[h!] \input{tikz/praefixeigenschaft} ...
6
votes
1answer
252 views

Alignment of margin floats

I am using the code from margin-floats-and-hyperlinks. It works nicely, however the figure generated is not left aligned in the margin as the caption below it is. I also tried \raggedright as ...
5
votes
2answers
206 views

How to indent the whole text and float environment?

Using http://www.latex-community.org/viewtopic.php?f=4&t=251&start=10 I can indent the text, but how to center the figures and table like the image as follow? My code ...
7
votes
1answer
5k views

Alignment of horizontal subfigures

I have three images as subfigures. Two images are aligned happily, the first one doesn't line up. All images are the same size (519x346 pixels). This is what it looks like: I'd like to line up ...
8
votes
3answers
1k views

Justify a text inside a figure environment

I insert several figures in my document, but I am unable so far to fully justify the text just below the caption: "BLA BLA BLA" \begin{figure} \centering \caption{NICE TITLE}\label{graph:p} ...
3
votes
2answers
303 views

Align columns in multiple subfigure tables in figure environment

Here's my code: \documentclass{article} \usepackage{booktabs,caption,subcaption} \begin{document} \begin{table}[h!] \caption{Main figure} \begin{subfigure}{\linewidth} \caption{Table 1} %Table 1 ...