Questions tagged [newfloat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
53 views

algorithm2e with booktabs style and listing the algorithms in toc

I'm using the solution that @egreg provided on this answer, but I'm using the algorithm2e package instead of algorithms. I'd like to retain the design from booktabs but the command \listofalgorithms ...
1
vote
1answer
19 views

Add a symbol after the name+number in listof

I created another list instead of \listoftables and \listoffigures. I need to add the symbol "--" after the name "Quadro" on the toc list for this created list. I did it for \...
1
vote
1answer
28 views

Problem with using capt-of and float packages

I was trying to answer https://tex.stackexchange.com/581714 and came up with this MWE using both the capt-of and float packages. I thought that I had followed the instructions presented for the ...
0
votes
0answers
22 views

Use the cleveref package to refer to subschemes created using the chemmacros, subcaption, and newfloat packages

I am trying to use the scheme module in the chemmacros package to create schemes and subschemes. Since the chemmacros package does not have built-in support for subschemes, I am using the very helpful ...
0
votes
1answer
36 views

Own float object without numbering in caption

I would like to define my own float object because I want it to be separated from figure and table. So I tried to use \newfloatusing the float package. It works fine for me but there is a numbering ...
1
vote
0answers
38 views

Why do I need a blank line in the listing environment when using the minted package with the newfloat option in a tufte-handout

As described in the title. MWE: \documentclass{tufte-handout} \usepackage[newfloat]{minted} \begin{document} \begin{listing} \begin{minted}{python} a = 666 \end{minted} \end{listing} \end{document} ...
1
vote
1answer
33 views

How to correctly reference and set up \label for a custom float

I am using the caption, float and newfloat package in my thesis. I have defined a custom float as follows: floatstyle{plaintop} \newfloat{model}{thp}{lob} Now I want to reference a label to my model. ...
0
votes
0answers
40 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 ...
3
votes
1answer
34 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
52 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 ...
1
vote
2answers
74 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]{...
0
votes
1answer
128 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 ...
2
votes
1answer
111 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,...
1
vote
2answers
164 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}...
3
votes
1answer
164 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 ...
1
vote
1answer
131 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-...
0
votes
1answer
19 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} \...
0
votes
1answer
87 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}, ...
2
votes
1answer
380 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 ...
3
votes
1answer
192 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{...
1
vote
1answer
122 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 ...
3
votes
1answer
180 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
212 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} \...
1
vote
1answer
110 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
72 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} ...
3
votes
0answers
203 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 ...
0
votes
1answer
506 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 ...
2
votes
1answer
185 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{...
0
votes
1answer
336 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 ...
9
votes
0answers
801 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} \...
2
votes
2answers
121 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 ...