{key-value} is about packages and macros using the key=value syntax for named parameters instead of numbered parameters.

learn more… | top users | synonyms

2
votes
1answer
192 views

pgfkeys-values only in list of possible values

In the following example, the key formatting has the initial default value apmep. \pgfkeys{ /test/.is family, /test, formatting/.initial = apmep } I would also like that the value of the ...
2
votes
1answer
44 views

Enumitem \SetEnumitemKey and conflict between multiple key before and after

I try to make life easier by setting key to list with the package enumitem. But, the options before and after seem to be in conflict when used more than once. Here is some code that show four ...
2
votes
1answer
102 views

How to get line width and inner sep values?

I try to get the values of line widths and node inner sep. How to read such a value form own style (if it will be specified during modifications of the picture) or if it is not specified in this ...
2
votes
1answer
21 views

Documentation for \newadjustboxkey

The documentation for package adjustbox has a brief section describing \newadjustboxkey, but it provides no examples. I tried searching the internet, but Google provided only three results for the ...
2
votes
1answer
737 views

Backward compatibility of Beamer problem - Keyval error

I'm stuck with a problem for compiling a "not so old" beamer document I've made last year, and it seems that there is a big problem of backward compatibility between my new version of beamer (3.33) ...
2
votes
1answer
198 views

xkeyval's \presetkeys

Please is there a way to avoid xkeyval package bombing out in endless loop, as implied by the following simplified case? \documentclass{article} \usepackage{xkeyval} \makeatletter ...
2
votes
0answers
23 views

How to import key words are areas latex reports from a list of values

I write long test reports. And generally i have a spreadsheet (xls) with all the relevant data regarding the tests. I would like to automatically include that data from excel throughout the report. ...
2
votes
0answers
46 views

Filtering key-value options

I want to define a new environment whose implementation depends on another environment. The first environment should accept a list of key-value options. Some of these options are for use only on this ...
1
vote
2answers
140 views

What are the advantages and disadvantages between these coding styles?

Some people use the following style setting { a=1 ,b=2 ,c=3 } and the other ones use the style below setting { a=1, b=2, c=3 } I use the latter style but I wonder ...
1
vote
2answers
168 views

refstepcounter in tcolorbox option

I want to increment a counter and update the current label in the phantom key of the tcolorbox environment, but it is not working, as can be seen in the example below: \documentclass{article} ...
1
vote
2answers
1k views

Package keyval Error: sorting undefined

Even at the risk of being this question closed as too localized or a duplicate of this, I feel that it is relevant for people like me, using XeLatex and Biber for the first time... I am using Adrien ...
1
vote
1answer
440 views

Unable to install keyval.sty

I have a minimal TeX Live installation in ~/texlive/2014. I was trying to install keyval.sty using tlmgr. So, I tried, tlmgr install keyval But it gives an error: tlmgr: package repository ...
1
vote
2answers
3k views

package keyval error: compat2 undefined

I am using MiKTeX 2.9, geometry v5.6. I am getting the following error package keyval error: compat2 undefined. The LaTeX code is attached here: \documentclass[phD,synopsis,a4paper]{iitmdiss} ...
1
vote
1answer
148 views

How to expand keyval options immediately

I am trying to build up a macro that creates other macros depending on kvoptions' options. But then, the outcoming macros are dependent on the actual state of the options instead of their state at the ...
1
vote
1answer
298 views

keyreader: How to save choice key value to a macro

Why does a choice key not save it’s value to a macro as a cmd key and as the corresponding xkeyval \define@choicekey do? In the following example I have to define my@key manually by using the ...
1
vote
1answer
326 views

keyvalue with kvoptions and switch structure

I am using kvoptions for a key-value syntax. However I need a switch syntax for the evaluation. Since boolexpr is problamatic (see here) I use now the other solution of this question. However the ...
1
vote
1answer
54 views

Short running title using xkeyval option

I will try to set the short running title using xkeyval package. But I don't how to execute this coding using the xkeyval option \title[shorttitle={Cross-linked aromatic polymers}]{Stabilized ...
1
vote
1answer
47 views

kprefix in \krddefinekeys seems to be not optional

Maybe I misunderstood something but the following example doesn’t compile with out a optional argument defining the kprefix \documentclass{article} \usepackage{keyreader} % [KV]------\/ ...
1
vote
0answers
23 views

Using key value in enumerate to another key value

This is a follow-up question to Enumitem \SetEnumitemKey and conflict between multiple key before and after. I want to use a key value in a list in the definition of another. Here I use a better ...
1
vote
0answers
54 views

How can I pass class/package options with spaces in values? [duplicate]

Possible Duplicate: Spaces in pfgopts options I have read Joseph Wright's excellent article on key-value systems, as well as questions on this site about how to pass arguments to class ...
0
votes
1answer
1k views

Help! How to get the PDF-File? Error & Warnings lead to no pdf-file

I have a big problem. I am writing my phd thesis and started to use latex recently. I developed some basic skills that helped out me most time. But at the moment I dont know how to solve the problem. ...
0
votes
0answers
21 views

Add key of enumerate (already defined by enumerate) in a new list

This is a follow-up question to Enumitem \SetEnumitemKey and conflict between multiple key before and after. Here is the code to set two keys, for a list named answers, without conflict (as it was ...
0
votes
0answers
40 views

Number format as optional key value argument for LaTeX function

I followed the answer as given in http://tex.stackexchange.com/a/34318/28093 in constructing a function which uses key values. It works fine, but I also want to be able to give the number format as ...