Changing chapter format in reportChanging the chapter styleChange chapter heading formatFormat Latex report Chapter, Section, Subsection header stylesChapter and Section formatFormat title for chapter*Change format of chapterHelp changing chapter title formatChanging chapter styleFormatting Chapter in reportChange chapter title format in report document without titlesec?
Supports in 3d printing
Why do we use polarized capacitors?
What do the Banks children have against barley water?
Where to refill my bottle in India?
Is ipsum/ipsa/ipse a third person pronoun, or can it serve other functions?
On the insanity of kings as an argument against Monarchy
New order #4: World
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Unbreakable Formation vs. Cry of the Carnarium
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Could a US political party gain complete control over the government by removing checks & balances?
Why do UK politicians seemingly ignore opinion polls on Brexit?
What does "rabbited" mean/imply in this sentence?
Calculate Levenshtein distance between two strings in Python
Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?
Can I legally use front facing blue light in the UK?
Is there a name of the flying bionic bird?
Landlord wants to switch my lease to a "Land contract" to "get back at the city"
Is "plugging out" electronic devices an American expression?
Are there any other methods to apply to solving simultaneous equations?
What does 'script /dev/null' do?
If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?
What is this 4-propeller plane?
Solve this specific large sparse system of linear equations
Changing chapter format in report
Changing the chapter styleChange chapter heading formatFormat Latex report Chapter, Section, Subsection header stylesChapter and Section formatFormat title for chapter*Change format of chapterHelp changing chapter title formatChanging chapter styleFormatting Chapter in reportChange chapter title format in report document without titlesec?
I'd like to change chapter format, including lines up and down and text right aligned, like in the next figure, without using titlesec package:

Here it's my code:
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
makeatother
begindocument
chapterChapter
enddocument
In the preamble, the code it's in order to change chapter format from "Chapter 1 \ Chapter title" to "1. Chapter title".
Someone has any idea to include lines and align text to the right as shown in the above image?
Thank you.
formatting chapters
add a comment |
I'd like to change chapter format, including lines up and down and text right aligned, like in the next figure, without using titlesec package:

Here it's my code:
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
makeatother
begindocument
chapterChapter
enddocument
In the preamble, the code it's in order to change chapter format from "Chapter 1 \ Chapter title" to "1. Chapter title".
Someone has any idea to include lines and align text to the right as shown in the above image?
Thank you.
formatting chapters
Why don't you want to usetitlesec?
– JouleV
34 mins ago
Because in my main document I have a lot of packages included, and when I loadtitlesecpackage, compilation fails. It seems like there are problems among packages.
– Daniel
29 mins ago
add a comment |
I'd like to change chapter format, including lines up and down and text right aligned, like in the next figure, without using titlesec package:

Here it's my code:
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
makeatother
begindocument
chapterChapter
enddocument
In the preamble, the code it's in order to change chapter format from "Chapter 1 \ Chapter title" to "1. Chapter title".
Someone has any idea to include lines and align text to the right as shown in the above image?
Thank you.
formatting chapters
I'd like to change chapter format, including lines up and down and text right aligned, like in the next figure, without using titlesec package:

Here it's my code:
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@%
parindent z@ raggedright normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
makeatother
begindocument
chapterChapter
enddocument
In the preamble, the code it's in order to change chapter format from "Chapter 1 \ Chapter title" to "1. Chapter title".
Someone has any idea to include lines and align text to the right as shown in the above image?
Thank you.
formatting chapters
formatting chapters
asked 35 mins ago
DanielDaniel
396
396
Why don't you want to usetitlesec?
– JouleV
34 mins ago
Because in my main document I have a lot of packages included, and when I loadtitlesecpackage, compilation fails. It seems like there are problems among packages.
– Daniel
29 mins ago
add a comment |
Why don't you want to usetitlesec?
– JouleV
34 mins ago
Because in my main document I have a lot of packages included, and when I loadtitlesecpackage, compilation fails. It seems like there are problems among packages.
– Daniel
29 mins ago
Why don't you want to use
titlesec?– JouleV
34 mins ago
Why don't you want to use
titlesec?– JouleV
34 mins ago
Because in my main document I have a lot of packages included, and when I load
titlesecpackage, compilation fails. It seems like there are problems among packages.– Daniel
29 mins ago
Because in my main document I have a lot of packages included, and when I load
titlesecpackage, compilation fails. It seems like there are problems among packages.– Daniel
29 mins ago
add a comment |
1 Answer
1
active
oldest
votes
With hrule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
hrule \[4mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
hrule
makeatother
begindocument
chapterChapter
enddocument

With rule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
noindentruletextwidth2pt \[5mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
huge
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
normalfont % Huge % replaced
#1parnobreak
vskip 25p@
noindentruletextwidth2pt
makeatother
begindocument
chapterChapter
enddocument

add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f483955%2fchanging-chapter-format-in-report%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
With hrule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
hrule \[4mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
hrule
makeatother
begindocument
chapterChapter
enddocument

With rule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
noindentruletextwidth2pt \[5mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
huge
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
normalfont % Huge % replaced
#1parnobreak
vskip 25p@
noindentruletextwidth2pt
makeatother
begindocument
chapterChapter
enddocument

add a comment |
With hrule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
hrule \[4mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
hrule
makeatother
begindocument
chapterChapter
enddocument

With rule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
noindentruletextwidth2pt \[5mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
huge
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
normalfont % Huge % replaced
#1parnobreak
vskip 25p@
noindentruletextwidth2pt
makeatother
begindocument
chapterChapter
enddocument

add a comment |
With hrule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
hrule \[4mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
hrule
makeatother
begindocument
chapterChapter
enddocument

With rule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
noindentruletextwidth2pt \[5mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
huge
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
normalfont % Huge % replaced
#1parnobreak
vskip 25p@
noindentruletextwidth2pt
makeatother
begindocument
chapterChapter
enddocument

With hrule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
hrule \[4mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
hugebfseries
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
huge % Huge % replaced
bfseries #1parnobreak
vskip 25p@
hrule
makeatother
begindocument
chapterChapter
enddocument

With rule.
documentclass[a4paper,openright,12pt]report
usepackage[utf8]inputenc
makeatletter
def@makechapterhead#1%
vspace*0p@
noindentruletextwidth2pt \[5mm]
parindent z@ raggedleft normalfont
ifnum c@secnumdepth >m@ne
huge
% @chapappspace % removed
thechapter
nobreakspace% parnobreakvskip 20p@ % replaced
fi
interlinepenalty@M
normalfont % Huge % replaced
#1parnobreak
vskip 25p@
noindentruletextwidth2pt
makeatother
begindocument
chapterChapter
enddocument

edited 5 mins ago
answered 11 mins ago
ferahfezaferahfeza
7,41411933
7,41411933
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f483955%2fchanging-chapter-format-in-report%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
Why don't you want to use
titlesec?– JouleV
34 mins ago
Because in my main document I have a lot of packages included, and when I load
titlesecpackage, compilation fails. It seems like there are problems among packages.– Daniel
29 mins ago