How to add double frame in tcolorbox?how to draw a bicolor tcolorbox without frame?How to add space around tcolorbox theoremPackage `tcolorbox` within `titlesec`tcolorbox: remove frame of single tcb itemtcolorbox with bicolor, but only right frame outlinedHow to produce a partial double frame using tcolorbox?Note frame with tcolorbox packageSubsection in frame with tcolorbox packageHow to add label for referencing in this example tcolorboxBullet corner frame using tcolorbox
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
I probably found a bug with the sudo apt install function
What would the Romans have called "sorcery"?
Pronouncing Dictionary.com's W.O.D "vade mecum" in English
Do airline pilots ever risk not hearing communication directed to them specifically, from traffic controllers?
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
TGV timetables / schedules?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
Example of a relative pronoun
How is this relation reflexive?
How to add power-LED to my small amplifier?
Why CLRS example on residual networks does not follows its formula?
How to re-create Edward Weson's Pepper No. 30?
Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?
Modification to Chariots for Heavy Cavalry Analogue for 4-armed race
How does one intimidate enemies without having the capacity for violence?
Book about a traveler who helps planets in need
What are these boxed doors outside store fronts in New York?
Draw simple lines in Inkscape
How to get the available space of $HOME as a variable in shell scripting?
"which" command doesn't work / path of Safari?
Is it possible to do 50 km distance without any previous training?
Infinite past with a beginning?
How to add double frame in tcolorbox?
how to draw a bicolor tcolorbox without frame?How to add space around tcolorbox theoremPackage `tcolorbox` within `titlesec`tcolorbox: remove frame of single tcb itemtcolorbox with bicolor, but only right frame outlinedHow to produce a partial double frame using tcolorbox?Note frame with tcolorbox packageSubsection in frame with tcolorbox packageHow to add label for referencing in this example tcolorboxBullet corner frame using tcolorbox
Is it possible to add double frame in a tcolorbox? Actually I am trying to design a chapter using titlesec and tcolorbox which has two borders. Inner border colour will be white ( same as the page colour ) and the outer border colour will be cyan ( same as the box background colour) something like this.

This is the code which I was trying :
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
enhanced,
colback = myCyan,
fontupper=colorwhite,
boxrule=0pt,
colframe=black!70!white,
arc=0pt,
outer arc=0pt,
top=20pt,
bottom=20pt,
left=20pt,
right=20pt,
]
begincenter
#1
endcenter
endtcolorbox%
titlespacing*chapter0pt0cm0cm
chapters tcolorbox titlesec
add a comment |
Is it possible to add double frame in a tcolorbox? Actually I am trying to design a chapter using titlesec and tcolorbox which has two borders. Inner border colour will be white ( same as the page colour ) and the outer border colour will be cyan ( same as the box background colour) something like this.

This is the code which I was trying :
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
enhanced,
colback = myCyan,
fontupper=colorwhite,
boxrule=0pt,
colframe=black!70!white,
arc=0pt,
outer arc=0pt,
top=20pt,
bottom=20pt,
left=20pt,
right=20pt,
]
begincenter
#1
endcenter
endtcolorbox%
titlespacing*chapter0pt0cm0cm
chapters tcolorbox titlesec
So all of your chapters are not numbered?
– JouleV
yesterday
Yes, numbered. the image which i have provide is just for the demo purpose. Number will be at the begging of the chapter like this : 1. Android Tutorial
– Ravi
yesterday
add a comment |
Is it possible to add double frame in a tcolorbox? Actually I am trying to design a chapter using titlesec and tcolorbox which has two borders. Inner border colour will be white ( same as the page colour ) and the outer border colour will be cyan ( same as the box background colour) something like this.

This is the code which I was trying :
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
enhanced,
colback = myCyan,
fontupper=colorwhite,
boxrule=0pt,
colframe=black!70!white,
arc=0pt,
outer arc=0pt,
top=20pt,
bottom=20pt,
left=20pt,
right=20pt,
]
begincenter
#1
endcenter
endtcolorbox%
titlespacing*chapter0pt0cm0cm
chapters tcolorbox titlesec
Is it possible to add double frame in a tcolorbox? Actually I am trying to design a chapter using titlesec and tcolorbox which has two borders. Inner border colour will be white ( same as the page colour ) and the outer border colour will be cyan ( same as the box background colour) something like this.

This is the code which I was trying :
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
enhanced,
colback = myCyan,
fontupper=colorwhite,
boxrule=0pt,
colframe=black!70!white,
arc=0pt,
outer arc=0pt,
top=20pt,
bottom=20pt,
left=20pt,
right=20pt,
]
begincenter
#1
endcenter
endtcolorbox%
titlespacing*chapter0pt0cm0cm
chapters tcolorbox titlesec
chapters tcolorbox titlesec
edited yesterday
Ravi
asked yesterday
RaviRavi
31918
31918
So all of your chapters are not numbered?
– JouleV
yesterday
Yes, numbered. the image which i have provide is just for the demo purpose. Number will be at the begging of the chapter like this : 1. Android Tutorial
– Ravi
yesterday
add a comment |
So all of your chapters are not numbered?
– JouleV
yesterday
Yes, numbered. the image which i have provide is just for the demo purpose. Number will be at the begging of the chapter like this : 1. Android Tutorial
– Ravi
yesterday
So all of your chapters are not numbered?
– JouleV
yesterday
So all of your chapters are not numbered?
– JouleV
yesterday
Yes, numbered. the image which i have provide is just for the demo purpose. Number will be at the begging of the chapter like this : 1. Android Tutorial
– Ravi
yesterday
Yes, numbered. the image which i have provide is just for the demo purpose. Number will be at the begging of the chapter like this : 1. Android Tutorial
– Ravi
yesterday
add a comment |
1 Answer
1
active
oldest
votes
This may be a start. The idea is to nest tcolorboxes.
documentclassarticle
usepackagetcolorbox
begindocument
begintcolorbox[
colback=green!50!blue,
colframe=green!50!blue,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=green!50!blue,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesLargecentering
]
Android tutorial
endtcolorbox%
endtcolorbox
enddocument

Now let's customize our chapter with it.
documentclassbook
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
colback=myCyan,
colframe=myCyan,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=myCyan,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesHugecentering
]
thechapter. #1
endtcolorbox%
endtcolorbox%
titlespacing*chapter0pt0cm0cm
usepackagelipsum
begindocument
chapterLorem lipsum
lipsum[1]
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%2f483519%2fhow-to-add-double-frame-in-tcolorbox%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This may be a start. The idea is to nest tcolorboxes.
documentclassarticle
usepackagetcolorbox
begindocument
begintcolorbox[
colback=green!50!blue,
colframe=green!50!blue,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=green!50!blue,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesLargecentering
]
Android tutorial
endtcolorbox%
endtcolorbox
enddocument

Now let's customize our chapter with it.
documentclassbook
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
colback=myCyan,
colframe=myCyan,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=myCyan,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesHugecentering
]
thechapter. #1
endtcolorbox%
endtcolorbox%
titlespacing*chapter0pt0cm0cm
usepackagelipsum
begindocument
chapterLorem lipsum
lipsum[1]
enddocument

add a comment |
This may be a start. The idea is to nest tcolorboxes.
documentclassarticle
usepackagetcolorbox
begindocument
begintcolorbox[
colback=green!50!blue,
colframe=green!50!blue,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=green!50!blue,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesLargecentering
]
Android tutorial
endtcolorbox%
endtcolorbox
enddocument

Now let's customize our chapter with it.
documentclassbook
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
colback=myCyan,
colframe=myCyan,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=myCyan,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesHugecentering
]
thechapter. #1
endtcolorbox%
endtcolorbox%
titlespacing*chapter0pt0cm0cm
usepackagelipsum
begindocument
chapterLorem lipsum
lipsum[1]
enddocument

add a comment |
This may be a start. The idea is to nest tcolorboxes.
documentclassarticle
usepackagetcolorbox
begindocument
begintcolorbox[
colback=green!50!blue,
colframe=green!50!blue,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=green!50!blue,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesLargecentering
]
Android tutorial
endtcolorbox%
endtcolorbox
enddocument

Now let's customize our chapter with it.
documentclassbook
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
colback=myCyan,
colframe=myCyan,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=myCyan,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesHugecentering
]
thechapter. #1
endtcolorbox%
endtcolorbox%
titlespacing*chapter0pt0cm0cm
usepackagelipsum
begindocument
chapterLorem lipsum
lipsum[1]
enddocument

This may be a start. The idea is to nest tcolorboxes.
documentclassarticle
usepackagetcolorbox
begindocument
begintcolorbox[
colback=green!50!blue,
colframe=green!50!blue,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=green!50!blue,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesLargecentering
]
Android tutorial
endtcolorbox%
endtcolorbox
enddocument

Now let's customize our chapter with it.
documentclassbook
usepackage[explicit]titlesec
usepackage[many]tcolorbox
definecolormyCyanHTML13C39D
titleformatchapter[display]
sffamilybfseriesHugefilcenter
0pt
%
begintcolorbox[
colback=myCyan,
colframe=myCyan,
left=1.5pt,right=1.5pt,top=1.5pt,bottom=-1.5pt,
sharp corners,
boxsep=0pt
]
begintcolorbox[
colback=myCyan,
colframe=white,
leftrule=1.5pt,rightrule=1.5pt,toprule=1.5pt,bottomrule=1.5pt,
sharp corners,
fontupper=colorwhitesffamilybfseriesHugecentering
]
thechapter. #1
endtcolorbox%
endtcolorbox%
titlespacing*chapter0pt0cm0cm
usepackagelipsum
begindocument
chapterLorem lipsum
lipsum[1]
enddocument

edited yesterday
answered yesterday
JouleVJouleV
11.4k22561
11.4k22561
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%2f483519%2fhow-to-add-double-frame-in-tcolorbox%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
So all of your chapters are not numbered?
– JouleV
yesterday
Yes, numbered. the image which i have provide is just for the demo purpose. Number will be at the begging of the chapter like this : 1. Android Tutorial
– Ravi
yesterday