Questions tagged [newfloat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
0answers
731 views

minted: remove space between caption and frame in float environments [closed]

I am using minted with the newfloat option to typeset code listings in float environments. Unfortunately, the caption in such a case has a large distance to the source code area: \begin{listing} \...
3
votes
1answer
174 views

svmono + newfloat - caption: how to adjust spacing separating the caption and the float contents

Consider the following code \documentclass{svmono}% Version 5.5, available from https://www.springer.com/gp/authors-editors/book-authors-editors/manuscript-preparation/5636 \usepackage{newfloat} \...
3
votes
1answer
94 views

How to change caption style for new float in memoir?

i defined a new float in memoir class. everything works fine, except i can't manage to change the caption font style. if i declare \captionnamefont{\bfseries}, the font changes only for default float ...
3
votes
1answer
115 views

Make the float name bold

I'm using the llncs calls and introduce a new float with the float package. But the float name of the new float is formatted differently then the original floats, as shown in my mwe. \documentclass{...
3
votes
1answer
155 views

New Float order in endfloat

I have created new float(Map) in my document and I have used endfloat package but the problem is "List of Maps" should show after "List of Figures" currently Map appearing after table Plese see the ...
3
votes
1answer
21 views

Zeroth chapter and float numbering

Consider the following document that tests the newfloat package. \documentclass[a4paper, 10pt]{book} \usepackage{lipsum} \usepackage{caption} \usepackage{graphicx} \usepackage{newfloat} \usepackage{...
3
votes
2answers
26 views

Remove space between figure label and number in caption within a separate floating environment

I created a separate floating environment for my supplementary figures using \usepackage{newfloat} \DeclareFloatingEnvironment[name={Figure S}]{suppfigure}. However, this prints in the figure ...
3
votes
0answers
172 views

Vertical space inside, before and after LaTeX environments

Background Similar questions have been asked before on this forum, but my question is a bit wider. The ultimate goal is to define an environment that is useful for automatic documentation of ...
2
votes
1answer
48 views

Floating environment with caption outside the box

I have defined a float environment following this answer in the "optional caption" version: \documentclass{article} \usepackage{newfloat} \usepackage{caption} \DeclareFloatingEnvironment[fileext=frm,...
2
votes
1answer
199 views

Styling and spacing around float caption for listing

When I use the newfloat package instead of the float package there seem to be some side effects with llncs and/or listings. Case 1: When I use the float package, the float caption of listings is not ...
2
votes
1answer
159 views

Conflict between `mbk` and `mwrep` and `newfloat`

If I try to define a new float with: \documentclass{mwart} \usepackage{newfloat} \DeclareFloatingEnvironment{plate} It works. But if I just change the class to \documentclass{mwrep} \usepackage{...
2
votes
2answers
112 views

newfloat vs tex4ht

When using newfloat to create a new type of float, tex4ht swallows the first line of text inside the float when it converts to .odt format. In the MWE, the new float is example; this works the same ...
1
vote
2answers
55 views

Captioning `qtree` trees

I want to have two trees aligned side by side within a footnote, both captioned and labeled. The following reports an error and produces misalignment. \documentclass{article} \usepackage[utf8]{...
1
vote
2answers
71 views

\DeclareCaptionLabelFormat not working

I'm trying to create a custom environment called graph and underline the label before the colon. This is what I have: \documentclass{article} \usepackage{caption} \usepackage{float} \usepackage{ulem}...
1
vote
1answer
117 views

{xe|lua}latex + svmono + newfloat + biblatex = ↯

Running xelatex or lualatex on \documentclass{svmono}%%% V 5.6 from http://www.springer.com/gp/authors-editors/book-authors-editors/resources-guidelines/rights-permissions-licensing/manuscript-...
1
vote
1answer
76 views

Custom environment in wrapfigure

I which to have a wrapped figure in a custom float environment: the caption should be on top and carry the name "Infographic". Unfortunately I don't know how to do this. This is what I came up with ...
1
vote
1answer
97 views

Correct loading order of package newfloat along with hyperref and algorithmic packages?

There is extensive documentation that hyperref must be loaded towards the end. In particular, the following is the correct loading order for these specific packages: \usepackage{float} \usepackage{...
1
vote
0answers
66 views

How to format paragraphs in newfloat

Is there an option in the float package to format the contents of a float type similarly to ordinary text (i.e. indent new paragraphs)? \documentclass[twocolumn]{article} \usepackage[utf8]{inputenc} ...
0
votes
1answer
377 views

Use custom text as counter for newfloat environment

I have defined a custom floating environment using newfloat to describe some application scenarios. These scenarios have distinctive and short names, which I would like to use as the "number" of the ...
0
votes
1answer
63 views

Memoir's single-column \newfloat doesn't work with multicol?

I've been using memoir's \newfloat to make boxes of text that float within a multi-column document. When I use twocolumn mode, everything works fine. However, I need to use the multicol package for ...
0
votes
1answer
52 views

How to add babel captions to newfloat package environments?

This minimal example, will produce the following PDF: \documentclass[12pt]{abntex2} \usepackage[utf8]{inputenc} \usepackage{newfloat} \DeclareFloatingEnvironment[fileext=loq,placement={!hbtp}, ...
0
votes
1answer
280 views

Using a custom float in beamer frame

I have created a float with the newfloat package for graphs and plots. This way, I can use a different caption label and counter from the Figure floating environnement : Graph 1 - Tresca stress vs ...
0
votes
0answers
34 views

Converting an element into a float or a non-float depending on its size

in my documents, I often have to put the extract of a normative or legal text that I put in a box to distinguish it from the rest of the text. For that, I use packages like tcolorbox or mdframed. So ...
0
votes
1answer
18 views

How to use accentend characters in newfloat

I am using \newfloat to redefine numbers of Figures, as explained here. I used the following code: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{graphicx} \...