A new aspect for the chapter of Legrand Orange BookHow to make this chapter heading style?How to define the...

What would happen to a modern skyscraper if it rains micro blackholes?

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

What's the output of a record cartridge playing an out-of-speed record

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

To string or not to string

How do I create uniquely male characters?

How can I make my BBEG immortal short of making them a Lich or Vampire?

Do VLANs within a subnet need to have their own subnet for router on a stick?

What defenses are there against being summoned by the Gate spell?

How to find program name(s) of an installed package?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

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

Why was the small council so happy for Tyrion to become the Master of Coin?

Python: next in for loop

What is the offset in a seaplane's hull?

"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"

Problem of parity - Can we draw a closed path made up of 20 line segments...

Is it possible to do 50 km distance without any previous training?

Why are electrically insulating heatsinks so rare? Is it just cost?

Can I make popcorn with any corn?

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

Writing rule stating superpower from different root cause is bad writing

strToHex ( string to its hex representation as string)

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



A new aspect for the chapter of Legrand Orange Book


How to make this chapter heading style?How to define the default vertical distance between nodes?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 contentsReproducing 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

usepackage{graphicx} % Required for including pictures
usepackage{tikz} % Required for drawing custom shapes
usepackage{xcolor} % Required for specifying colors by name
definecolor{ocre}{RGB}{243,102,25} % Define the orange color used for highlighting throughout the book

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

makeatletter
renewcommand{@seccntformat}[1]{llap{textcolor{ocre}{csname the#1endcsname}hspace{1em}}}
renewcommand{section}{@startsection{section}{1}{z@}
{-4ex @plus -1ex @minus -.4ex}
{1ex @plus.2ex }
{normalfontlargesffamilybfseries}}
renewcommand{subsection}{@startsection {subsection}{2}{z@}
{-3ex @plus -0.1ex @minus -.4ex}
{0.5ex @plus.2ex }
{normalfontsffamilybfseries}}
renewcommand{subsubsection}{@startsection {subsubsection}{3}{z@}
{-2ex @plus -0.1ex @minus -.2ex}
{.2ex @plus.2ex }
{normalfontsmallsffamilybfseries}}
renewcommandparagraph{@startsection{paragraph}{4}{z@}
{-2ex @plus-.2ex @minus .2ex}
{.1ex}
{normalfontsmallsffamilybfseries}}


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

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommand{thechapterimage}{}%
newcommand{chapterimage}[1]{ifusechapterimagerenewcommand{thechapterimage}{#1}fi}%
newcommand{autodot}{.}
def@makechapterhead#1{%
{parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}thechapterautodot~#1strut};
end{tikzpicture}};
end{tikzpicture}
else
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
fifiparvspace*{270p@}}}

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

def@makeschapterhead#1{%
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
parvspace*{270p@}}
makeatother
begin{document}
chapterimage{example-image-a}
chapter{Text Chapter}
section{Paragraphs of Text}index{Paragraphs of Text}
end{document}


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
    yesterday











  • @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
    yesterday
















1















Starting from this MWE,



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

usepackage{graphicx} % Required for including pictures
usepackage{tikz} % Required for drawing custom shapes
usepackage{xcolor} % Required for specifying colors by name
definecolor{ocre}{RGB}{243,102,25} % Define the orange color used for highlighting throughout the book

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

makeatletter
renewcommand{@seccntformat}[1]{llap{textcolor{ocre}{csname the#1endcsname}hspace{1em}}}
renewcommand{section}{@startsection{section}{1}{z@}
{-4ex @plus -1ex @minus -.4ex}
{1ex @plus.2ex }
{normalfontlargesffamilybfseries}}
renewcommand{subsection}{@startsection {subsection}{2}{z@}
{-3ex @plus -0.1ex @minus -.4ex}
{0.5ex @plus.2ex }
{normalfontsffamilybfseries}}
renewcommand{subsubsection}{@startsection {subsubsection}{3}{z@}
{-2ex @plus -0.1ex @minus -.2ex}
{.2ex @plus.2ex }
{normalfontsmallsffamilybfseries}}
renewcommandparagraph{@startsection{paragraph}{4}{z@}
{-2ex @plus-.2ex @minus .2ex}
{.1ex}
{normalfontsmallsffamilybfseries}}


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

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommand{thechapterimage}{}%
newcommand{chapterimage}[1]{ifusechapterimagerenewcommand{thechapterimage}{#1}fi}%
newcommand{autodot}{.}
def@makechapterhead#1{%
{parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}thechapterautodot~#1strut};
end{tikzpicture}};
end{tikzpicture}
else
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
fifiparvspace*{270p@}}}

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

def@makeschapterhead#1{%
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
parvspace*{270p@}}
makeatother
begin{document}
chapterimage{example-image-a}
chapter{Text Chapter}
section{Paragraphs of Text}index{Paragraphs of Text}
end{document}


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
    yesterday











  • @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
    yesterday














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

usepackage{graphicx} % Required for including pictures
usepackage{tikz} % Required for drawing custom shapes
usepackage{xcolor} % Required for specifying colors by name
definecolor{ocre}{RGB}{243,102,25} % Define the orange color used for highlighting throughout the book

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

makeatletter
renewcommand{@seccntformat}[1]{llap{textcolor{ocre}{csname the#1endcsname}hspace{1em}}}
renewcommand{section}{@startsection{section}{1}{z@}
{-4ex @plus -1ex @minus -.4ex}
{1ex @plus.2ex }
{normalfontlargesffamilybfseries}}
renewcommand{subsection}{@startsection {subsection}{2}{z@}
{-3ex @plus -0.1ex @minus -.4ex}
{0.5ex @plus.2ex }
{normalfontsffamilybfseries}}
renewcommand{subsubsection}{@startsection {subsubsection}{3}{z@}
{-2ex @plus -0.1ex @minus -.2ex}
{.2ex @plus.2ex }
{normalfontsmallsffamilybfseries}}
renewcommandparagraph{@startsection{paragraph}{4}{z@}
{-2ex @plus-.2ex @minus .2ex}
{.1ex}
{normalfontsmallsffamilybfseries}}


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

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommand{thechapterimage}{}%
newcommand{chapterimage}[1]{ifusechapterimagerenewcommand{thechapterimage}{#1}fi}%
newcommand{autodot}{.}
def@makechapterhead#1{%
{parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}thechapterautodot~#1strut};
end{tikzpicture}};
end{tikzpicture}
else
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
fifiparvspace*{270p@}}}

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

def@makeschapterhead#1{%
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
parvspace*{270p@}}
makeatother
begin{document}
chapterimage{example-image-a}
chapter{Text Chapter}
section{Paragraphs of Text}index{Paragraphs of Text}
end{document}


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

usepackage{graphicx} % Required for including pictures
usepackage{tikz} % Required for drawing custom shapes
usepackage{xcolor} % Required for specifying colors by name
definecolor{ocre}{RGB}{243,102,25} % Define the orange color used for highlighting throughout the book

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

makeatletter
renewcommand{@seccntformat}[1]{llap{textcolor{ocre}{csname the#1endcsname}hspace{1em}}}
renewcommand{section}{@startsection{section}{1}{z@}
{-4ex @plus -1ex @minus -.4ex}
{1ex @plus.2ex }
{normalfontlargesffamilybfseries}}
renewcommand{subsection}{@startsection {subsection}{2}{z@}
{-3ex @plus -0.1ex @minus -.4ex}
{0.5ex @plus.2ex }
{normalfontsffamilybfseries}}
renewcommand{subsubsection}{@startsection {subsubsection}{3}{z@}
{-2ex @plus -0.1ex @minus -.2ex}
{.2ex @plus.2ex }
{normalfontsmallsffamilybfseries}}
renewcommandparagraph{@startsection{paragraph}{4}{z@}
{-2ex @plus-.2ex @minus .2ex}
{.1ex}
{normalfontsmallsffamilybfseries}}


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

% A switch to conditionally include a picture, implemented by Christian Hupfer
newififusechapterimage
usechapterimagetrue
newcommand{thechapterimage}{}%
newcommand{chapterimage}[1]{ifusechapterimagerenewcommand{thechapterimage}{#1}fi}%
newcommand{autodot}{.}
def@makechapterhead#1{%
{parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
if@mainmatter
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}thechapterautodot~#1strut};
end{tikzpicture}};
end{tikzpicture}
else
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
fifiparvspace*{270p@}}}

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

def@makeschapterhead#1{%
begin{tikzpicture}[remember picture,overlay]
node at (current page.north west)
{begin{tikzpicture}[remember picture,overlay]
node[anchor=north west,inner sep=0pt] at (0,0) {ifusechapterimageincludegraphics[width=paperwidth]{thechapterimage}fi};
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 {hugesffamilybfseriescolor{black}#1strut};
end{tikzpicture}};
end{tikzpicture}
parvspace*{270p@}}
makeatother
begin{document}
chapterimage{example-image-a}
chapter{Text Chapter}
section{Paragraphs of Text}index{Paragraphs of Text}
end{document}


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 7 hours 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
    yesterday











  • @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
    yesterday



















  • 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
    yesterday











  • @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
    yesterday

















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
yesterday





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
yesterday













@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
yesterday





@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
yesterday










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
usepackage{lmodern}
usepackage[explicit]{titlesec}
usepackage{microtype}
usepackage{tikz}
usetikzlibrary{positioning,calc}
definecolor{myblue}{RGB}{0,82,155}
% from https://tex.stackexchange.com/a/169435/121799
titleformat{chapter}[display]
{normalfontbfseriescolor{myblue}}
{%filleft%
begin{tikzpicture}
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};
end{tikzpicture}%
}
{10pt}
{}

begin{document}
pagestyle{empty}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday.}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.}

end{document}


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
    13 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
    13 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
    12 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
    12 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
    10 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
usepackage{lmodern}
usepackage[explicit]{titlesec}
usepackage{microtype}
usepackage{tikz}
usetikzlibrary{positioning,calc}
definecolor{myblue}{RGB}{0,82,155}
% from https://tex.stackexchange.com/a/169435/121799
titleformat{chapter}[display]
{normalfontbfseriescolor{myblue}}
{%filleft%
begin{tikzpicture}
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};
end{tikzpicture}%
}
{10pt}
{}

begin{document}
pagestyle{empty}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday.}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.}

end{document}


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
    13 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
    13 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
    12 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
    12 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
    10 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
usepackage{lmodern}
usepackage[explicit]{titlesec}
usepackage{microtype}
usepackage{tikz}
usetikzlibrary{positioning,calc}
definecolor{myblue}{RGB}{0,82,155}
% from https://tex.stackexchange.com/a/169435/121799
titleformat{chapter}[display]
{normalfontbfseriescolor{myblue}}
{%filleft%
begin{tikzpicture}
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};
end{tikzpicture}%
}
{10pt}
{}

begin{document}
pagestyle{empty}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday.}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.}

end{document}


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
    13 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
    13 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
    12 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
    12 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
    10 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
usepackage{lmodern}
usepackage[explicit]{titlesec}
usepackage{microtype}
usepackage{tikz}
usetikzlibrary{positioning,calc}
definecolor{myblue}{RGB}{0,82,155}
% from https://tex.stackexchange.com/a/169435/121799
titleformat{chapter}[display]
{normalfontbfseriescolor{myblue}}
{%filleft%
begin{tikzpicture}
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};
end{tikzpicture}%
}
{10pt}
{}

begin{document}
pagestyle{empty}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday.}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.}

end{document}


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
usepackage{lmodern}
usepackage[explicit]{titlesec}
usepackage{microtype}
usepackage{tikz}
usetikzlibrary{positioning,calc}
definecolor{myblue}{RGB}{0,82,155}
% from https://tex.stackexchange.com/a/169435/121799
titleformat{chapter}[display]
{normalfontbfseriescolor{myblue}}
{%filleft%
begin{tikzpicture}
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};
end{tikzpicture}%
}
{10pt}
{}

begin{document}
pagestyle{empty}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday.}
chapter{Those who can hibernate on a Monday can also hibernate on a Tuesday and
even on a Wednesday.}

end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









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
    13 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
    13 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
    12 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
    12 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
    10 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
    13 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
    13 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
    12 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
    12 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
    10 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
13 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
13 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
13 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
13 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
12 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
12 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
12 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
12 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
10 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
10 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

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Castillo d'Acher Características Menú de navegación

Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...