SIunitx error when using lighter weightsiunitx not working in tableSIlist does not work though there is no problem with SIrangeXeLaTex XeSyriac not getting fontsProblem highlighting binary units with soul and siunitx packagescreating new command including siunitx - error due to spacing (?)Weird DeclareUnicodeCharacter / siunitx clashExpansion of siunitx glossary entrys using a csv filesiunitx causes compilation errors after updating MiKTeX 2.9usepackagesiunitx produces error - texstudioUndefined control sequence when running siunitx
Is there a minimum amount of electricity that can be fed back into the grid?
Can a USB hub be used to access a drive from two devices?
I'm feeling like my character doesn't fit the campaign
Tiny URL creator
What is the shape of the upper boundary of water hitting a screen?
Why did Super-VGA offer the 5:4 1280*1024 resolution?
Was the 45.9°C temperature in France in June 2019 the highest ever recorded in France?
Why do Martians have to wear space helmets?
Chilling juice in copper vessel
Is conquering your neighbors to fight a greater enemy a valid strategy?
How do resistors generate different heat if we make the current fixed and changed the voltage and resistance? Notice the flow of charge is constant
How do I check that users don't write down their passwords?
Array or vector? Two dimensional array or matrix?
Why would "dead languages" be the only languages that spells could be written in?
Why do people prefer metropolitan areas, considering monsters and villains?
What happens if the limit of 4 billion files was exceeded in an ext4 partition?
Passwordless authentication - how invalidate login code
What's the difference between a type and a kind?
How did Einstein know the speed of light was constant?
Why is there paternal, for fatherly, fraternal, for brotherly, but no similar word for sons?
How would a sea turtle end up on its back?
Why do Klingons use cloaking devices?
Do intermediate subdomains need to exist?
What is the highest level of accuracy in motion control a Victorian society could achieve?
SIunitx error when using lighter weight
siunitx not working in tableSIlist does not work though there is no problem with SIrangeXeLaTex XeSyriac not getting fontsProblem highlighting binary units with soul and siunitx packagescreating new command including siunitx - error due to spacing (?)Weird DeclareUnicodeCharacter / siunitx clashExpansion of siunitx glossary entrys using a csv filesiunitx causes compilation errors after updating MiKTeX 2.9usepackagesiunitx produces error - texstudioUndefined control sequence when running siunitx
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Using the SIunitx package with montserrat package doesn't produce the desired result:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
% detect-all, % When, uncommented, the error described below occurs
% detect-weight, % When, uncommented, the error described below occurs
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
Produces:
When options detect-weight
or detect-all
are used, the following error is produced:
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
The PDF, notwithstanding the compilation error, the PDF shows the desired result:
The log file indicates:
Package: siunitx 2018-05-11 v2.7q A comprehensive (SI) units package
and reports the following error:
! Undefined control sequence.
__siunitx_font_weight: ->lseries
l.18 ...hows heavier weight: SI75micrometre
fonts siunitx
|
show 1 more comment
Using the SIunitx package with montserrat package doesn't produce the desired result:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
% detect-all, % When, uncommented, the error described below occurs
% detect-weight, % When, uncommented, the error described below occurs
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
Produces:
When options detect-weight
or detect-all
are used, the following error is produced:
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
The PDF, notwithstanding the compilation error, the PDF shows the desired result:
The log file indicates:
Package: siunitx 2018-05-11 v2.7q A comprehensive (SI) units package
and reports the following error:
! Undefined control sequence.
__siunitx_font_weight: ->lseries
l.18 ...hows heavier weight: SI75micrometre
fonts siunitx
1
Do you needmode = math
? Withmode = text
it works without errors.
– Ralf Stubner
8 hours ago
@RalfStubner If you uncommentdetect-weight
and setmath = text
in the MWE, the same error occurs. I have updated the MWE to indicate this.
– Martin Clouthier
8 hours ago
Indeed. But there is no error and the right fonts if you only usemode = text
without any of thedetect-*
options.
– Ralf Stubner
8 hours ago
@RalfStubner your suggestion works.
– Martin Clouthier
8 hours ago
1
@RalfStubner - There may be valid reasons (which the OP hasn't pointed out so far) for settingmode=math
. (See, e.g., p. 77 of the user guide of thesiunitx
package.) The work-around for this contingency is set setdetect-mode
(but certainly notdetect-all
) when loadingsiunitx
.
– Mico
8 hours ago
|
show 1 more comment
Using the SIunitx package with montserrat package doesn't produce the desired result:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
% detect-all, % When, uncommented, the error described below occurs
% detect-weight, % When, uncommented, the error described below occurs
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
Produces:
When options detect-weight
or detect-all
are used, the following error is produced:
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
The PDF, notwithstanding the compilation error, the PDF shows the desired result:
The log file indicates:
Package: siunitx 2018-05-11 v2.7q A comprehensive (SI) units package
and reports the following error:
! Undefined control sequence.
__siunitx_font_weight: ->lseries
l.18 ...hows heavier weight: SI75micrometre
fonts siunitx
Using the SIunitx package with montserrat package doesn't produce the desired result:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
% detect-all, % When, uncommented, the error described below occurs
% detect-weight, % When, uncommented, the error described below occurs
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
Produces:
When options detect-weight
or detect-all
are used, the following error is produced:
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
[no file]:18: Undefined control sequence. [...hows heavier weight: SI75micrometre]
The PDF, notwithstanding the compilation error, the PDF shows the desired result:
The log file indicates:
Package: siunitx 2018-05-11 v2.7q A comprehensive (SI) units package
and reports the following error:
! Undefined control sequence.
__siunitx_font_weight: ->lseries
l.18 ...hows heavier weight: SI75micrometre
fonts siunitx
fonts siunitx
edited 8 hours ago
Martin Clouthier
asked 8 hours ago
Martin ClouthierMartin Clouthier
1421 silver badge12 bronze badges
1421 silver badge12 bronze badges
1
Do you needmode = math
? Withmode = text
it works without errors.
– Ralf Stubner
8 hours ago
@RalfStubner If you uncommentdetect-weight
and setmath = text
in the MWE, the same error occurs. I have updated the MWE to indicate this.
– Martin Clouthier
8 hours ago
Indeed. But there is no error and the right fonts if you only usemode = text
without any of thedetect-*
options.
– Ralf Stubner
8 hours ago
@RalfStubner your suggestion works.
– Martin Clouthier
8 hours ago
1
@RalfStubner - There may be valid reasons (which the OP hasn't pointed out so far) for settingmode=math
. (See, e.g., p. 77 of the user guide of thesiunitx
package.) The work-around for this contingency is set setdetect-mode
(but certainly notdetect-all
) when loadingsiunitx
.
– Mico
8 hours ago
|
show 1 more comment
1
Do you needmode = math
? Withmode = text
it works without errors.
– Ralf Stubner
8 hours ago
@RalfStubner If you uncommentdetect-weight
and setmath = text
in the MWE, the same error occurs. I have updated the MWE to indicate this.
– Martin Clouthier
8 hours ago
Indeed. But there is no error and the right fonts if you only usemode = text
without any of thedetect-*
options.
– Ralf Stubner
8 hours ago
@RalfStubner your suggestion works.
– Martin Clouthier
8 hours ago
1
@RalfStubner - There may be valid reasons (which the OP hasn't pointed out so far) for settingmode=math
. (See, e.g., p. 77 of the user guide of thesiunitx
package.) The work-around for this contingency is set setdetect-mode
(but certainly notdetect-all
) when loadingsiunitx
.
– Mico
8 hours ago
1
1
Do you need
mode = math
? With mode = text
it works without errors.– Ralf Stubner
8 hours ago
Do you need
mode = math
? With mode = text
it works without errors.– Ralf Stubner
8 hours ago
@RalfStubner If you uncomment
detect-weight
and set math = text
in the MWE, the same error occurs. I have updated the MWE to indicate this.– Martin Clouthier
8 hours ago
@RalfStubner If you uncomment
detect-weight
and set math = text
in the MWE, the same error occurs. I have updated the MWE to indicate this.– Martin Clouthier
8 hours ago
Indeed. But there is no error and the right fonts if you only use
mode = text
without any of the detect-*
options.– Ralf Stubner
8 hours ago
Indeed. But there is no error and the right fonts if you only use
mode = text
without any of the detect-*
options.– Ralf Stubner
8 hours ago
@RalfStubner your suggestion works.
– Martin Clouthier
8 hours ago
@RalfStubner your suggestion works.
– Martin Clouthier
8 hours ago
1
1
@RalfStubner - There may be valid reasons (which the OP hasn't pointed out so far) for setting
mode=math
. (See, e.g., p. 77 of the user guide of the siunitx
package.) The work-around for this contingency is set set detect-mode
(but certainly not detect-all
) when loading siunitx
.– Mico
8 hours ago
@RalfStubner - There may be valid reasons (which the OP hasn't pointed out so far) for setting
mode=math
. (See, e.g., p. 77 of the user guide of the siunitx
package.) The work-around for this contingency is set set detect-mode
(but certainly not detect-all
) when loading siunitx
.– Mico
8 hours ago
|
show 1 more comment
3 Answers
3
active
oldest
votes
You need to load siunitx
with the option detect-mode
. (Please see the bottom of p. 17 and the top of p. 18 of the user guide of the siunitx
package for the differences between detect-mode
, detect-weight
, etc.)
documentclassarticle
usepackagegeometry % optional
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = math , detect-mode
begindocument
This is the weight and family of text desired. siunitx now shows the correct, i.e, thin weight: SI75micrometre
enddocument
add a comment |
Provide a definition for the missing command:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
detect-all, % When, uncommented, the error described below occurs
%detect-weight, % When, uncommented, the error described below occurs
DeclareRobustCommandlseriesfontserieslselectfont
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
add a comment |
You could use mode = text
without any any detect-*
options giving you the same output even when the unit is used in math mode:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = text
begindocument
This is the weight and family of text desired but when siunitx shows
heavier weight: SI75micrometre $SI75micrometre$
enddocument
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f498612%2fsiunitx-error-when-using-lighter-weight%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to load siunitx
with the option detect-mode
. (Please see the bottom of p. 17 and the top of p. 18 of the user guide of the siunitx
package for the differences between detect-mode
, detect-weight
, etc.)
documentclassarticle
usepackagegeometry % optional
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = math , detect-mode
begindocument
This is the weight and family of text desired. siunitx now shows the correct, i.e, thin weight: SI75micrometre
enddocument
add a comment |
You need to load siunitx
with the option detect-mode
. (Please see the bottom of p. 17 and the top of p. 18 of the user guide of the siunitx
package for the differences between detect-mode
, detect-weight
, etc.)
documentclassarticle
usepackagegeometry % optional
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = math , detect-mode
begindocument
This is the weight and family of text desired. siunitx now shows the correct, i.e, thin weight: SI75micrometre
enddocument
add a comment |
You need to load siunitx
with the option detect-mode
. (Please see the bottom of p. 17 and the top of p. 18 of the user guide of the siunitx
package for the differences between detect-mode
, detect-weight
, etc.)
documentclassarticle
usepackagegeometry % optional
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = math , detect-mode
begindocument
This is the weight and family of text desired. siunitx now shows the correct, i.e, thin weight: SI75micrometre
enddocument
You need to load siunitx
with the option detect-mode
. (Please see the bottom of p. 17 and the top of p. 18 of the user guide of the siunitx
package for the differences between detect-mode
, detect-weight
, etc.)
documentclassarticle
usepackagegeometry % optional
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = math , detect-mode
begindocument
This is the weight and family of text desired. siunitx now shows the correct, i.e, thin weight: SI75micrometre
enddocument
answered 8 hours ago
MicoMico
296k32 gold badges410 silver badges808 bronze badges
296k32 gold badges410 silver badges808 bronze badges
add a comment |
add a comment |
Provide a definition for the missing command:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
detect-all, % When, uncommented, the error described below occurs
%detect-weight, % When, uncommented, the error described below occurs
DeclareRobustCommandlseriesfontserieslselectfont
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
add a comment |
Provide a definition for the missing command:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
detect-all, % When, uncommented, the error described below occurs
%detect-weight, % When, uncommented, the error described below occurs
DeclareRobustCommandlseriesfontserieslselectfont
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
add a comment |
Provide a definition for the missing command:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
detect-all, % When, uncommented, the error described below occurs
%detect-weight, % When, uncommented, the error described below occurs
DeclareRobustCommandlseriesfontserieslselectfont
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
Provide a definition for the missing command:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup%
mode = math, % Same error if mode = text is used
detect-all, % When, uncommented, the error described below occurs
%detect-weight, % When, uncommented, the error described below occurs
DeclareRobustCommandlseriesfontserieslselectfont
begindocument
This is the weight and family of text desired but when siunitx shows heavier weight: SI75micrometre
enddocument
answered 8 hours ago
Ulrike FischerUlrike Fischer
208k9 gold badges314 silver badges708 bronze badges
208k9 gold badges314 silver badges708 bronze badges
add a comment |
add a comment |
You could use mode = text
without any any detect-*
options giving you the same output even when the unit is used in math mode:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = text
begindocument
This is the weight and family of text desired but when siunitx shows
heavier weight: SI75micrometre $SI75micrometre$
enddocument
add a comment |
You could use mode = text
without any any detect-*
options giving you the same output even when the unit is used in math mode:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = text
begindocument
This is the weight and family of text desired but when siunitx shows
heavier weight: SI75micrometre $SI75micrometre$
enddocument
add a comment |
You could use mode = text
without any any detect-*
options giving you the same output even when the unit is used in math mode:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = text
begindocument
This is the weight and family of text desired but when siunitx shows
heavier weight: SI75micrometre $SI75micrometre$
enddocument
You could use mode = text
without any any detect-*
options giving you the same output even when the unit is used in math mode:
documentclassarticle
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[defaultfam,light,scale=0.85]montserrat
usepackagesiunitx
sisetup mode = text
begindocument
This is the weight and family of text desired but when siunitx shows
heavier weight: SI75micrometre $SI75micrometre$
enddocument
answered 8 hours ago
Ralf StubnerRalf Stubner
6722 silver badges8 bronze badges
6722 silver badges8 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f498612%2fsiunitx-error-when-using-lighter-weight%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
1
Do you need
mode = math
? Withmode = text
it works without errors.– Ralf Stubner
8 hours ago
@RalfStubner If you uncomment
detect-weight
and setmath = text
in the MWE, the same error occurs. I have updated the MWE to indicate this.– Martin Clouthier
8 hours ago
Indeed. But there is no error and the right fonts if you only use
mode = text
without any of thedetect-*
options.– Ralf Stubner
8 hours ago
@RalfStubner your suggestion works.
– Martin Clouthier
8 hours ago
1
@RalfStubner - There may be valid reasons (which the OP hasn't pointed out so far) for setting
mode=math
. (See, e.g., p. 77 of the user guide of thesiunitx
package.) The work-around for this contingency is set setdetect-mode
(but certainly notdetect-all
) when loadingsiunitx
.– Mico
8 hours ago