Why can't I put a comma in a newtcolorbox
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
When I try to put a "," in the mybox environment, I get the error:
! Package pgfkeys Error: I do not know the key '/tcb/FM and PM and Narrowband F
M' and I am going to ignore it. Perhaps you misspelled it.
Is there a way to put a comma "," in the tcolorbox header so that my header appears as: Angle, FM, and PM and Narrowband FM? Thanks
CODE
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
tcolorbox
add a comment |Â
up vote
2
down vote
favorite
When I try to put a "," in the mybox environment, I get the error:
! Package pgfkeys Error: I do not know the key '/tcb/FM and PM and Narrowband F
M' and I am going to ignore it. Perhaps you misspelled it.
Is there a way to put a comma "," in the tcolorbox header so that my header appears as: Angle, FM, and PM and Narrowband FM? Thanks
CODE
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
tcolorbox
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
When I try to put a "," in the mybox environment, I get the error:
! Package pgfkeys Error: I do not know the key '/tcb/FM and PM and Narrowband F
M' and I am going to ignore it. Perhaps you misspelled it.
Is there a way to put a comma "," in the tcolorbox header so that my header appears as: Angle, FM, and PM and Narrowband FM? Thanks
CODE
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
tcolorbox
When I try to put a "," in the mybox environment, I get the error:
! Package pgfkeys Error: I do not know the key '/tcb/FM and PM and Narrowband F
M' and I am going to ignore it. Perhaps you misspelled it.
Is there a way to put a comma "," in the tcolorbox header so that my header appears as: Angle, FM, and PM and Narrowband FM? Thanks
CODE
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
tcolorbox
tcolorbox
asked 1 hour ago
Joe
3,41631847
3,41631847
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
Just put the title with the comma into two more
, otherwise, I think tcolorbox
thinks there is another parameter.
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle, FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
add a comment |Â
up vote
3
down vote
Brace the value for title
:
newtcolorboxmybox[2]
text width=0.97textwidth,
fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize,
colbacktitle=black,
enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,
top=3pt,
bottom=2pt,
title=#2,% <------ Braces!
colback=white
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Just put the title with the comma into two more
, otherwise, I think tcolorbox
thinks there is another parameter.
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle, FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
add a comment |Â
up vote
4
down vote
accepted
Just put the title with the comma into two more
, otherwise, I think tcolorbox
thinks there is another parameter.
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle, FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Just put the title with the comma into two more
, otherwise, I think tcolorbox
thinks there is another parameter.
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle, FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
Just put the title with the comma into two more
, otherwise, I think tcolorbox
thinks there is another parameter.
documentclassarticle
usepackage[landscape]geometry
usepackage[table]xcolor
usepackagemathtools
usepackagemulticol
usepackageamssymb,amsthm
usepackagelipsum
usepackageminibox
usepackage[most]tcolorbox
advancetopmargin-1in
advancetextheight3in
advancetextwidth3in
advanceoddsidemargin-1.5in
advanceevensidemargin-1.5in
parindent0pt
parskip2pt
newcommandhrcenterlinerule3.5in1pt
begindocument
beginmulticols*3
newtcolorboxmybox[2]text width=0.97textwidth,fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize, colbacktitle=black,enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,top=3pt,bottom=2pt,
title=#2,colback=white
%%------------ Angle, FM and PM and Narrowband FM ---------------
hspace-0.2cm
beginminipage0.31textwidth
beginmyboxAngle, FM and PM and Narrowband FM
lipsum[2]
endmybox
endminipage
endmulticols*
enddocument
answered 1 hour ago


CarLaTeX
26.6k444117
26.6k444117
add a comment |Â
add a comment |Â
up vote
3
down vote
Brace the value for title
:
newtcolorboxmybox[2]
text width=0.97textwidth,
fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize,
colbacktitle=black,
enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,
top=3pt,
bottom=2pt,
title=#2,% <------ Braces!
colback=white
add a comment |Â
up vote
3
down vote
Brace the value for title
:
newtcolorboxmybox[2]
text width=0.97textwidth,
fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize,
colbacktitle=black,
enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,
top=3pt,
bottom=2pt,
title=#2,% <------ Braces!
colback=white
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Brace the value for title
:
newtcolorboxmybox[2]
text width=0.97textwidth,
fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize,
colbacktitle=black,
enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,
top=3pt,
bottom=2pt,
title=#2,% <------ Braces!
colback=white
Brace the value for title
:
newtcolorboxmybox[2]
text width=0.97textwidth,
fontupper=scriptsize,
fonttitle=bfseriessffamilyscriptsize,
colbacktitle=black,
enhanced,
attach boxed title to top left=yshift=-2mm,xshift=3mm,
boxed title style=sharp corners,
top=3pt,
bottom=2pt,
title=#2,% <------ Braces!
colback=white
answered 13 mins ago


egreg
693k8518443096
693k8518443096
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f457667%2fwhy-cant-i-put-a-comma-in-a-newtcolorbox%23new-answer', 'question_page');
);
Post as a guest
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
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
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