Add a space between image and line in headerAdd Table in Header with imageProblem with headingsHow can I make...
What is this waxed root vegetable?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
Make me a metasequence
Reason why dimensional travelling would be restricted
Graphing random points on the XY-plane
Why do phishing e-mails use faked e-mail addresses instead of the real one?
VAT refund for a conference ticket in Sweden
Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"?
In iTunes 12 on macOS, how can I reset the skip count of a song?
When an experienced monk meditates how much does their mind wander?
Giving a talk in my old university, how prominently should I tell students my salary?
Can two networks with the same subnet be connected to the same router in different VRF?
Citing contemporaneous (interlaced?) preprints
Six real numbers so that product of any five is the sixth one
If nine coins are tossed, what is the probability that the number of heads is even?
Is the Bnei Brak of the Hagada and Megila the same as modern-day Bnei Brak?
Why is s'abonner reflexive?
Where is the fallacy here?
Test pad's ESD protection
How to lift/raise/repair a segment of concrete slab?
Traversing Africa: A Cryptic Journey
Practical reasons to have both a large police force and bounty hunting network?
Did Amazon pay $0 in taxes last year?
If a set is open, does that imply that it has no boundary points?
Add a space between image and line in header
Add Table in Header with imageProblem with headingsHow can I make pages after the first come out correctly with fancyhdr?Problem with Fancyhdr, doesn't shows headers at any pageAdd image in the header of a model CV (Carmine Benedetto)How do I use colorbox to make the a black box header with white text with different alignmentInsert the number and name of the section in the header, (including on a chapter's opening page)Header on odd pagesHeader and footer bar with an image?Job aborted when changing headers using renewcommand{chaptermark} in memoir
--- EDIT 2 ---
I've created the following header using an image editor to help you guys understand what I'm trying to do.
--- End of EDIT 2 ---
--- EDIT 1 ---
This is closer to what I have in my header. Only instead of actually writing "Chapter 1" and "Subsection", I'm using rightmark and leftmark, but the result is basically the same. And, of course, I'm using a different image.
The problem is with the line crossing the image. Or maybe with the length of the header line.
--- End of EDIT 1 ---
Ok, I think I've searched for this everywhere and I can't come up with an answer. Does anybody know how to put a space between the image and the header line, so that the line doesn't cross the image?
This is what I have so far.
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.6height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
graphics header-footer
New contributor
|
show 4 more comments
--- EDIT 2 ---
I've created the following header using an image editor to help you guys understand what I'm trying to do.
--- End of EDIT 2 ---
--- EDIT 1 ---
This is closer to what I have in my header. Only instead of actually writing "Chapter 1" and "Subsection", I'm using rightmark and leftmark, but the result is basically the same. And, of course, I'm using a different image.
The problem is with the line crossing the image. Or maybe with the length of the header line.
--- End of EDIT 1 ---
Ok, I think I've searched for this everywhere and I can't come up with an answer. Does anybody know how to put a space between the image and the header line, so that the line doesn't cross the image?
This is what I have so far.
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.6height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
graphics header-footer
New contributor
Welcome to TeX SX! Just useraisebox{0pt}[0pt][0pt]
.
– Bernard
yesterday
@Bernard... Is there arasebox
needed at all for this purpose? I didn't used one for my answer but I am not really good onfancyhdr
usage... So, I would like to know if I should use araisebox
and why. (If you think that a comment on that is related to the question and thus good to be provided here)
– koleygr
yesterday
For me, raisebox` is here to have the possibility to use the height and depth optional arguments, but there are of course other possibilities. However beware not to have warning abou headheight.
– Bernard
yesterday
Thanks @Bernard.... I thought it would possibly help elsewhere too... But of course this could be help in other header commands... Thanks!
– koleygr
yesterday
The raisebox is there to put the image in the same line as the header, not above it. But thanks anyway for all the answers so far!!
– Kahlil Salome
yesterday
|
show 4 more comments
--- EDIT 2 ---
I've created the following header using an image editor to help you guys understand what I'm trying to do.
--- End of EDIT 2 ---
--- EDIT 1 ---
This is closer to what I have in my header. Only instead of actually writing "Chapter 1" and "Subsection", I'm using rightmark and leftmark, but the result is basically the same. And, of course, I'm using a different image.
The problem is with the line crossing the image. Or maybe with the length of the header line.
--- End of EDIT 1 ---
Ok, I think I've searched for this everywhere and I can't come up with an answer. Does anybody know how to put a space between the image and the header line, so that the line doesn't cross the image?
This is what I have so far.
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.6height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
graphics header-footer
New contributor
--- EDIT 2 ---
I've created the following header using an image editor to help you guys understand what I'm trying to do.
--- End of EDIT 2 ---
--- EDIT 1 ---
This is closer to what I have in my header. Only instead of actually writing "Chapter 1" and "Subsection", I'm using rightmark and leftmark, but the result is basically the same. And, of course, I'm using a different image.
The problem is with the line crossing the image. Or maybe with the length of the header line.
--- End of EDIT 1 ---
Ok, I think I've searched for this everywhere and I can't come up with an answer. Does anybody know how to put a space between the image and the header line, so that the line doesn't cross the image?
This is what I have so far.
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.6height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
graphics header-footer
graphics header-footer
New contributor
New contributor
edited 23 hours ago
Kahlil Salome
New contributor
asked yesterday
Kahlil SalomeKahlil Salome
186
186
New contributor
New contributor
Welcome to TeX SX! Just useraisebox{0pt}[0pt][0pt]
.
– Bernard
yesterday
@Bernard... Is there arasebox
needed at all for this purpose? I didn't used one for my answer but I am not really good onfancyhdr
usage... So, I would like to know if I should use araisebox
and why. (If you think that a comment on that is related to the question and thus good to be provided here)
– koleygr
yesterday
For me, raisebox` is here to have the possibility to use the height and depth optional arguments, but there are of course other possibilities. However beware not to have warning abou headheight.
– Bernard
yesterday
Thanks @Bernard.... I thought it would possibly help elsewhere too... But of course this could be help in other header commands... Thanks!
– koleygr
yesterday
The raisebox is there to put the image in the same line as the header, not above it. But thanks anyway for all the answers so far!!
– Kahlil Salome
yesterday
|
show 4 more comments
Welcome to TeX SX! Just useraisebox{0pt}[0pt][0pt]
.
– Bernard
yesterday
@Bernard... Is there arasebox
needed at all for this purpose? I didn't used one for my answer but I am not really good onfancyhdr
usage... So, I would like to know if I should use araisebox
and why. (If you think that a comment on that is related to the question and thus good to be provided here)
– koleygr
yesterday
For me, raisebox` is here to have the possibility to use the height and depth optional arguments, but there are of course other possibilities. However beware not to have warning abou headheight.
– Bernard
yesterday
Thanks @Bernard.... I thought it would possibly help elsewhere too... But of course this could be help in other header commands... Thanks!
– koleygr
yesterday
The raisebox is there to put the image in the same line as the header, not above it. But thanks anyway for all the answers so far!!
– Kahlil Salome
yesterday
Welcome to TeX SX! Just use
raisebox{0pt}[0pt][0pt]
.– Bernard
yesterday
Welcome to TeX SX! Just use
raisebox{0pt}[0pt][0pt]
.– Bernard
yesterday
@Bernard... Is there a
rasebox
needed at all for this purpose? I didn't used one for my answer but I am not really good on fancyhdr
usage... So, I would like to know if I should use a raisebox
and why. (If you think that a comment on that is related to the question and thus good to be provided here)– koleygr
yesterday
@Bernard... Is there a
rasebox
needed at all for this purpose? I didn't used one for my answer but I am not really good on fancyhdr
usage... So, I would like to know if I should use a raisebox
and why. (If you think that a comment on that is related to the question and thus good to be provided here)– koleygr
yesterday
For me, raisebox` is here to have the possibility to use the height and depth optional arguments, but there are of course other possibilities. However beware not to have warning abou headheight.
– Bernard
yesterday
For me, raisebox` is here to have the possibility to use the height and depth optional arguments, but there are of course other possibilities. However beware not to have warning abou headheight.
– Bernard
yesterday
Thanks @Bernard.... I thought it would possibly help elsewhere too... But of course this could be help in other header commands... Thanks!
– koleygr
yesterday
Thanks @Bernard.... I thought it would possibly help elsewhere too... But of course this could be help in other header commands... Thanks!
– koleygr
yesterday
The raisebox is there to put the image in the same line as the header, not above it. But thanks anyway for all the answers so far!!
– Kahlil Salome
yesterday
The raisebox is there to put the image in the same line as the header, not above it. But thanks anyway for all the answers so far!!
– Kahlil Salome
yesterday
|
show 4 more comments
2 Answers
2
active
oldest
votes
A simple solution redefines headrule
to fine-tune its placement:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.7height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
renewcommand{headrule}{hspace*{1.2cm}rule[2ex]{dimexprtextwidth-1.2cm}{0.4pt}}
begin{document}
blindtext
end{document}
add a comment |
Adding a vspace
after your includegraphics
should do the trick. No razebox needed:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{} % blank fancyhead command which clears all the header fields.%
% --------- The lines below are commented because I'm using in the original file, but I think that there is no need for it in here. ---------
% fancyhead[RE,RO]{nouppercase{rightmark}}
% renewcommand{chaptermark}[1]{%
% markboth{#1}{}}
% fancyhead[CO,CE]{MakeUppercase{leftmark}}
fancyhead[L]{includegraphics[width=1cm]{example-image-a}vspace{3pt}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{} %Clears the footer fields using a blank fancyfoot command.%
fancyfoot[RE,RO]{thepage} % makes the page number appear on the right of the footer for an even page and the right for an odd. The thepage command returns the page number of the page it's used on.
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
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
});
}
});
Kahlil Salome is a new contributor. Be nice, and check out our Code of Conduct.
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%2f477761%2fadd-a-space-between-image-and-line-in-header%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
A simple solution redefines headrule
to fine-tune its placement:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.7height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
renewcommand{headrule}{hspace*{1.2cm}rule[2ex]{dimexprtextwidth-1.2cm}{0.4pt}}
begin{document}
blindtext
end{document}
add a comment |
A simple solution redefines headrule
to fine-tune its placement:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.7height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
renewcommand{headrule}{hspace*{1.2cm}rule[2ex]{dimexprtextwidth-1.2cm}{0.4pt}}
begin{document}
blindtext
end{document}
add a comment |
A simple solution redefines headrule
to fine-tune its placement:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.7height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
renewcommand{headrule}{hspace*{1.2cm}rule[2ex]{dimexprtextwidth-1.2cm}{0.4pt}}
begin{document}
blindtext
end{document}
A simple solution redefines headrule
to fine-tune its placement:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{}
fancyhead[RE,RO]{nouppercase{Subsection 1.1}}
fancyhead[CO,CE]{MakeUppercase{Chapter 1}}
fancyhead[L]{raisebox{-.7height}[0pt][0pt]{includegraphics[width=1cm]{example-image-a}}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{}
fancyfoot[RE,RO]{thepage}
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
renewcommand{headrule}{hspace*{1.2cm}rule[2ex]{dimexprtextwidth-1.2cm}{0.4pt}}
begin{document}
blindtext
end{document}
answered 20 hours ago
BernardBernard
172k776204
172k776204
add a comment |
add a comment |
Adding a vspace
after your includegraphics
should do the trick. No razebox needed:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{} % blank fancyhead command which clears all the header fields.%
% --------- The lines below are commented because I'm using in the original file, but I think that there is no need for it in here. ---------
% fancyhead[RE,RO]{nouppercase{rightmark}}
% renewcommand{chaptermark}[1]{%
% markboth{#1}{}}
% fancyhead[CO,CE]{MakeUppercase{leftmark}}
fancyhead[L]{includegraphics[width=1cm]{example-image-a}vspace{3pt}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{} %Clears the footer fields using a blank fancyfoot command.%
fancyfoot[RE,RO]{thepage} % makes the page number appear on the right of the footer for an even page and the right for an odd. The thepage command returns the page number of the page it's used on.
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
add a comment |
Adding a vspace
after your includegraphics
should do the trick. No razebox needed:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{} % blank fancyhead command which clears all the header fields.%
% --------- The lines below are commented because I'm using in the original file, but I think that there is no need for it in here. ---------
% fancyhead[RE,RO]{nouppercase{rightmark}}
% renewcommand{chaptermark}[1]{%
% markboth{#1}{}}
% fancyhead[CO,CE]{MakeUppercase{leftmark}}
fancyhead[L]{includegraphics[width=1cm]{example-image-a}vspace{3pt}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{} %Clears the footer fields using a blank fancyfoot command.%
fancyfoot[RE,RO]{thepage} % makes the page number appear on the right of the footer for an even page and the right for an odd. The thepage command returns the page number of the page it's used on.
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
add a comment |
Adding a vspace
after your includegraphics
should do the trick. No razebox needed:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{} % blank fancyhead command which clears all the header fields.%
% --------- The lines below are commented because I'm using in the original file, but I think that there is no need for it in here. ---------
% fancyhead[RE,RO]{nouppercase{rightmark}}
% renewcommand{chaptermark}[1]{%
% markboth{#1}{}}
% fancyhead[CO,CE]{MakeUppercase{leftmark}}
fancyhead[L]{includegraphics[width=1cm]{example-image-a}vspace{3pt}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{} %Clears the footer fields using a blank fancyfoot command.%
fancyfoot[RE,RO]{thepage} % makes the page number appear on the right of the footer for an even page and the right for an odd. The thepage command returns the page number of the page it's used on.
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
Adding a vspace
after your includegraphics
should do the trick. No razebox needed:
documentclass[12pt,twoside]{report}
usepackage{graphicx}
usepackage{fancyhdr}
usepackage{blindtext}
pagestyle{fancy}
% ---------------------------- Header ---------------------------- %
fancyhead{} % blank fancyhead command which clears all the header fields.%
% --------- The lines below are commented because I'm using in the original file, but I think that there is no need for it in here. ---------
% fancyhead[RE,RO]{nouppercase{rightmark}}
% renewcommand{chaptermark}[1]{%
% markboth{#1}{}}
% fancyhead[CO,CE]{MakeUppercase{leftmark}}
fancyhead[L]{includegraphics[width=1cm]{example-image-a}vspace{3pt}}
% ---------------------------- Footer ---------------------------- %
fancyfoot{} %Clears the footer fields using a blank fancyfoot command.%
fancyfoot[RE,RO]{thepage} % makes the page number appear on the right of the footer for an even page and the right for an odd. The thepage command returns the page number of the page it's used on.
renewcommand{headrulewidth}{0.4pt}
renewcommand{footrulewidth}{0.4pt}
begin{document}
blindtext
end{document}
answered yesterday
koleygrkoleygr
11.8k11038
11.8k11038
add a comment |
add a comment |
Kahlil Salome is a new contributor. Be nice, and check out our Code of Conduct.
Kahlil Salome is a new contributor. Be nice, and check out our Code of Conduct.
Kahlil Salome is a new contributor. Be nice, and check out our Code of Conduct.
Kahlil Salome is a new contributor. Be nice, and check out our Code of Conduct.
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');
});
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%2f477761%2fadd-a-space-between-image-and-line-in-header%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
Welcome to TeX SX! Just use
raisebox{0pt}[0pt][0pt]
.– Bernard
yesterday
@Bernard... Is there a
rasebox
needed at all for this purpose? I didn't used one for my answer but I am not really good onfancyhdr
usage... So, I would like to know if I should use araisebox
and why. (If you think that a comment on that is related to the question and thus good to be provided here)– koleygr
yesterday
For me, raisebox` is here to have the possibility to use the height and depth optional arguments, but there are of course other possibilities. However beware not to have warning abou headheight.
– Bernard
yesterday
Thanks @Bernard.... I thought it would possibly help elsewhere too... But of course this could be help in other header commands... Thanks!
– koleygr
yesterday
The raisebox is there to put the image in the same line as the header, not above it. But thanks anyway for all the answers so far!!
– Kahlil Salome
yesterday