add two horizontal lines between a figure and a table Announcing the arrival of Valued...
Philosophers who were composers?
`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point...WHY
What is the evidence that custom checks in Northern Ireland are going to result in violence?
What's parked in Mil Moscow helicopter plant?
What helicopter has the most rotor blades?
Is a self contained air-bullet cartridge feasible?
What do you call an IPA symbol that lacks a name (e.g. ɲ)?
What is the purpose of the side handle on a hand ("eggbeater") drill?
Does a Draconic Bloodline sorcerer's doubled proficiency bonus for Charisma checks against dragons apply to all dragon types or only the chosen one?
Is there a verb for listening stealthily?
How would it unbalance gameplay to rule that Weapon Master allows for picking a fighting style?
Suing a Police Officer Instead of the Police Department
What's the difference between using dependency injection with a container and using a service locator?
How to keep bees out of canned beverages?
What's called a person who works as someone who puts products on shelves in stores?
TV series episode where humans nuke aliens before decrypting their message that states they come in peace
RIP Packet Format
How was Lagrange appointed professor of mathematics so early?
Like totally amazing interchangeable sister outfit accessory swapping or whatever
What is the numbering system used for the DSN dishes?
Will I be more secure with my own router behind my ISP's router?
SQL Server placement of master database files vs resource database files
Will temporary Dex penalties prevent you from getting the benefits of the "Two Weapon Fighting" feat if your Dex score falls below the prerequisite?
Why do people think Winterfell crypts is the safest place for women, children & old people?
add two horizontal lines between a figure and a table
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern)How to put two tables in a table* element so that the tables appear side by side in a two column layout scientific paper?Why are my Images not correctly centered?Add source to figure captionfloat row figure box - two lines in captionTable caption not appearing in PNAS document classAdd vertical space between two tables in a single figureDistance between caption and figureHow to add horizontal space between two centered subfigures?Figure number and caption on two linesTikZ datavisualization: pins / labels add whitespace between figure and caption
I want to add two horizontal lines between each figure and each table but I have to add this command everytime : rule[0.6ex]{textwidth}{0.3mm}
And how can I reduce the red space between the caption and the figure ? Is there a way to put the figure and table in the center without adding begin{center} ... end{center}
? If I can do that, I won't have the red space anymore I guess.
MWE :
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
begin{document}
begin{figure}
caption{Figure-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
includegraphics[scale=0.25]{logo.png}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
end{figure}
%Table :
begin{table}
caption{Table-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
label{tab:my_label}
end{table}
end{document}
The result :
floats captions
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 1 more comment
I want to add two horizontal lines between each figure and each table but I have to add this command everytime : rule[0.6ex]{textwidth}{0.3mm}
And how can I reduce the red space between the caption and the figure ? Is there a way to put the figure and table in the center without adding begin{center} ... end{center}
? If I can do that, I won't have the red space anymore I guess.
MWE :
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
begin{document}
begin{figure}
caption{Figure-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
includegraphics[scale=0.25]{logo.png}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
end{figure}
%Table :
begin{table}
caption{Table-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
label{tab:my_label}
end{table}
end{document}
The result :
floats captions
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Do not use thecenter
environment within a figure: it adds unwanted vertical spacing. Usecentering
instead.
– Bernard
May 28 '18 at 8:48
But if i usecentering
I will have mytextit{Source :} href{google.com}{https://google.com}
at the center as well.
– Red One
May 28 '18 at 8:54
For that you can make a group. Captions are centred by default – how do you manage it?
– Bernard
May 28 '18 at 9:00
Well i just tried something like thiscaption*{textit{Source} : href{google.com}{https://google.com}}
withcentering
and it's not bad at all, so now I have to figure out how to add 2 lines without addingrule[0.6ex]{textwidth}{0.3mm}
everytime.
– Red One
May 28 '18 at 9:04
1
You should take a look at the documentation of thefloat
package: it defines aruled
float style. You might define aruledfigure
and aruledtable
environments.
– Bernard
May 28 '18 at 10:02
|
show 1 more comment
I want to add two horizontal lines between each figure and each table but I have to add this command everytime : rule[0.6ex]{textwidth}{0.3mm}
And how can I reduce the red space between the caption and the figure ? Is there a way to put the figure and table in the center without adding begin{center} ... end{center}
? If I can do that, I won't have the red space anymore I guess.
MWE :
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
begin{document}
begin{figure}
caption{Figure-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
includegraphics[scale=0.25]{logo.png}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
end{figure}
%Table :
begin{table}
caption{Table-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
label{tab:my_label}
end{table}
end{document}
The result :
floats captions
I want to add two horizontal lines between each figure and each table but I have to add this command everytime : rule[0.6ex]{textwidth}{0.3mm}
And how can I reduce the red space between the caption and the figure ? Is there a way to put the figure and table in the center without adding begin{center} ... end{center}
? If I can do that, I won't have the red space anymore I guess.
MWE :
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
begin{document}
begin{figure}
caption{Figure-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
includegraphics[scale=0.25]{logo.png}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
end{figure}
%Table :
begin{table}
caption{Table-Example.}
begin{center}
rule[0.6ex]{textwidth}{0.3mm}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
rule[0.6ex]{textwidth}{0.3mm}
end{center}
textit{Source :} href{google.com}{https://google.com}
label{tab:my_label}
end{table}
end{document}
The result :
floats captions
floats captions
asked May 28 '18 at 8:46
Red OneRed One
32619
32619
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Do not use thecenter
environment within a figure: it adds unwanted vertical spacing. Usecentering
instead.
– Bernard
May 28 '18 at 8:48
But if i usecentering
I will have mytextit{Source :} href{google.com}{https://google.com}
at the center as well.
– Red One
May 28 '18 at 8:54
For that you can make a group. Captions are centred by default – how do you manage it?
– Bernard
May 28 '18 at 9:00
Well i just tried something like thiscaption*{textit{Source} : href{google.com}{https://google.com}}
withcentering
and it's not bad at all, so now I have to figure out how to add 2 lines without addingrule[0.6ex]{textwidth}{0.3mm}
everytime.
– Red One
May 28 '18 at 9:04
1
You should take a look at the documentation of thefloat
package: it defines aruled
float style. You might define aruledfigure
and aruledtable
environments.
– Bernard
May 28 '18 at 10:02
|
show 1 more comment
1
Do not use thecenter
environment within a figure: it adds unwanted vertical spacing. Usecentering
instead.
– Bernard
May 28 '18 at 8:48
But if i usecentering
I will have mytextit{Source :} href{google.com}{https://google.com}
at the center as well.
– Red One
May 28 '18 at 8:54
For that you can make a group. Captions are centred by default – how do you manage it?
– Bernard
May 28 '18 at 9:00
Well i just tried something like thiscaption*{textit{Source} : href{google.com}{https://google.com}}
withcentering
and it's not bad at all, so now I have to figure out how to add 2 lines without addingrule[0.6ex]{textwidth}{0.3mm}
everytime.
– Red One
May 28 '18 at 9:04
1
You should take a look at the documentation of thefloat
package: it defines aruled
float style. You might define aruledfigure
and aruledtable
environments.
– Bernard
May 28 '18 at 10:02
1
1
Do not use the
center
environment within a figure: it adds unwanted vertical spacing. Use centering
instead.– Bernard
May 28 '18 at 8:48
Do not use the
center
environment within a figure: it adds unwanted vertical spacing. Use centering
instead.– Bernard
May 28 '18 at 8:48
But if i use
centering
I will have my textit{Source :} href{google.com}{https://google.com}
at the center as well.– Red One
May 28 '18 at 8:54
But if i use
centering
I will have my textit{Source :} href{google.com}{https://google.com}
at the center as well.– Red One
May 28 '18 at 8:54
For that you can make a group. Captions are centred by default – how do you manage it?
– Bernard
May 28 '18 at 9:00
For that you can make a group. Captions are centred by default – how do you manage it?
– Bernard
May 28 '18 at 9:00
Well i just tried something like this
caption*{textit{Source} : href{google.com}{https://google.com}}
with centering
and it's not bad at all, so now I have to figure out how to add 2 lines without adding rule[0.6ex]{textwidth}{0.3mm}
everytime.– Red One
May 28 '18 at 9:04
Well i just tried something like this
caption*{textit{Source} : href{google.com}{https://google.com}}
with centering
and it's not bad at all, so now I have to figure out how to add 2 lines without adding rule[0.6ex]{textwidth}{0.3mm}
everytime.– Red One
May 28 '18 at 9:04
1
1
You should take a look at the documentation of the
float
package: it defines a ruled
float style. You might define a ruledfigure
and a ruledtable
environments.– Bernard
May 28 '18 at 10:02
You should take a look at the documentation of the
float
package: it defines a ruled
float style. You might define a ruledfigure
and a ruledtable
environments.– Bernard
May 28 '18 at 10:02
|
show 1 more comment
1 Answer
1
active
oldest
votes
With newenvironment{name}{begin}{end}, it can be done:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
newenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
begin{document}
begin{tablewithrule}{Table Example}{url{www.google.com}}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
end{tablewithrule}
end{document}
However, it is not possible to have an argument in the end-part of the order. You've therefore to add it in the begin-part (if you want to have this automatic...).
The distance to the rules can be changed by vspace{}
, where you can also enter a negative value, e.g. vspace{-0.4cm}
Edit: you could also work with renewenvironment
instead of newenvironment
. I however prefer not to meddle with the basic definitions but do new commands based on existing ones.
Hello, sorry for the late answer. I tried it but it didn't work I don't get the lines between my figure/table when I addnewenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
– Red One
May 28 '18 at 22:56
Working fine with me. You've to change thebegin{table}
tobegin{tablewithrule}
, same withend{table}
. If you don't want that, you've to userenewenvironment
– Shade
May 29 '18 at 7:44
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');
});
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%2f433763%2fadd-two-horizontal-lines-between-a-figure-and-a-table%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 newenvironment{name}{begin}{end}, it can be done:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
newenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
begin{document}
begin{tablewithrule}{Table Example}{url{www.google.com}}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
end{tablewithrule}
end{document}
However, it is not possible to have an argument in the end-part of the order. You've therefore to add it in the begin-part (if you want to have this automatic...).
The distance to the rules can be changed by vspace{}
, where you can also enter a negative value, e.g. vspace{-0.4cm}
Edit: you could also work with renewenvironment
instead of newenvironment
. I however prefer not to meddle with the basic definitions but do new commands based on existing ones.
Hello, sorry for the late answer. I tried it but it didn't work I don't get the lines between my figure/table when I addnewenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
– Red One
May 28 '18 at 22:56
Working fine with me. You've to change thebegin{table}
tobegin{tablewithrule}
, same withend{table}
. If you don't want that, you've to userenewenvironment
– Shade
May 29 '18 at 7:44
add a comment |
With newenvironment{name}{begin}{end}, it can be done:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
newenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
begin{document}
begin{tablewithrule}{Table Example}{url{www.google.com}}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
end{tablewithrule}
end{document}
However, it is not possible to have an argument in the end-part of the order. You've therefore to add it in the begin-part (if you want to have this automatic...).
The distance to the rules can be changed by vspace{}
, where you can also enter a negative value, e.g. vspace{-0.4cm}
Edit: you could also work with renewenvironment
instead of newenvironment
. I however prefer not to meddle with the basic definitions but do new commands based on existing ones.
Hello, sorry for the late answer. I tried it but it didn't work I don't get the lines between my figure/table when I addnewenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
– Red One
May 28 '18 at 22:56
Working fine with me. You've to change thebegin{table}
tobegin{tablewithrule}
, same withend{table}
. If you don't want that, you've to userenewenvironment
– Shade
May 29 '18 at 7:44
add a comment |
With newenvironment{name}{begin}{end}, it can be done:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
newenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
begin{document}
begin{tablewithrule}{Table Example}{url{www.google.com}}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
end{tablewithrule}
end{document}
However, it is not possible to have an argument in the end-part of the order. You've therefore to add it in the begin-part (if you want to have this automatic...).
The distance to the rules can be changed by vspace{}
, where you can also enter a negative value, e.g. vspace{-0.4cm}
Edit: you could also work with renewenvironment
instead of newenvironment
. I however prefer not to meddle with the basic definitions but do new commands based on existing ones.
With newenvironment{name}{begin}{end}, it can be done:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{hyperref}
usepackage{caption}
captionsetup{labelfont=bf,textfont=bf,justification=raggedright,singlelinecheck=false,format=hang}
newenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
begin{document}
begin{tablewithrule}{Table Example}{url{www.google.com}}
begin{tabular}{c|c}
hline
A & B \
C & D \
hline
end{tabular}
end{tablewithrule}
end{document}
However, it is not possible to have an argument in the end-part of the order. You've therefore to add it in the begin-part (if you want to have this automatic...).
The distance to the rules can be changed by vspace{}
, where you can also enter a negative value, e.g. vspace{-0.4cm}
Edit: you could also work with renewenvironment
instead of newenvironment
. I however prefer not to meddle with the basic definitions but do new commands based on existing ones.
answered May 28 '18 at 10:05
ShadeShade
30319
30319
Hello, sorry for the late answer. I tried it but it didn't work I don't get the lines between my figure/table when I addnewenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
– Red One
May 28 '18 at 22:56
Working fine with me. You've to change thebegin{table}
tobegin{tablewithrule}
, same withend{table}
. If you don't want that, you've to userenewenvironment
– Shade
May 29 '18 at 7:44
add a comment |
Hello, sorry for the late answer. I tried it but it didn't work I don't get the lines between my figure/table when I addnewenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
– Red One
May 28 '18 at 22:56
Working fine with me. You've to change thebegin{table}
tobegin{tablewithrule}
, same withend{table}
. If you don't want that, you've to userenewenvironment
– Shade
May 29 '18 at 7:44
Hello, sorry for the late answer. I tried it but it didn't work I don't get the lines between my figure/table when I add
newenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
– Red One
May 28 '18 at 22:56
Hello, sorry for the late answer. I tried it but it didn't work I don't get the lines between my figure/table when I add
newenvironment{tablewithrule}[2]{begin{table} caption{#1} centering rule[0.6ex]{textwidth}{0.3mm} caption*{textit{Source}: #2} }{vspace{1mm}rule[0.6ex]{textwidth}{0.3mm} end{table}}
– Red One
May 28 '18 at 22:56
Working fine with me. You've to change the
begin{table}
to begin{tablewithrule}
, same with end{table}
. If you don't want that, you've to use renewenvironment
– Shade
May 29 '18 at 7:44
Working fine with me. You've to change the
begin{table}
to begin{tablewithrule}
, same with end{table}
. If you don't want that, you've to use renewenvironment
– Shade
May 29 '18 at 7:44
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');
});
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%2f433763%2fadd-two-horizontal-lines-between-a-figure-and-a-table%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
Do not use the
center
environment within a figure: it adds unwanted vertical spacing. Usecentering
instead.– Bernard
May 28 '18 at 8:48
But if i use
centering
I will have mytextit{Source :} href{google.com}{https://google.com}
at the center as well.– Red One
May 28 '18 at 8:54
For that you can make a group. Captions are centred by default – how do you manage it?
– Bernard
May 28 '18 at 9:00
Well i just tried something like this
caption*{textit{Source} : href{google.com}{https://google.com}}
withcentering
and it's not bad at all, so now I have to figure out how to add 2 lines without addingrule[0.6ex]{textwidth}{0.3mm}
everytime.– Red One
May 28 '18 at 9:04
1
You should take a look at the documentation of the
float
package: it defines aruled
float style. You might define aruledfigure
and aruledtable
environments.– Bernard
May 28 '18 at 10:02