Is there an incompatibility between the packages calc and siunitx? (GenericError […])
up vote
5
down vote
favorite
The following code does not compile:
documentclass[11pt]article
usepackagecalc
usepackagesiunitx
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
However, it does compile, when the line
usepackagesiunitx
is omitted. Interchanging the loading order of the packages does not help.
Error message:
! Undefined control sequence.
GenericError ...
#4 errhelp @err@ ...
l.5 ...r}p.5cmpwidthoftextbfAAAAAAAAAl
The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
siunitx incompatibility calc
New contributor
add a comment |
up vote
5
down vote
favorite
The following code does not compile:
documentclass[11pt]article
usepackagecalc
usepackagesiunitx
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
However, it does compile, when the line
usepackagesiunitx
is omitted. Interchanging the loading order of the packages does not help.
Error message:
! Undefined control sequence.
GenericError ...
#4 errhelp @err@ ...
l.5 ...r}p.5cmpwidthoftextbfAAAAAAAAAl
The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
siunitx incompatibility calc
New contributor
4
It is no siunitx but array (loaded by siunitx). It changes the way tabular preambles are handled.
– Ulrike Fischer
Nov 10 at 9:10
2
The main problem is the fragile textbf. You can robustify itusepackageetoolboxrobustifytextbf
.
– Ulrike Fischer
Nov 10 at 9:34
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
The following code does not compile:
documentclass[11pt]article
usepackagecalc
usepackagesiunitx
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
However, it does compile, when the line
usepackagesiunitx
is omitted. Interchanging the loading order of the packages does not help.
Error message:
! Undefined control sequence.
GenericError ...
#4 errhelp @err@ ...
l.5 ...r}p.5cmpwidthoftextbfAAAAAAAAAl
The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
siunitx incompatibility calc
New contributor
The following code does not compile:
documentclass[11pt]article
usepackagecalc
usepackagesiunitx
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
However, it does compile, when the line
usepackagesiunitx
is omitted. Interchanging the loading order of the packages does not help.
Error message:
! Undefined control sequence.
GenericError ...
#4 errhelp @err@ ...
l.5 ...r}p.5cmpwidthoftextbfAAAAAAAAAl
The control sequence at the end of the top line
of your error message was never def'ed. If you have
misspelled it (e.g., `hobx'), type `I' and the correct
spelling (e.g., `Ihbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
siunitx incompatibility calc
siunitx incompatibility calc
New contributor
New contributor
edited Nov 10 at 10:49
egreg
697k8518513118
697k8518513118
New contributor
asked Nov 10 at 9:06
Gerhard
261
261
New contributor
New contributor
4
It is no siunitx but array (loaded by siunitx). It changes the way tabular preambles are handled.
– Ulrike Fischer
Nov 10 at 9:10
2
The main problem is the fragile textbf. You can robustify itusepackageetoolboxrobustifytextbf
.
– Ulrike Fischer
Nov 10 at 9:34
add a comment |
4
It is no siunitx but array (loaded by siunitx). It changes the way tabular preambles are handled.
– Ulrike Fischer
Nov 10 at 9:10
2
The main problem is the fragile textbf. You can robustify itusepackageetoolboxrobustifytextbf
.
– Ulrike Fischer
Nov 10 at 9:34
4
4
It is no siunitx but array (loaded by siunitx). It changes the way tabular preambles are handled.
– Ulrike Fischer
Nov 10 at 9:10
It is no siunitx but array (loaded by siunitx). It changes the way tabular preambles are handled.
– Ulrike Fischer
Nov 10 at 9:10
2
2
The main problem is the fragile textbf. You can robustify it
usepackageetoolboxrobustifytextbf
.– Ulrike Fischer
Nov 10 at 9:34
The main problem is the fragile textbf. You can robustify it
usepackageetoolboxrobustifytextbf
.– Ulrike Fischer
Nov 10 at 9:34
add a comment |
1 Answer
1
active
oldest
votes
up vote
5
down vote
array
package should probably have made this safe, one way to patch it is
documentclass[11pt]article
usepackagecalc
usepackagearray
usepackageetoolbox
makeatletter
patchcmd @mkpream
let@sharprelax
defwidthof##1unexpandedwidthof##1let@sharprelax
makeatother
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
I have now added a fix to the array package (somewhat more general than the above). The next release of LaTeX's tools (planned for December 2018) will contain this.
– Frank Mittelbach
Nov 13 at 23:18
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
array
package should probably have made this safe, one way to patch it is
documentclass[11pt]article
usepackagecalc
usepackagearray
usepackageetoolbox
makeatletter
patchcmd @mkpream
let@sharprelax
defwidthof##1unexpandedwidthof##1let@sharprelax
makeatother
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
I have now added a fix to the array package (somewhat more general than the above). The next release of LaTeX's tools (planned for December 2018) will contain this.
– Frank Mittelbach
Nov 13 at 23:18
add a comment |
up vote
5
down vote
array
package should probably have made this safe, one way to patch it is
documentclass[11pt]article
usepackagecalc
usepackagearray
usepackageetoolbox
makeatletter
patchcmd @mkpream
let@sharprelax
defwidthof##1unexpandedwidthof##1let@sharprelax
makeatother
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
I have now added a fix to the array package (somewhat more general than the above). The next release of LaTeX's tools (planned for December 2018) will contain this.
– Frank Mittelbach
Nov 13 at 23:18
add a comment |
up vote
5
down vote
up vote
5
down vote
array
package should probably have made this safe, one way to patch it is
documentclass[11pt]article
usepackagecalc
usepackagearray
usepackageetoolbox
makeatletter
patchcmd @mkpream
let@sharprelax
defwidthof##1unexpandedwidthof##1let@sharprelax
makeatother
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
array
package should probably have made this safe, one way to patch it is
documentclass[11pt]article
usepackagecalc
usepackagearray
usepackageetoolbox
makeatletter
patchcmd @mkpream
let@sharprelax
defwidthof##1unexpandedwidthof##1let@sharprelax
makeatother
begindocument
begintabularp.5cmpwidthoftextbfAAAAAAAAAl
&textbfAAAAAAAAA&XXXXXXXXXXXXXXXXXXXXXX\
&textbfBBBBB&YYYYYYYYYYYYYYYYYYYYYYY\
endtabular
enddocument
answered Nov 10 at 11:30
David Carlisle
476k3811061840
476k3811061840
I have now added a fix to the array package (somewhat more general than the above). The next release of LaTeX's tools (planned for December 2018) will contain this.
– Frank Mittelbach
Nov 13 at 23:18
add a comment |
I have now added a fix to the array package (somewhat more general than the above). The next release of LaTeX's tools (planned for December 2018) will contain this.
– Frank Mittelbach
Nov 13 at 23:18
I have now added a fix to the array package (somewhat more general than the above). The next release of LaTeX's tools (planned for December 2018) will contain this.
– Frank Mittelbach
Nov 13 at 23:18
I have now added a fix to the array package (somewhat more general than the above). The next release of LaTeX's tools (planned for December 2018) will contain this.
– Frank Mittelbach
Nov 13 at 23:18
add a comment |
Gerhard is a new contributor. Be nice, and check out our Code of Conduct.
Gerhard is a new contributor. Be nice, and check out our Code of Conduct.
Gerhard is a new contributor. Be nice, and check out our Code of Conduct.
Gerhard is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459285%2fis-there-an-incompatibility-between-the-packages-calc-and-siunitx-genericerro%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
It is no siunitx but array (loaded by siunitx). It changes the way tabular preambles are handled.
– Ulrike Fischer
Nov 10 at 9:10
2
The main problem is the fragile textbf. You can robustify it
usepackageetoolboxrobustifytextbf
.– Ulrike Fischer
Nov 10 at 9:34