Skip to content
Advertisement

How to PassOptionsToPackage from inside a quarto document?

Consider the following quarto document:

JavaScript

I get the following error, when rendering it:

JavaScript

A solution that works is to add table to the following line of the tex file generated by quarto:

JavaScript

That is:

JavaScript

My question is: How can I do that from inside the quarto document instead of hacking the tex file?

Advertisement

Answer

As explained in this answer on Tex StackExchange, one possible solution could be passing table as a classoption and you do not need to declare using xcolor explicitly since it is used by-default.

JavaScript

renderd pdf output


User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement