I am using elsevier cas single column latex template and want to position figures and tables using H option, but I get error "Kernel/Key unknown" and "The module does not have a key called cas/tbl/H or cas/fig/H". I have used float package in the document preamble. How can I position figures and tables?

  • 3
    The [H] option is provided by the float package, and is not recommended. [ht] provides a backup plan if [h] doesn't work. I don't recall if elsevier has any additional restrictions placed on floats. – John Kormylo Jul 13 '19 at 15:05
  • I am unable to use any of the H, h, or, ht etc. Every time I get the error "The module does not have a key called cas/fig/ht" – Hafiz Hassaan Saeed Jul 14 '19 at 18:55
  • It sounds like a coding error. Please provide a Minimal Working Example which demonstrates the error. – John Kormylo Jul 14 '19 at 23:46
  • It would be best if you can supply a minimal example that shows your current setup. See I've just been asked to write a minimal example, what is that? – Werner Jul 16 '19 at 16:45
  • I wrote \begin{figure}[pos=b] and it works. Thanks a lot! – Janeth Paz Jan 28 at 17:01

The answer is, use pos=h instead of h or ht directly.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.