Questions tagged [pgfopts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
97 views

Conditionally add options to tcolorbox highlight math style

I have defined the following package: % Configuration \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{eqbox}[2018/01/01 Boxed Equations] \RequirePackage{xcolor} \RequirePackage{pgfopts} \...
3
votes
1answer
71 views

Using pgfopts to set up a tcolorbox style

Consider a package file eqbox.sty: % Preamble \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{eqbox}[2018/01/01 Boxed Equations] % Packages \RequirePackage{xcolor} \RequirePackage{pgfopts} \...
3
votes
1answer
51 views

How to use equal sign inside class option with pgfopts [duplicate]

I've created a custom class with key-value options using pgfopts. So far this is working fine. Now I would like to create a key which can take a random string including equal sign and comma. The ...
2
votes
2answers
236 views

Beamer theme pass options to inner/outer theme with pgfkeys

I want to design my own beamer theme and I have split the theme into inner and outer theme. The outer theme can take some options. So basically, I want to be able to write \usetheme[some options]{...
2
votes
1answer
72 views

Help needed for setting key-val options for my package

I want to use key-svalue options for my package and I tried a solution with pgfopts. It must be possible 1) to load the package with e.g. \usepackage[colors=1]{mypack} 2) to change the color ...
1
vote
1answer
39 views

Define a required option with pgfopts

I would like to define a required package option with pgfopts. So far I've done the following: \begin{filecontents}{\jobname.sty} \ProvidesPackage{\jobname}[2018-01-24 v1.0 Test package] \...
2
votes
1answer
51 views

pgfopts: no expansion expected

The following example \begin{filecontents}{myclass.cls} \RequirePackage{pgfopts} \pgfkeys{ /XXX/.cd, foo/.store in=\foo } \ProcessPgfOptions{/XXX} \LoadClass{article} \end{filecontents} % \...