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

Languages that we cannot (dis)prove to be Context-Free

How does strength of boric acid solution increase in presence of salicylic acid?

Type 1 Error & Type 2 Error's pregnancy test analogy: is it legit?

Can a Warlock become Neutral Good?

Interpreting images representing geometric series

How is it possible to have an ability score that is less than 3?

Can I make popcorn with any corn?

Why don't electromagnetic waves interact with each other?

Why can't I see bouncing of a switch on an oscilloscope?

Relation between Frobenius, spectral norm and sum of maxima

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

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Basic combinations logic doubt in probability

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

What are the differences between the usage of 'it' and 'they'?

Which models of the Boeing 737 are still in production?

is there really no realistic way for skeleton monster to move around without magic?

strToHex ( string to its hex representation as string)

How do you know if an analog film camera is still working?

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

How to test if a transaction is standard without spending real money?

If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?

Why does Kotter return in Welcome Back Kotter?



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 15 hours ago







Sebastiano

















asked Apr 4 at 11:55









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
    21 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
    21 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
    21 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
    20 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
    18 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
    21 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
    21 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
    21 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
    20 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
    18 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
    21 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
    21 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
    21 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
    20 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
    18 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
    21 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
    21 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
    21 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
    20 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
    18 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
    21 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
    21 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
    21 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
    20 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
    18 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
21 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
21 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
21 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
21 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
21 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
21 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
20 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
20 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
18 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
18 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

IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...