4
votes
1answer
43 views

Adjusting the caption of an algorithm2e code

I'd like to typeset the caption of an algorithm environment such that it is bold, fills the available width of the paper, and neither the caption nor the line numbers encroach into the margins. In ...
4
votes
1answer
31 views

Figure caption within quote environment

In order to provide visual contrast, I have decided that I would like to have a certain section of a document I'm writing indented. To achieve this, I've simply been using the quote environment ...
9
votes
2answers
221 views

How to align text within a caption?

I want to give a survey on several techniques within a figure. It turned out, that there are many techniques, so I employed subcaption with subref to describe the matter. However, as there are too ...
3
votes
1answer
134 views

Custom table caption (Updated)

I'd like to achieve a custom table (figure) format with Table numbering and title (this is usually the title also used in the list of tables but does not have to be) in boldface, and the (longer) ...
6
votes
2answers
260 views

Indent further paragraphs in the caption of a table

I have a little problem how to create a caption to my table. It looks ok as of now, but I would like to indent the heading of a new paragraph. Also right now, I cannot even create a new paragraph ...
6
votes
2answers
1k views

Indenting the first line of figure captions

I want to create a small indentation in the first line of figure captions, similar to the way LaTeX indents the first line of paragraphs. The caption package does not seem to support this. Is it ...
5
votes
1answer
139 views

indent of custom float

In my preamble I defined a custom float to use it for my equations like this \newfloat{formula}{ht}{frm} \floatname{formula}{Formel} then I use it like this \begin{formula} \begin{equation} ...
5
votes
2answers
2k views

\captionof messes with paragraph indent

\documentclass{mwrep} \usepackage[font=small,compatibility=false]{caption} \usepackage[chapter]{minted} \usepackage{lipsum} \begin{document} \chapter{Test} \lipsum[2-3] \captionof{listing}{Caption of ...
5
votes
3answers
1k views

Caption without text below "Figure''

I have a problem with captions. I'm new to LaTeX and I don't know English names of "this". I want to have something like: Figure X.X: bla bla bla bla bla bla bla bla etc. ...
1
vote
2answers
2k views

Caption package: bold numbering indents caption text - how to avoid that?

I ran across this problem and fail to find an answer even after thorough searching: I use \usepackage[bf]{caption} in my LaTeX document, as I want the "Figure 1"-Part of the caption to appear ...
3
votes
2answers
2k views

How to indent the graphics caption

I am writing my thesis in LaTeX with the document class scrreprt. My problem is that I include a graphic whose description starts at the left side of the page, which is usually nice, but in my case I ...
12
votes
3answers
11k views

How to limit the figure caption width?

Figure captions seem to wrap at the page width. How could I make them wrap at the figure width instead? Currently, they can easily be mistaken for normal text. \begin{figure}[!htb] \begin{center ...
1
vote
2answers
12k views

Table caption should be left aligned

How to make table caption left-aligned. I tried \usepackage[singlelinecheck=off]{caption} but it did not work out. In other words it gives an error: \DeclareFloatFont ...
4
votes
2answers
2k views

Setting caption/rule width in Algorithm2e algs

Many of the algorithms I have with the algorithm2e package do not extend across the page width. If I use the package's boxruled or ruled options, the result is a box or rule that extends the pagewidth ...
4
votes
1answer
156 views

Globally configuring caption max-widths

I've got a series of tex documents that I want to make a few changes to for the sake of readability. One that I can't quite get sorted out cleanly (i.e without a massive regex) is setting a ...
1
vote
1answer
1k views

Figure caption indent problem

The last lines of my figure captions are indented too much or centered. I use floatrow package which usually doesn't conflict with LaTeX. Is it possible to fix this? My preambles are as follows: ...
6
votes
2answers
1k views

How to give any figure a caption based on its horizontal size?

I have figures in both portrait and landscape and of various sizes. I'm trying to find a leeway to give any figure a caption based on its horizontal size. In my thesis.cls file, I've already set a ...