Change the float environemnt

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 Posted by fletcher on 26 Nov, 2013 12:50 AM

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 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

 08 Dec, 2018 08:58 PM TeX export broke from MMD3 to MMD4? 14 Nov, 2018 04:54 AM Footnotes don't work after exclamation points? 09 Nov, 2018 04:49 PM Table of Content 09 Nov, 2018 04:46 PM Sync with iOS over Dropbox 09 Nov, 2018 04:44 PM Labels, metadata