A new aspect for the chapter of Legrand Orange BookHow to make this chapter heading style?TikZ scaling graphic and adjust node position and keep font sizeThe Legrand Orange Book back matterError using modified structure.tex on Legrand Orange Book templateUpdate Legrand Orange Book template mini table of contentsLegrand Orange Book template Example colorbox from black to ocreReproducing the Chapter-Picture Style of the Legrand Orange BookChapter thumb to work with Legrand Orange Book TemplateError compiling the unmodified Legrand Orange Book templateLine up nested tikz enviroments or how to get rid of themThe Legrand Orange Book: Section

What typically incentivizes a professor to change jobs to a lower ranking university?

What is the word for reserving something for yourself before others do?

Writing rule stating superpower from different root cause is bad writing

Risk of getting Chronic Wasting Disease in the US?

Is it legal for company to use my work email to pretend I still work there?

Email Account under attack (really) - anything I can do?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

How do I create uniquely male characters?

Have astronauts in space suits ever taken selfies? If so, how?

Is a tag line useful on a cover?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Mage Armor with Defense fighting style (for Adventurers League bladeslinger)

What does it mean to describe someone as a butt steak?

Pattern match does not work in bash script

Why Is Death Allowed In the Matrix?

Mathematical cryptic clues

Finding angle with pure Geometry.

Is it unprofessional to ask if a job posting on GlassDoor is real?

Prove that NP is closed under karp reduction?

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

Why is consensus so controversial in Britain?

Characters won't fit in table

Font hinting is lost in Chrome-like browsers (for some languages )

What's the point of deactivating Num Lock on login screens?



A new aspect for the chapter of Legrand Orange Book


How to make this chapter heading style?TikZ scaling graphic and adjust node position and keep font sizeThe Legrand Orange Book back matterError using modified structure.tex on Legrand Orange Book templateUpdate Legrand Orange Book template mini table of contentsLegrand Orange Book template Example colorbox from black to ocreReproducing the Chapter-Picture Style of the Legrand Orange BookChapter thumb to work with Legrand Orange Book TemplateError compiling the unmodified Legrand Orange Book templateLine up nested tikz enviroments or how to get rid of themThe Legrand Orange Book: Section













1















Starting from this MWE,



 documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins

usepackagegraphicx % Required for including pictures
usepackagetikz % Required for drawing custom shapes
usepackagexcolor % Required for specifying colors by name
definecolorocreRGB243,102,25 % Define the orange color used for highlighting throughout the book

%----------------------------------------------------------------------------------------
% SECTION NUMBERING IN THE MARGIN
%----------------------------------------------------------------------------------------

makeatletter
renewcommand@seccntformat[1]llaptextcolorocrecsname the#1endcsnamehspace1em
renewcommandsection@startsectionsection1z@
-4ex @plus -1ex @minus -.4ex
1ex @plus.2ex
normalfontlargesffamilybfseries
renewcommandsubsection@startsection subsection2z@
-3ex @plus -0.1ex @minus -.4ex
0.5ex @plus.2ex
normalfontsffamilybfseries
renewcommandsubsubsection@startsection subsubsection3z@
-2ex @plus -0.1ex @minus -.2ex
.2ex @plus.2ex
normalfontsmallsffamilybfseries
renewcommandparagraph@startsectionparagraph4z@
-2ex @plus-.2ex @minus .2ex
.1ex
normalfontsmallsffamilybfseries


%----------------------------------------------------------------------------------------
% CHANGE THIS STYLE CHAPTER
%----------------------------------------------------------------------------------------

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommandthechapterimage%
newcommandchapterimage[1]ifusechapterimagerenewcommandthechapterimage#1fi%
newcommandautodot.
def@makechapterhead#1%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblackthechapterautodot~#1strut;
endtikzpicture;
endtikzpicture
else
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
fifiparvspace*270p@

%-------------------------------------------

def@makeschapterhead#1%
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
parvspace*270p@
makeatother
begindocument
chapterimageexample-image-a
chapterText Chapter
sectionParagraphs of TextindexParagraphs of Text
enddocument


looking carefully at this code, there is a rounded rectangle, ochre color, with opacity that provides a good contrast with the image below.



enter image description here



Using the same identical structural code I am not able to operate a variant, with TikZ. In fact, to create that rounded rectangle where the text is present and the ochre border is used a code complex for me of TikZ.



I'd like to have something different of this shape. How can I get this same image, for example,



enter image description here



using the same identical code of my MWE operating the variant only of the graphic part?



I kindly ask for your precious help.










share|improve this question
























  • Could you please try to clarify the question? The first screen shot is the output that you get from running the code. So far, so good. But what this the question? What role do the other two screen shots play in the question? (BTW, I think many users told you not to use the Legrand Orange Book. We wouldn't recommend running a marathon with high heel shoes either. The recommendation not to run a marathon with high heel shoes does not mean that high heel shoes are crap, it just means you shouldn't use them for that purposes. The analogous statements apply to LOB and your book.)

    – marmot
    23 hours ago











  • @marmot I'll answer you immediately: the source of inspiration is Legrand Orange Book but many other settings will be changed by the publishing house. I would simply like to replace the orange curvature indicated by the yellow arrow with something original that is not the one that Christian added. I finally gave 2 examples of how I would like the orange curvature to be changed by inserting a text on two lines. I hope I was clear. You can edit my question. Translated with www.DeepL.com/Translator

    – Sebastiano
    23 hours ago















1















Starting from this MWE,



 documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins

usepackagegraphicx % Required for including pictures
usepackagetikz % Required for drawing custom shapes
usepackagexcolor % Required for specifying colors by name
definecolorocreRGB243,102,25 % Define the orange color used for highlighting throughout the book

%----------------------------------------------------------------------------------------
% SECTION NUMBERING IN THE MARGIN
%----------------------------------------------------------------------------------------

makeatletter
renewcommand@seccntformat[1]llaptextcolorocrecsname the#1endcsnamehspace1em
renewcommandsection@startsectionsection1z@
-4ex @plus -1ex @minus -.4ex
1ex @plus.2ex
normalfontlargesffamilybfseries
renewcommandsubsection@startsection subsection2z@
-3ex @plus -0.1ex @minus -.4ex
0.5ex @plus.2ex
normalfontsffamilybfseries
renewcommandsubsubsection@startsection subsubsection3z@
-2ex @plus -0.1ex @minus -.2ex
.2ex @plus.2ex
normalfontsmallsffamilybfseries
renewcommandparagraph@startsectionparagraph4z@
-2ex @plus-.2ex @minus .2ex
.1ex
normalfontsmallsffamilybfseries


%----------------------------------------------------------------------------------------
% CHANGE THIS STYLE CHAPTER
%----------------------------------------------------------------------------------------

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommandthechapterimage%
newcommandchapterimage[1]ifusechapterimagerenewcommandthechapterimage#1fi%
newcommandautodot.
def@makechapterhead#1%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblackthechapterautodot~#1strut;
endtikzpicture;
endtikzpicture
else
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
fifiparvspace*270p@

%-------------------------------------------

def@makeschapterhead#1%
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
parvspace*270p@
makeatother
begindocument
chapterimageexample-image-a
chapterText Chapter
sectionParagraphs of TextindexParagraphs of Text
enddocument


looking carefully at this code, there is a rounded rectangle, ochre color, with opacity that provides a good contrast with the image below.



enter image description here



Using the same identical structural code I am not able to operate a variant, with TikZ. In fact, to create that rounded rectangle where the text is present and the ochre border is used a code complex for me of TikZ.



I'd like to have something different of this shape. How can I get this same image, for example,



enter image description here



using the same identical code of my MWE operating the variant only of the graphic part?



I kindly ask for your precious help.










share|improve this question
























  • Could you please try to clarify the question? The first screen shot is the output that you get from running the code. So far, so good. But what this the question? What role do the other two screen shots play in the question? (BTW, I think many users told you not to use the Legrand Orange Book. We wouldn't recommend running a marathon with high heel shoes either. The recommendation not to run a marathon with high heel shoes does not mean that high heel shoes are crap, it just means you shouldn't use them for that purposes. The analogous statements apply to LOB and your book.)

    – marmot
    23 hours ago











  • @marmot I'll answer you immediately: the source of inspiration is Legrand Orange Book but many other settings will be changed by the publishing house. I would simply like to replace the orange curvature indicated by the yellow arrow with something original that is not the one that Christian added. I finally gave 2 examples of how I would like the orange curvature to be changed by inserting a text on two lines. I hope I was clear. You can edit my question. Translated with www.DeepL.com/Translator

    – Sebastiano
    23 hours ago













1












1








1








Starting from this MWE,



 documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins

usepackagegraphicx % Required for including pictures
usepackagetikz % Required for drawing custom shapes
usepackagexcolor % Required for specifying colors by name
definecolorocreRGB243,102,25 % Define the orange color used for highlighting throughout the book

%----------------------------------------------------------------------------------------
% SECTION NUMBERING IN THE MARGIN
%----------------------------------------------------------------------------------------

makeatletter
renewcommand@seccntformat[1]llaptextcolorocrecsname the#1endcsnamehspace1em
renewcommandsection@startsectionsection1z@
-4ex @plus -1ex @minus -.4ex
1ex @plus.2ex
normalfontlargesffamilybfseries
renewcommandsubsection@startsection subsection2z@
-3ex @plus -0.1ex @minus -.4ex
0.5ex @plus.2ex
normalfontsffamilybfseries
renewcommandsubsubsection@startsection subsubsection3z@
-2ex @plus -0.1ex @minus -.2ex
.2ex @plus.2ex
normalfontsmallsffamilybfseries
renewcommandparagraph@startsectionparagraph4z@
-2ex @plus-.2ex @minus .2ex
.1ex
normalfontsmallsffamilybfseries


%----------------------------------------------------------------------------------------
% CHANGE THIS STYLE CHAPTER
%----------------------------------------------------------------------------------------

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommandthechapterimage%
newcommandchapterimage[1]ifusechapterimagerenewcommandthechapterimage#1fi%
newcommandautodot.
def@makechapterhead#1%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblackthechapterautodot~#1strut;
endtikzpicture;
endtikzpicture
else
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
fifiparvspace*270p@

%-------------------------------------------

def@makeschapterhead#1%
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
parvspace*270p@
makeatother
begindocument
chapterimageexample-image-a
chapterText Chapter
sectionParagraphs of TextindexParagraphs of Text
enddocument


looking carefully at this code, there is a rounded rectangle, ochre color, with opacity that provides a good contrast with the image below.



enter image description here



Using the same identical structural code I am not able to operate a variant, with TikZ. In fact, to create that rounded rectangle where the text is present and the ochre border is used a code complex for me of TikZ.



I'd like to have something different of this shape. How can I get this same image, for example,



enter image description here



using the same identical code of my MWE operating the variant only of the graphic part?



I kindly ask for your precious help.










share|improve this question
















Starting from this MWE,



 documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins

usepackagegraphicx % Required for including pictures
usepackagetikz % Required for drawing custom shapes
usepackagexcolor % Required for specifying colors by name
definecolorocreRGB243,102,25 % Define the orange color used for highlighting throughout the book

%----------------------------------------------------------------------------------------
% SECTION NUMBERING IN THE MARGIN
%----------------------------------------------------------------------------------------

makeatletter
renewcommand@seccntformat[1]llaptextcolorocrecsname the#1endcsnamehspace1em
renewcommandsection@startsectionsection1z@
-4ex @plus -1ex @minus -.4ex
1ex @plus.2ex
normalfontlargesffamilybfseries
renewcommandsubsection@startsection subsection2z@
-3ex @plus -0.1ex @minus -.4ex
0.5ex @plus.2ex
normalfontsffamilybfseries
renewcommandsubsubsection@startsection subsubsection3z@
-2ex @plus -0.1ex @minus -.2ex
.2ex @plus.2ex
normalfontsmallsffamilybfseries
renewcommandparagraph@startsectionparagraph4z@
-2ex @plus-.2ex @minus .2ex
.1ex
normalfontsmallsffamilybfseries


%----------------------------------------------------------------------------------------
% CHANGE THIS STYLE CHAPTER
%----------------------------------------------------------------------------------------

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommandthechapterimage%
newcommandchapterimage[1]ifusechapterimagerenewcommandthechapterimage#1fi%
newcommandautodot.
def@makechapterhead#1%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblackthechapterautodot~#1strut;
endtikzpicture;
endtikzpicture
else
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
fifiparvspace*270p@

%-------------------------------------------

def@makeschapterhead#1%
begintikzpicture[remember picture,overlay]
node at (current page.north west)
begintikzpicture[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) ifusechapterimageincludegraphics[width=paperwidth]thechapterimagefi;
draw[anchor=west] (Gm@lmargin,-9cm) node [line width=2pt,rounded corners=15pt,draw=ocre,fill=white,fill opacity=0.5,inner sep=15pt]strutmakebox[22cm];
draw[anchor=west] (Gm@lmargin+.3cm,-9cm) node hugesffamilybfseriescolorblack#1strut;
endtikzpicture;
endtikzpicture
parvspace*270p@
makeatother
begindocument
chapterimageexample-image-a
chapterText Chapter
sectionParagraphs of TextindexParagraphs of Text
enddocument


looking carefully at this code, there is a rounded rectangle, ochre color, with opacity that provides a good contrast with the image below.



enter image description here



Using the same identical structural code I am not able to operate a variant, with TikZ. In fact, to create that rounded rectangle where the text is present and the ochre border is used a code complex for me of TikZ.



I'd like to have something different of this shape. How can I get this same image, for example,



enter image description here



using the same identical code of my MWE operating the variant only of the graphic part?



I kindly ask for your precious help.







tikz-pgf templates book-design layout






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 8 mins ago







Sebastiano

















asked 2 days ago









SebastianoSebastiano

11.2k42166




11.2k42166












  • Could you please try to clarify the question? The first screen shot is the output that you get from running the code. So far, so good. But what this the question? What role do the other two screen shots play in the question? (BTW, I think many users told you not to use the Legrand Orange Book. We wouldn't recommend running a marathon with high heel shoes either. The recommendation not to run a marathon with high heel shoes does not mean that high heel shoes are crap, it just means you shouldn't use them for that purposes. The analogous statements apply to LOB and your book.)

    – marmot
    23 hours ago











  • @marmot I'll answer you immediately: the source of inspiration is Legrand Orange Book but many other settings will be changed by the publishing house. I would simply like to replace the orange curvature indicated by the yellow arrow with something original that is not the one that Christian added. I finally gave 2 examples of how I would like the orange curvature to be changed by inserting a text on two lines. I hope I was clear. You can edit my question. Translated with www.DeepL.com/Translator

    – Sebastiano
    23 hours ago

















  • Could you please try to clarify the question? The first screen shot is the output that you get from running the code. So far, so good. But what this the question? What role do the other two screen shots play in the question? (BTW, I think many users told you not to use the Legrand Orange Book. We wouldn't recommend running a marathon with high heel shoes either. The recommendation not to run a marathon with high heel shoes does not mean that high heel shoes are crap, it just means you shouldn't use them for that purposes. The analogous statements apply to LOB and your book.)

    – marmot
    23 hours ago











  • @marmot I'll answer you immediately: the source of inspiration is Legrand Orange Book but many other settings will be changed by the publishing house. I would simply like to replace the orange curvature indicated by the yellow arrow with something original that is not the one that Christian added. I finally gave 2 examples of how I would like the orange curvature to be changed by inserting a text on two lines. I hope I was clear. You can edit my question. Translated with www.DeepL.com/Translator

    – Sebastiano
    23 hours ago
















Could you please try to clarify the question? The first screen shot is the output that you get from running the code. So far, so good. But what this the question? What role do the other two screen shots play in the question? (BTW, I think many users told you not to use the Legrand Orange Book. We wouldn't recommend running a marathon with high heel shoes either. The recommendation not to run a marathon with high heel shoes does not mean that high heel shoes are crap, it just means you shouldn't use them for that purposes. The analogous statements apply to LOB and your book.)

– marmot
23 hours ago





Could you please try to clarify the question? The first screen shot is the output that you get from running the code. So far, so good. But what this the question? What role do the other two screen shots play in the question? (BTW, I think many users told you not to use the Legrand Orange Book. We wouldn't recommend running a marathon with high heel shoes either. The recommendation not to run a marathon with high heel shoes does not mean that high heel shoes are crap, it just means you shouldn't use them for that purposes. The analogous statements apply to LOB and your book.)

– marmot
23 hours ago













@marmot I'll answer you immediately: the source of inspiration is Legrand Orange Book but many other settings will be changed by the publishing house. I would simply like to replace the orange curvature indicated by the yellow arrow with something original that is not the one that Christian added. I finally gave 2 examples of how I would like the orange curvature to be changed by inserting a text on two lines. I hope I was clear. You can edit my question. Translated with www.DeepL.com/Translator

– Sebastiano
23 hours ago





@marmot I'll answer you immediately: the source of inspiration is Legrand Orange Book but many other settings will be changed by the publishing house. I would simply like to replace the orange curvature indicated by the yellow arrow with something original that is not the one that Christian added. I finally gave 2 examples of how I would like the orange curvature to be changed by inserting a text on two lines. I hope I was clear. You can edit my question. Translated with www.DeepL.com/Translator

– Sebastiano
23 hours ago










1 Answer
1






active

oldest

votes


















1














I still don't know if I get the message but this is something that is based on this answer. It does some orange boxes whose size adjusts to the multiline chapter titles. While the TeX code is not particularly interesting, the chapter titles contain a deep philosophical message, which is why I fully understand that some users may need styles that allow them to run chapter titles over several lines. ;-)



documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins
usepackagelmodern
usepackage[explicit]titlesec
usepackagemicrotype
usepackagetikz
usetikzlibrarypositioning,calc
definecolormyblueRGB0,82,155
% from https://tex.stackexchange.com/a/169435/121799
titleformatchapter[display]
normalfontbfseriescolormyblue
%filleft%
begintikzpicture
node[inner xsep=0.5em,text
width=textwidth-2em-2.5cm,align=left,font=Largesffamily]
(CC)#1;
path let p1=($(CC.north)-(CC.south)$) in
node[minimum width=2.5cm,minimum height=min(2.5cm,y1),left=1em of CC,
fill=orange,font=Hugesffamilybfseries,text=blue] (TC) thechapter;
%chaptertitlename~thechapter;
endtikzpicture%

10pt


begindocument
pagestyleempty
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday.
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.

enddocument


enter image description here






share|improve this answer























  • @Dear and courteous marmot, in the meantime I thank you for your kind answer. The link you entered has no reference to my question. I'm so sorry that you did an extra job that I return it. My question is another. That is, within the code I entered there is a rounded rectangle of ochre color that I highlighted with the yellow arrow. I would always like the same code that has a white shadow (rectangular) as the background above figure A of my MWE.

    – Sebastiano
    6 hours ago











  • Inside my same MWE I don't know how to operate in TikZ because there are a lot of strange codes all linked together. If I change something I personally make a salad :-)

    – Sebastiano
    6 hours ago











  • @Sebastiano Sorry, I (still) do not understand what you want me to do. You have a code. Do you want to modify it? If so, what should the modified code achieve?

    – marmot
    5 hours ago






  • 1





    @Sebastiano Sorry, I give up. I asked you several times to kindly consider making your question clearer. I fully believe that you have a clear question in mind, but I do not have most of the information and context, and you only give me fragments, Maybe this conversation may help others to find out what you are after, so I leave the post for a short while before I delete it. Sorry.

    – marmot
    5 hours ago






  • 1





    @Sebastiano I guess we have a problem: you say you are not good at English and I am not good at guessing. Can you at least partly understand why it is not a good idea to have two target (?) screen shots and not much of an explanation? It may be that it will cost you slightly more time to make the question clearer, but you will save a lot of time of those who are trying to answer.

    – marmot
    3 hours ago











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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483136%2fa-new-aspect-for-the-chapter-of-legrand-orange-book%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









1














I still don't know if I get the message but this is something that is based on this answer. It does some orange boxes whose size adjusts to the multiline chapter titles. While the TeX code is not particularly interesting, the chapter titles contain a deep philosophical message, which is why I fully understand that some users may need styles that allow them to run chapter titles over several lines. ;-)



documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins
usepackagelmodern
usepackage[explicit]titlesec
usepackagemicrotype
usepackagetikz
usetikzlibrarypositioning,calc
definecolormyblueRGB0,82,155
% from https://tex.stackexchange.com/a/169435/121799
titleformatchapter[display]
normalfontbfseriescolormyblue
%filleft%
begintikzpicture
node[inner xsep=0.5em,text
width=textwidth-2em-2.5cm,align=left,font=Largesffamily]
(CC)#1;
path let p1=($(CC.north)-(CC.south)$) in
node[minimum width=2.5cm,minimum height=min(2.5cm,y1),left=1em of CC,
fill=orange,font=Hugesffamilybfseries,text=blue] (TC) thechapter;
%chaptertitlename~thechapter;
endtikzpicture%

10pt


begindocument
pagestyleempty
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday.
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.

enddocument


enter image description here






share|improve this answer























  • @Dear and courteous marmot, in the meantime I thank you for your kind answer. The link you entered has no reference to my question. I'm so sorry that you did an extra job that I return it. My question is another. That is, within the code I entered there is a rounded rectangle of ochre color that I highlighted with the yellow arrow. I would always like the same code that has a white shadow (rectangular) as the background above figure A of my MWE.

    – Sebastiano
    6 hours ago











  • Inside my same MWE I don't know how to operate in TikZ because there are a lot of strange codes all linked together. If I change something I personally make a salad :-)

    – Sebastiano
    6 hours ago











  • @Sebastiano Sorry, I (still) do not understand what you want me to do. You have a code. Do you want to modify it? If so, what should the modified code achieve?

    – marmot
    5 hours ago






  • 1





    @Sebastiano Sorry, I give up. I asked you several times to kindly consider making your question clearer. I fully believe that you have a clear question in mind, but I do not have most of the information and context, and you only give me fragments, Maybe this conversation may help others to find out what you are after, so I leave the post for a short while before I delete it. Sorry.

    – marmot
    5 hours ago






  • 1





    @Sebastiano I guess we have a problem: you say you are not good at English and I am not good at guessing. Can you at least partly understand why it is not a good idea to have two target (?) screen shots and not much of an explanation? It may be that it will cost you slightly more time to make the question clearer, but you will save a lot of time of those who are trying to answer.

    – marmot
    3 hours ago















1














I still don't know if I get the message but this is something that is based on this answer. It does some orange boxes whose size adjusts to the multiline chapter titles. While the TeX code is not particularly interesting, the chapter titles contain a deep philosophical message, which is why I fully understand that some users may need styles that allow them to run chapter titles over several lines. ;-)



documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins
usepackagelmodern
usepackage[explicit]titlesec
usepackagemicrotype
usepackagetikz
usetikzlibrarypositioning,calc
definecolormyblueRGB0,82,155
% from https://tex.stackexchange.com/a/169435/121799
titleformatchapter[display]
normalfontbfseriescolormyblue
%filleft%
begintikzpicture
node[inner xsep=0.5em,text
width=textwidth-2em-2.5cm,align=left,font=Largesffamily]
(CC)#1;
path let p1=($(CC.north)-(CC.south)$) in
node[minimum width=2.5cm,minimum height=min(2.5cm,y1),left=1em of CC,
fill=orange,font=Hugesffamilybfseries,text=blue] (TC) thechapter;
%chaptertitlename~thechapter;
endtikzpicture%

10pt


begindocument
pagestyleempty
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday.
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.

enddocument


enter image description here






share|improve this answer























  • @Dear and courteous marmot, in the meantime I thank you for your kind answer. The link you entered has no reference to my question. I'm so sorry that you did an extra job that I return it. My question is another. That is, within the code I entered there is a rounded rectangle of ochre color that I highlighted with the yellow arrow. I would always like the same code that has a white shadow (rectangular) as the background above figure A of my MWE.

    – Sebastiano
    6 hours ago











  • Inside my same MWE I don't know how to operate in TikZ because there are a lot of strange codes all linked together. If I change something I personally make a salad :-)

    – Sebastiano
    6 hours ago











  • @Sebastiano Sorry, I (still) do not understand what you want me to do. You have a code. Do you want to modify it? If so, what should the modified code achieve?

    – marmot
    5 hours ago






  • 1





    @Sebastiano Sorry, I give up. I asked you several times to kindly consider making your question clearer. I fully believe that you have a clear question in mind, but I do not have most of the information and context, and you only give me fragments, Maybe this conversation may help others to find out what you are after, so I leave the post for a short while before I delete it. Sorry.

    – marmot
    5 hours ago






  • 1





    @Sebastiano I guess we have a problem: you say you are not good at English and I am not good at guessing. Can you at least partly understand why it is not a good idea to have two target (?) screen shots and not much of an explanation? It may be that it will cost you slightly more time to make the question clearer, but you will save a lot of time of those who are trying to answer.

    – marmot
    3 hours ago













1












1








1







I still don't know if I get the message but this is something that is based on this answer. It does some orange boxes whose size adjusts to the multiline chapter titles. While the TeX code is not particularly interesting, the chapter titles contain a deep philosophical message, which is why I fully understand that some users may need styles that allow them to run chapter titles over several lines. ;-)



documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins
usepackagelmodern
usepackage[explicit]titlesec
usepackagemicrotype
usepackagetikz
usetikzlibrarypositioning,calc
definecolormyblueRGB0,82,155
% from https://tex.stackexchange.com/a/169435/121799
titleformatchapter[display]
normalfontbfseriescolormyblue
%filleft%
begintikzpicture
node[inner xsep=0.5em,text
width=textwidth-2em-2.5cm,align=left,font=Largesffamily]
(CC)#1;
path let p1=($(CC.north)-(CC.south)$) in
node[minimum width=2.5cm,minimum height=min(2.5cm,y1),left=1em of CC,
fill=orange,font=Hugesffamilybfseries,text=blue] (TC) thechapter;
%chaptertitlename~thechapter;
endtikzpicture%

10pt


begindocument
pagestyleempty
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday.
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.

enddocument


enter image description here






share|improve this answer













I still don't know if I get the message but this is something that is based on this answer. It does some orange boxes whose size adjusts to the multiline chapter titles. While the TeX code is not particularly interesting, the chapter titles contain a deep philosophical message, which is why I fully understand that some users may need styles that allow them to run chapter titles over several lines. ;-)



documentclass[12pt,fleqn]book 
usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]geometry % Page margins
usepackagelmodern
usepackage[explicit]titlesec
usepackagemicrotype
usepackagetikz
usetikzlibrarypositioning,calc
definecolormyblueRGB0,82,155
% from https://tex.stackexchange.com/a/169435/121799
titleformatchapter[display]
normalfontbfseriescolormyblue
%filleft%
begintikzpicture
node[inner xsep=0.5em,text
width=textwidth-2em-2.5cm,align=left,font=Largesffamily]
(CC)#1;
path let p1=($(CC.north)-(CC.south)$) in
node[minimum width=2.5cm,minimum height=min(2.5cm,y1),left=1em of CC,
fill=orange,font=Hugesffamilybfseries,text=blue] (TC) thechapter;
%chaptertitlename~thechapter;
endtikzpicture%

10pt


begindocument
pagestyleempty
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday.
chapterThose who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.

enddocument


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 22 hours ago









marmotmarmot

115k5146277




115k5146277












  • @Dear and courteous marmot, in the meantime I thank you for your kind answer. The link you entered has no reference to my question. I'm so sorry that you did an extra job that I return it. My question is another. That is, within the code I entered there is a rounded rectangle of ochre color that I highlighted with the yellow arrow. I would always like the same code that has a white shadow (rectangular) as the background above figure A of my MWE.

    – Sebastiano
    6 hours ago











  • Inside my same MWE I don't know how to operate in TikZ because there are a lot of strange codes all linked together. If I change something I personally make a salad :-)

    – Sebastiano
    6 hours ago











  • @Sebastiano Sorry, I (still) do not understand what you want me to do. You have a code. Do you want to modify it? If so, what should the modified code achieve?

    – marmot
    5 hours ago






  • 1





    @Sebastiano Sorry, I give up. I asked you several times to kindly consider making your question clearer. I fully believe that you have a clear question in mind, but I do not have most of the information and context, and you only give me fragments, Maybe this conversation may help others to find out what you are after, so I leave the post for a short while before I delete it. Sorry.

    – marmot
    5 hours ago






  • 1





    @Sebastiano I guess we have a problem: you say you are not good at English and I am not good at guessing. Can you at least partly understand why it is not a good idea to have two target (?) screen shots and not much of an explanation? It may be that it will cost you slightly more time to make the question clearer, but you will save a lot of time of those who are trying to answer.

    – marmot
    3 hours ago

















  • @Dear and courteous marmot, in the meantime I thank you for your kind answer. The link you entered has no reference to my question. I'm so sorry that you did an extra job that I return it. My question is another. That is, within the code I entered there is a rounded rectangle of ochre color that I highlighted with the yellow arrow. I would always like the same code that has a white shadow (rectangular) as the background above figure A of my MWE.

    – Sebastiano
    6 hours ago











  • Inside my same MWE I don't know how to operate in TikZ because there are a lot of strange codes all linked together. If I change something I personally make a salad :-)

    – Sebastiano
    6 hours ago











  • @Sebastiano Sorry, I (still) do not understand what you want me to do. You have a code. Do you want to modify it? If so, what should the modified code achieve?

    – marmot
    5 hours ago






  • 1





    @Sebastiano Sorry, I give up. I asked you several times to kindly consider making your question clearer. I fully believe that you have a clear question in mind, but I do not have most of the information and context, and you only give me fragments, Maybe this conversation may help others to find out what you are after, so I leave the post for a short while before I delete it. Sorry.

    – marmot
    5 hours ago






  • 1





    @Sebastiano I guess we have a problem: you say you are not good at English and I am not good at guessing. Can you at least partly understand why it is not a good idea to have two target (?) screen shots and not much of an explanation? It may be that it will cost you slightly more time to make the question clearer, but you will save a lot of time of those who are trying to answer.

    – marmot
    3 hours ago
















@Dear and courteous marmot, in the meantime I thank you for your kind answer. The link you entered has no reference to my question. I'm so sorry that you did an extra job that I return it. My question is another. That is, within the code I entered there is a rounded rectangle of ochre color that I highlighted with the yellow arrow. I would always like the same code that has a white shadow (rectangular) as the background above figure A of my MWE.

– Sebastiano
6 hours ago





@Dear and courteous marmot, in the meantime I thank you for your kind answer. The link you entered has no reference to my question. I'm so sorry that you did an extra job that I return it. My question is another. That is, within the code I entered there is a rounded rectangle of ochre color that I highlighted with the yellow arrow. I would always like the same code that has a white shadow (rectangular) as the background above figure A of my MWE.

– Sebastiano
6 hours ago













Inside my same MWE I don't know how to operate in TikZ because there are a lot of strange codes all linked together. If I change something I personally make a salad :-)

– Sebastiano
6 hours ago





Inside my same MWE I don't know how to operate in TikZ because there are a lot of strange codes all linked together. If I change something I personally make a salad :-)

– Sebastiano
6 hours ago













@Sebastiano Sorry, I (still) do not understand what you want me to do. You have a code. Do you want to modify it? If so, what should the modified code achieve?

– marmot
5 hours ago





@Sebastiano Sorry, I (still) do not understand what you want me to do. You have a code. Do you want to modify it? If so, what should the modified code achieve?

– marmot
5 hours ago




1




1





@Sebastiano Sorry, I give up. I asked you several times to kindly consider making your question clearer. I fully believe that you have a clear question in mind, but I do not have most of the information and context, and you only give me fragments, Maybe this conversation may help others to find out what you are after, so I leave the post for a short while before I delete it. Sorry.

– marmot
5 hours ago





@Sebastiano Sorry, I give up. I asked you several times to kindly consider making your question clearer. I fully believe that you have a clear question in mind, but I do not have most of the information and context, and you only give me fragments, Maybe this conversation may help others to find out what you are after, so I leave the post for a short while before I delete it. Sorry.

– marmot
5 hours ago




1




1





@Sebastiano I guess we have a problem: you say you are not good at English and I am not good at guessing. Can you at least partly understand why it is not a good idea to have two target (?) screen shots and not much of an explanation? It may be that it will cost you slightly more time to make the question clearer, but you will save a lot of time of those who are trying to answer.

– marmot
3 hours ago





@Sebastiano I guess we have a problem: you say you are not good at English and I am not good at guessing. Can you at least partly understand why it is not a good idea to have two target (?) screen shots and not much of an explanation? It may be that it will cost you slightly more time to make the question clearer, but you will save a lot of time of those who are trying to answer.

– marmot
3 hours ago

















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483136%2fa-new-aspect-for-the-chapter-of-legrand-orange-book%23new-answer', 'question_page');

);

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







Popular posts from this blog

How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"