Questions tagged [newfloat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

fixed position with newfloat

Listed code renders text with some text related to the third listing above source code with cat file2. Forced positioning with H solves the problem however this option is not available in newfloat ...
user avatar
  • 1
0 votes
0 answers
37 views

Memoir and Float, H option

What is the right way to solve this package clash? After I updated memoir from the 2021 texlive install I started getting this LaTeX Error: Command \newfloat already defined. This is because I load ...
user avatar
  • 1,200
1 vote
1 answer
43 views

A global command so that some float environments are not shown at all

I'm using package newfloat to define an additional figure environment (for supplementary figures). A journal asks me to provide these in a separate document. Ideally, I'd just need to set a variable ...
user avatar
0 votes
1 answer
149 views

Caption Chronology Timeline LaTeX [closed]

I am writing because I am trying to add a caption to a timeline. I am using Overleaf. I am not sure how to do this properly (right now I get the error message \caption outside float)... \begin{...
user avatar
0 votes
1 answer
80 views

Custom new environment positioning and margins

How can I place the following custom new environment at the top of every page like figures (options [ht])? \usepackage[newfloat]{minted} \newenvironment{code}{\captionsetup{type=listing}}{} \...
user avatar
1 vote
2 answers
74 views

\captionsetup turn on numbering for new caption

For my thesis, I want to create a new caption that says Model 1, Model 2, etc. So far, I've gotten to it saying Model, but no numbering yet. I've used this command: \captionsetup[model]{name=Model, ...
user avatar
  • 121
0 votes
0 answers
39 views

No space between caption and section in custom newenvironment for minted

In my document i used minted long listing, suggested in minted manual, but it not correctly display for \section*. \documentclass[14pt]{extarticle} \usepackage[newfloat]{minted} \RequirePackage[paper=...
user avatar
1 vote
1 answer
111 views

How to set an entryprefix for new float environment?

When using the scrreprt class I can use the option listof=entryprefix to have "Abbildung" stand in front of the numbering in my list of figures for example. With the commands \renewcommand*\...
user avatar
  • 443
2 votes
1 answer
120 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 ...
user avatar
1 vote
1 answer
27 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 \...
user avatar
1 vote
1 answer
38 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 ...
user avatar
  • 25.2k
1 vote
1 answer
77 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 ...
user avatar
  • 11
1 vote
0 answers
77 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} ...
user avatar
  • 11
1 vote
1 answer
41 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. ...
user avatar
3 votes
1 answer
44 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{...
user avatar
  • 4,263
3 votes
2 answers
235 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 ...
user avatar
  • 33
1 vote
2 answers
109 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]{...
user avatar
  • 908
0 votes
1 answer
185 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 ...
user avatar
2 votes
1 answer
235 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,...
user avatar
  • 601
1 vote
2 answers
446 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}...
user avatar
3 votes
1 answer
303 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 ...
user avatar
1 vote
1 answer
144 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-...
user avatar
0 votes
1 answer
21 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} \...
user avatar
1 vote
1 answer
148 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}, ...
user avatar
  • 4,325
2 votes
1 answer
599 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 ...
user avatar
  • 1,961
3 votes
1 answer
292 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{...
user avatar
  • 1,961
1 vote
1 answer
147 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 ...
user avatar
3 votes
1 answer
210 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 ...
user avatar
  • 299
3 votes
1 answer
254 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} \...
user avatar
1 vote
1 answer
126 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{...
user avatar
1 vote
0 answers
81 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} ...
user avatar
3 votes
0 answers
245 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 ...
user avatar
  • 483
0 votes
1 answer
646 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 ...
user avatar
  • 778
2 votes
1 answer
228 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{...
user avatar
0 votes
1 answer
435 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 ...
user avatar
  • 61
9 votes
0 answers
937 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} \...
user avatar
  • 778
2 votes
2 answers
127 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 ...
user avatar
  • 11.8k