I want to get a page chapter like the image below
1
%%%%%%%%%%%% En-tête et pied de page
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
pagestyle{main}
%%%%%%%%%%%% Définitions par défaut
newcommand{intro}[1]{defchapterintro{#1}}
newcommand{introauthor}[1]{defchapterintroauthor{#1}}
introauthor{} % auteur de la citation en début de chapitre
intro{} % Citation en début de chapitre ; à déclarer avant la commande chapter{}
%%%%%%%%%%%% Page de présentation
%%%%%%%%%%%% Première page de chaque chapitre
titleformat{chapter}
{%
thispagestyle{chapterstart}
pagecolor{white}
bfseriesHugeraggedleft
color{chapter@title@color}
chaptertitle@font
}
{%
AddToShipoutPicture
{%
put(LenToUnit{0mm},LenToUnit{0mm})
{%
begin{tikzpicture}
clip (0,0) rectangle+(paperwidth,-paperheight);
% Rectangle du haut à droite
fill[bottom color=chapterdegrade@color,top color=white] (0,0) rectangle+(paperwidth,-3);
% Trait en biais dans le rectangle en haut à droite
draw[chapterline@color] (0,3) -- (paperwidth,-3);
% Petit cercle vide dans le rectangle en haut à droite
draw[chapterline@color,very thick,opacity=0.5] (.8paperwidth,-2) circle (5mm);
% Petit cercle rempli dans rectangle haut croit
fill[chaptertopcircle@color] ($(.8paperwidth,-2)+(8mm,8mm)$) circle (2mm);
% Citation éventuelle
ifxchapterintro@empty
else
node[below left,text=chapterintro@color] (citation) at (21,-0.5) {og emph{chapterintro} fg{}};
ifxchapterintroauthor@empty
else
node[below left,text=chapterintro@color] at (citation.south east) {(chapterintroauthor)};
fi
fi
% cercle vide en bas à gauche
fill[chapterbotcircle@color] (1,-27) circle (3cm);
fill[white] (1,-27) circle (2.5cm);
% Petit cercle presque centré verticalement
fill[chaptermidcircle@color] (1.2,-17) circle (.7cm);
fill[white] (1.2,-17) circle (0.6cm);
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
% Ellipse en haut à gauche
fill[chapterellipse@bg@color] (0,0) ellipse[x radius=9cm,y radius=5cm];
% Ombre de l'ellipse
foreach rx/ry/c in { %
8.7/4.7/10,%
8.66/4.66/30,%
8.62/4.62/50,%
8.58/4.58/70,%
8.54/4.54/90%
}
{
fill[fill=black!c!chapterellipse@bg@color] (0,0) ellipse[x radius=rx cm,y radius=ry cm];
}
% ellipse
fill[chapterellipse@color] (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Dans l'ellipse en haut à gauche ...
clip (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
fill[chapter@bg@color] (0,-0.8) rectangle+(15,-1.3);
node[text=chaptertitlename@color,right] at (0.1,-1.5) {hugechaptertitlename@fontbfserieschaptertitlename~thechapter};
end{tikzpicture}
}
}
}
{7ex}
{}

tikz-pgf
|
show 1 more comment
1
%%%%%%%%%%%% En-tête et pied de page
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
pagestyle{main}
%%%%%%%%%%%% Définitions par défaut
newcommand{intro}[1]{defchapterintro{#1}}
newcommand{introauthor}[1]{defchapterintroauthor{#1}}
introauthor{} % auteur de la citation en début de chapitre
intro{} % Citation en début de chapitre ; à déclarer avant la commande chapter{}
%%%%%%%%%%%% Page de présentation
%%%%%%%%%%%% Première page de chaque chapitre
titleformat{chapter}
{%
thispagestyle{chapterstart}
pagecolor{white}
bfseriesHugeraggedleft
color{chapter@title@color}
chaptertitle@font
}
{%
AddToShipoutPicture
{%
put(LenToUnit{0mm},LenToUnit{0mm})
{%
begin{tikzpicture}
clip (0,0) rectangle+(paperwidth,-paperheight);
% Rectangle du haut à droite
fill[bottom color=chapterdegrade@color,top color=white] (0,0) rectangle+(paperwidth,-3);
% Trait en biais dans le rectangle en haut à droite
draw[chapterline@color] (0,3) -- (paperwidth,-3);
% Petit cercle vide dans le rectangle en haut à droite
draw[chapterline@color,very thick,opacity=0.5] (.8paperwidth,-2) circle (5mm);
% Petit cercle rempli dans rectangle haut croit
fill[chaptertopcircle@color] ($(.8paperwidth,-2)+(8mm,8mm)$) circle (2mm);
% Citation éventuelle
ifxchapterintro@empty
else
node[below left,text=chapterintro@color] (citation) at (21,-0.5) {og emph{chapterintro} fg{}};
ifxchapterintroauthor@empty
else
node[below left,text=chapterintro@color] at (citation.south east) {(chapterintroauthor)};
fi
fi
% cercle vide en bas à gauche
fill[chapterbotcircle@color] (1,-27) circle (3cm);
fill[white] (1,-27) circle (2.5cm);
% Petit cercle presque centré verticalement
fill[chaptermidcircle@color] (1.2,-17) circle (.7cm);
fill[white] (1.2,-17) circle (0.6cm);
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
% Ellipse en haut à gauche
fill[chapterellipse@bg@color] (0,0) ellipse[x radius=9cm,y radius=5cm];
% Ombre de l'ellipse
foreach rx/ry/c in { %
8.7/4.7/10,%
8.66/4.66/30,%
8.62/4.62/50,%
8.58/4.58/70,%
8.54/4.54/90%
}
{
fill[fill=black!c!chapterellipse@bg@color] (0,0) ellipse[x radius=rx cm,y radius=ry cm];
}
% ellipse
fill[chapterellipse@color] (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Dans l'ellipse en haut à gauche ...
clip (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
fill[chapter@bg@color] (0,-0.8) rectangle+(15,-1.3);
node[text=chaptertitlename@color,right] at (0.1,-1.5) {hugechaptertitlename@fontbfserieschaptertitlename~thechapter};
end{tikzpicture}
}
}
}
{7ex}
{}

tikz-pgf
1
Did Blaise Pascal really say so? ;o)
– Bernard
5 hours ago
I did not anderstand _Bernard
– Walid Tex
5 hours ago
1
I was just joking about Pascal's citation in the image.
– Bernard
5 hours ago
I guss he do said that
– Walid Tex
4 hours ago
we heed a preamble documentclass[french]{article} usepackage[T1]{fontenc} usepackage[utf8]{inputenc} usepackage{lmodern} usepackage[a4paper]{geometry} usepackage{babel} usepackage{tikz} begin{document} did not work for me
– KJO
4 hours ago
|
show 1 more comment
1
1
1
1
%%%%%%%%%%%% En-tête et pied de page
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
pagestyle{main}
%%%%%%%%%%%% Définitions par défaut
newcommand{intro}[1]{defchapterintro{#1}}
newcommand{introauthor}[1]{defchapterintroauthor{#1}}
introauthor{} % auteur de la citation en début de chapitre
intro{} % Citation en début de chapitre ; à déclarer avant la commande chapter{}
%%%%%%%%%%%% Page de présentation
%%%%%%%%%%%% Première page de chaque chapitre
titleformat{chapter}
{%
thispagestyle{chapterstart}
pagecolor{white}
bfseriesHugeraggedleft
color{chapter@title@color}
chaptertitle@font
}
{%
AddToShipoutPicture
{%
put(LenToUnit{0mm},LenToUnit{0mm})
{%
begin{tikzpicture}
clip (0,0) rectangle+(paperwidth,-paperheight);
% Rectangle du haut à droite
fill[bottom color=chapterdegrade@color,top color=white] (0,0) rectangle+(paperwidth,-3);
% Trait en biais dans le rectangle en haut à droite
draw[chapterline@color] (0,3) -- (paperwidth,-3);
% Petit cercle vide dans le rectangle en haut à droite
draw[chapterline@color,very thick,opacity=0.5] (.8paperwidth,-2) circle (5mm);
% Petit cercle rempli dans rectangle haut croit
fill[chaptertopcircle@color] ($(.8paperwidth,-2)+(8mm,8mm)$) circle (2mm);
% Citation éventuelle
ifxchapterintro@empty
else
node[below left,text=chapterintro@color] (citation) at (21,-0.5) {og emph{chapterintro} fg{}};
ifxchapterintroauthor@empty
else
node[below left,text=chapterintro@color] at (citation.south east) {(chapterintroauthor)};
fi
fi
% cercle vide en bas à gauche
fill[chapterbotcircle@color] (1,-27) circle (3cm);
fill[white] (1,-27) circle (2.5cm);
% Petit cercle presque centré verticalement
fill[chaptermidcircle@color] (1.2,-17) circle (.7cm);
fill[white] (1.2,-17) circle (0.6cm);
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
% Ellipse en haut à gauche
fill[chapterellipse@bg@color] (0,0) ellipse[x radius=9cm,y radius=5cm];
% Ombre de l'ellipse
foreach rx/ry/c in { %
8.7/4.7/10,%
8.66/4.66/30,%
8.62/4.62/50,%
8.58/4.58/70,%
8.54/4.54/90%
}
{
fill[fill=black!c!chapterellipse@bg@color] (0,0) ellipse[x radius=rx cm,y radius=ry cm];
}
% ellipse
fill[chapterellipse@color] (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Dans l'ellipse en haut à gauche ...
clip (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
fill[chapter@bg@color] (0,-0.8) rectangle+(15,-1.3);
node[text=chaptertitlename@color,right] at (0.1,-1.5) {hugechaptertitlename@fontbfserieschaptertitlename~thechapter};
end{tikzpicture}
}
}
}
{7ex}
{}

tikz-pgf
%%%%%%%%%%%% En-tête et pied de page
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
pagestyle{main}
%%%%%%%%%%%% Définitions par défaut
newcommand{intro}[1]{defchapterintro{#1}}
newcommand{introauthor}[1]{defchapterintroauthor{#1}}
introauthor{} % auteur de la citation en début de chapitre
intro{} % Citation en début de chapitre ; à déclarer avant la commande chapter{}
%%%%%%%%%%%% Page de présentation
%%%%%%%%%%%% Première page de chaque chapitre
titleformat{chapter}
{%
thispagestyle{chapterstart}
pagecolor{white}
bfseriesHugeraggedleft
color{chapter@title@color}
chaptertitle@font
}
{%
AddToShipoutPicture
{%
put(LenToUnit{0mm},LenToUnit{0mm})
{%
begin{tikzpicture}
clip (0,0) rectangle+(paperwidth,-paperheight);
% Rectangle du haut à droite
fill[bottom color=chapterdegrade@color,top color=white] (0,0) rectangle+(paperwidth,-3);
% Trait en biais dans le rectangle en haut à droite
draw[chapterline@color] (0,3) -- (paperwidth,-3);
% Petit cercle vide dans le rectangle en haut à droite
draw[chapterline@color,very thick,opacity=0.5] (.8paperwidth,-2) circle (5mm);
% Petit cercle rempli dans rectangle haut croit
fill[chaptertopcircle@color] ($(.8paperwidth,-2)+(8mm,8mm)$) circle (2mm);
% Citation éventuelle
ifxchapterintro@empty
else
node[below left,text=chapterintro@color] (citation) at (21,-0.5) {og emph{chapterintro} fg{}};
ifxchapterintroauthor@empty
else
node[below left,text=chapterintro@color] at (citation.south east) {(chapterintroauthor)};
fi
fi
% cercle vide en bas à gauche
fill[chapterbotcircle@color] (1,-27) circle (3cm);
fill[white] (1,-27) circle (2.5cm);
% Petit cercle presque centré verticalement
fill[chaptermidcircle@color] (1.2,-17) circle (.7cm);
fill[white] (1.2,-17) circle (0.6cm);
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
% Ellipse en haut à gauche
fill[chapterellipse@bg@color] (0,0) ellipse[x radius=9cm,y radius=5cm];
% Ombre de l'ellipse
foreach rx/ry/c in { %
8.7/4.7/10,%
8.66/4.66/30,%
8.62/4.62/50,%
8.58/4.58/70,%
8.54/4.54/90%
}
{
fill[fill=black!c!chapterellipse@bg@color] (0,0) ellipse[x radius=rx cm,y radius=ry cm];
}
% ellipse
fill[chapterellipse@color] (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Dans l'ellipse en haut à gauche ...
clip (0,0) ellipse[x radius=8.5cm,y radius=4.5cm];
% Traits verticaux à gauche
draw[very thick,chapterrule@color] (1cm,0) -- (1cm,-paperheight);
draw[very thick,chapterrule@color] (1.2cm,0) -- (1.2cm,-paperheight);
fill[chapter@bg@color] (0,-0.8) rectangle+(15,-1.3);
node[text=chaptertitlename@color,right] at (0.1,-1.5) {hugechaptertitlename@fontbfserieschaptertitlename~thechapter};
end{tikzpicture}
}
}
}
{7ex}
{}

tikz-pgf
tikz-pgf
edited 5 hours ago
Bernard
174k776206
174k776206
asked 5 hours ago
Walid TexWalid Tex
415
415
1
Did Blaise Pascal really say so? ;o)
– Bernard
5 hours ago
I did not anderstand _Bernard
– Walid Tex
5 hours ago
1
I was just joking about Pascal's citation in the image.
– Bernard
5 hours ago
I guss he do said that
– Walid Tex
4 hours ago
we heed a preamble documentclass[french]{article} usepackage[T1]{fontenc} usepackage[utf8]{inputenc} usepackage{lmodern} usepackage[a4paper]{geometry} usepackage{babel} usepackage{tikz} begin{document} did not work for me
– KJO
4 hours ago
|
show 1 more comment
1
Did Blaise Pascal really say so? ;o)
– Bernard
5 hours ago
I did not anderstand _Bernard
– Walid Tex
5 hours ago
1
I was just joking about Pascal's citation in the image.
– Bernard
5 hours ago
I guss he do said that
– Walid Tex
4 hours ago
we heed a preamble documentclass[french]{article} usepackage[T1]{fontenc} usepackage[utf8]{inputenc} usepackage{lmodern} usepackage[a4paper]{geometry} usepackage{babel} usepackage{tikz} begin{document} did not work for me
– KJO
4 hours ago
1
1
Did Blaise Pascal really say so? ;o)
– Bernard
5 hours ago
Did Blaise Pascal really say so? ;o)
– Bernard
5 hours ago
I did not anderstand _Bernard
– Walid Tex
5 hours ago
I did not anderstand _Bernard
– Walid Tex
5 hours ago
1
1
I was just joking about Pascal's citation in the image.
– Bernard
5 hours ago
I was just joking about Pascal's citation in the image.
– Bernard
5 hours ago
I guss he do said that
– Walid Tex
4 hours ago
I guss he do said that
– Walid Tex
4 hours ago
we heed a preamble documentclass[french]{article} usepackage[T1]{fontenc} usepackage[utf8]{inputenc} usepackage{lmodern} usepackage[a4paper]{geometry} usepackage{babel} usepackage{tikz} begin{document} did not work for me
– KJO
4 hours ago
we heed a preamble documentclass[french]{article} usepackage[T1]{fontenc} usepackage[utf8]{inputenc} usepackage{lmodern} usepackage[a4paper]{geometry} usepackage{babel} usepackage{tikz} begin{document} did not work for me
– KJO
4 hours ago
|
show 1 more comment
0
active
oldest
votes
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481412%2fi-want-to-get-a-page-chapter-like-the-image-below%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481412%2fi-want-to-get-a-page-chapter-like-the-image-below%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Did Blaise Pascal really say so? ;o)
– Bernard
5 hours ago
I did not anderstand _Bernard
– Walid Tex
5 hours ago
1
I was just joking about Pascal's citation in the image.
– Bernard
5 hours ago
I guss he do said that
– Walid Tex
4 hours ago
we heed a preamble documentclass[french]{article} usepackage[T1]{fontenc} usepackage[utf8]{inputenc} usepackage{lmodern} usepackage[a4paper]{geometry} usepackage{babel} usepackage{tikz} begin{document} did not work for me
– KJO
4 hours ago