Graphics, Figures & Tablesdisable endfloat in apa.cls

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
blakecraw
Posts: 2
Joined: Thu Oct 29, 2009 10:10 pm

disable endfloat in apa.cls

Post by blakecraw »

I'm writing my first paper using latex, and the apa.cls template (http://tug.ctan.org/tex-archive/macros/ ... ntrib/apa/) is almost perfect for my purposes, except that in "manual" mode it uses endfloat to stick all the figures at the end of the document (it also uses endnotes but I don't need to use footnotes, so that is not a big issue for now).

My assignment follows APA formatting in pretty much every way except that figures need to be mixed with the text, so is there an easy way to prevent apa.cls from using endfloat, while keeping the rest?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

disable endfloat in apa.cls

Post by localghost »

According to the apa manual this behaviour is not set by default [1]. You have to show that by means of a minimal working example (MWE).

[1] apa.cls - Float placement, loading, and content


Best regards and welcome to the board
Thorsten
blakecraw
Posts: 2
Joined: Thu Oct 29, 2009 10:10 pm

Re: disable endfloat in apa.cls

Post by blakecraw »

I attached an example (relies on apa.cls, found at the link in my first post).

When inserting figures (not plain graphics) and using the "manuscript" document type, endfloat is used (lines ~771-897 in apa.cls), but I would like to prevent it from using endfloat, while retaining the rest of the "manuscript" formatting.
Attachments
mwe.tex
(189 Bytes) Downloaded 253 times
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: disable endfloat in apa.cls

Post by josephwright »

As the apa instructions say, the class is very focussed on the job of doing things for publication. It's really not intended for other use, and so the internals are not designed to easily unpick this sort of thing. A quick read of the code makes me think you are looking at a lot of work to get the effect you want: the class knows it can load endfloat and makes lots of further adjustments on this basis.
Joseph Wright
joelbuehler
Posts: 1
Joined: Wed Jan 06, 2010 9:52 am

Re: disable endfloat in apa.cls

Post by joelbuehler »

I encouter the exact same problem with man mode in apa.cls. It looks like publishers of scientific psychological journals are finally beginning to be aware of the layout possibilities of computers...
Since there seems to be no possibility to disable endfloat, does anyone know of an alternative to apa.cls? It would save me a great deal of work, since everything else looks just fine.
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: disable endfloat in apa.cls

Post by josephwright »

The first question has to be "where are you submitting to". If they don't have a LaTeX class of their own, the usual safe approach is to use article and work from there.
Joseph Wright
gjourjon
Posts: 1
Joined: Tue Oct 19, 2010 5:56 am

Re: disable endfloat in apa.cls

Post by gjourjon »

I think I've solved this problem by introducing a new variable to be used with the manuscript class.

In order to use this class, you just need to add the option intextfloat in the class declaration (e.g. \documentclass[man,intextfloat]{apa}).

Guillaume Jourjon.
Attachments
apa.cls
Modified apa.cls for in-text floating objects
(57.14 KiB) Downloaded 374 times
katerinakand
Posts: 1
Joined: Wed Aug 24, 2011 11:14 am

Re: disable endfloat in apa.cls

Post by katerinakand »

About the footnotes:
if you use /footnote, it places it at the end of the document in a new page under "Footnotes".
if you want your footnote at the same page as where you refer to it, use:
\footnotemark[1]
\footnotetext[1]{yourtext}

I know nobody asked about this, but i think it should be at the same place where the solution for the floats is given.
Post Reply