Change the float environemnt

Simeon Fitch's Avatar

Simeon Fitch

25 Nov, 2013 08:16 PM

I'm trying to force the images and tables in PDF generation (via memoir packages) to render where they are defined. I'm not a LaTeX expert, but my understanding is that the behavior is defined via the '\begin{float}[⟨loc⟩] ... \end{float}' macro, where '⟨loc⟩' is one or more of of 'b', 'h', 'p', 't', and '!'.

From the best I can tell from the sources, the '⟨loc⟩' definition is hard-coded to 'htbp'.
https://github.com/fletcher/MultiMarkdown-4/blob/master/latex.c#L524

Is there a way via the "LaTeX Input" metadata that this behavior can be overridden?

  1. Support Staff 1 Posted by fletcher on 26 Nov, 2013 12:50 AM

    fletcher's Avatar

    Simeon,

    There's not a way to use metadata to change this. You would have to modify the source, or use LaTeX to redefine the float environment (Google and LaTeX user groups would be the best way to get more information on this).

    Changing the MMD source would be easier, but the LaTeX approach would work across future versions of MMD.

  2. fletcher closed this discussion on 12 Dec, 2013 06:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

11 Dec, 2022 09:57 PM
11 Dec, 2022 07:57 PM
26 Sep, 2022 02:40 AM
21 Jul, 2022 10:22 AM
11 Jan, 2022 02:33 PM

Recent Articles