I am observing an "Unknown float option `0'. .." error in the new command below. float package is already but I am still running into problems. This code use to work fine until some time back, without the float package. But now even after including the float package it doesn't work at all.





New command, source of error:

            \textbf{#1} & #2 \\
            \textit{#3} \textit{#4}\\

Some more errors in the new command:

Unknown float option `.'. ...
Unknown float option `9'. ...
Unknown float option `8'. ...
Unknown float option `\'. ...

Can somebody please help?

As noted in comments, the one below is the newer version, that was already with me:

        \textbf{#1} & #2 \\
        \textit{#3} & \textit{#4}\\
  • Welcome to TeX SX! The width of a tabular is not an option for table. – Bernard Nov 16 '19 at 10:53
  • @Bernard, Thanks, moving it to tabular did solve the problem. But now I am observing another one ..Illegal unit of measure (pt inserted). ... From same new command: cvSubheading. – agarg Nov 16 '19 at 11:11
  • 2
    tabular doesn't accept an optional width argument either. Anyway, you don't need table. Are you sure you want S columns in a table meant for text? – egreg Nov 16 '19 at 11:29
  • This is embarrassing, turns out I was looking at an older version. Newer version is simpler. Thanks – agarg Nov 16 '19 at 11:38
  • Can you show us what you want to get? I don't understand why you'd want to use table after \item. table is meant for floating objects but it looks like you want to place a tabular at a well-defined spot, so you should drop that table around it. – Skillmon likes topanswers.xyz Nov 16 '19 at 11:39

The optional argument to table specifies float positions such as t for top or h for here, so you get an error from


as the first character in the option is 0 which is not one of the allowed characters !htbp

In this case however you want the tabular to be in the list item, but a table environment marks its content as something that is not in the main document flow and can be moved, so you can simply delete the lines




So that the tabular is the text of the list item started with \item.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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