How can I fix the position of tables formatted with `renewenvironment{table}`? Announcing the...
How to tell that you are a giant?
Trademark violation for app?
How does light 'choose' between wave and particle behaviour?
Using et al. for a last / senior author rather than for a first author
How do I use the new nonlinear finite element in Mathematica 12 for this equation?
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
Why wasn't DOSKEY integrated with COMMAND.COM?
Amount of permutations on an NxNxN Rubik's Cube
Disembodied hand growing fangs
Find 108 by using 3,4,6
Should I follow up with an employee I believe overracted to a mistake I made?
Why do we need to use the builder design pattern when we can do the same thing with setters?
Chebyshev inequality in terms of RMS
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
What is the font for "b" letter?
AppleTVs create a chatty alternate WiFi network
Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?
NumericArray versus PackedArray in MMA12
What initially awakened the Balrog?
Dating a Former Employee
Time to Settle Down!
Are all finite dimensional hilbert spaces isomorphic to spaces with Euclidean norms?
Can anything be seen from the center of the Boötes void? How dark would it be?
Is there a kind of relay only consumes power when switching?
How can I fix the position of tables formatted with `renewenvironment{table}`?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How to fix table positionHow can I fix overflowing tables?How to fix the the position of figures in latex?Tabular and grid typesettingTable caption not appearing in PNAS document classtabu package - gaps in vertical linesHow to fix the position of a tableRecolor text, such that floats and footnotes are affected correctlyTo fix the position of the figuremapsto and function definition / definition environment
I've used renewenvironment{table} to make all my table rules green. I also want to fix the position of some of them, using the option H of float package, for instance. I've tried a solution like the one showed below but I get an error. If I comment out restylefloat{table}, I get just a [H] written next to the table (vide https://www.overleaf.com/read/jvxrhvhqmmgh).
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{float}
usepackage{xcolor}
usepackage{tabu}
usepackage{colortbl}
restylefloat{table}
makeatletter
renewenvironment{table}
{@float{table}taburulecolor{green}arrayrulecolor{green} }
{end@float}
makeatother
begin{document}
begin{table}[H]
centering
caption{This is a caption.}
label{tab:atable}
begin{tabular}{c|c|c}
hline
1 & 2 & 3 tabularnewline
hline
4 & 5 & 6 tabularnewline
hline
end{tabular}
end{table}
end{document}
tables floats environments
add a comment |
I've used renewenvironment{table} to make all my table rules green. I also want to fix the position of some of them, using the option H of float package, for instance. I've tried a solution like the one showed below but I get an error. If I comment out restylefloat{table}, I get just a [H] written next to the table (vide https://www.overleaf.com/read/jvxrhvhqmmgh).
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{float}
usepackage{xcolor}
usepackage{tabu}
usepackage{colortbl}
restylefloat{table}
makeatletter
renewenvironment{table}
{@float{table}taburulecolor{green}arrayrulecolor{green} }
{end@float}
makeatother
begin{document}
begin{table}[H]
centering
caption{This is a caption.}
label{tab:atable}
begin{tabular}{c|c|c}
hline
1 & 2 & 3 tabularnewline
hline
4 & 5 & 6 tabularnewline
hline
end{tabular}
end{table}
end{document}
tables floats environments
add a comment |
I've used renewenvironment{table} to make all my table rules green. I also want to fix the position of some of them, using the option H of float package, for instance. I've tried a solution like the one showed below but I get an error. If I comment out restylefloat{table}, I get just a [H] written next to the table (vide https://www.overleaf.com/read/jvxrhvhqmmgh).
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{float}
usepackage{xcolor}
usepackage{tabu}
usepackage{colortbl}
restylefloat{table}
makeatletter
renewenvironment{table}
{@float{table}taburulecolor{green}arrayrulecolor{green} }
{end@float}
makeatother
begin{document}
begin{table}[H]
centering
caption{This is a caption.}
label{tab:atable}
begin{tabular}{c|c|c}
hline
1 & 2 & 3 tabularnewline
hline
4 & 5 & 6 tabularnewline
hline
end{tabular}
end{table}
end{document}
tables floats environments
I've used renewenvironment{table} to make all my table rules green. I also want to fix the position of some of them, using the option H of float package, for instance. I've tried a solution like the one showed below but I get an error. If I comment out restylefloat{table}, I get just a [H] written next to the table (vide https://www.overleaf.com/read/jvxrhvhqmmgh).
documentclass{article}
usepackage[utf8]{inputenc}
usepackage{float}
usepackage{xcolor}
usepackage{tabu}
usepackage{colortbl}
restylefloat{table}
makeatletter
renewenvironment{table}
{@float{table}taburulecolor{green}arrayrulecolor{green} }
{end@float}
makeatother
begin{document}
begin{table}[H]
centering
caption{This is a caption.}
label{tab:atable}
begin{tabular}{c|c|c}
hline
1 & 2 & 3 tabularnewline
hline
4 & 5 & 6 tabularnewline
hline
end{tabular}
end{table}
end{document}
tables floats environments
tables floats environments
asked 4 mins ago
Leonardo CastroLeonardo Castro
564317
564317
add a comment |
add a 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
});
}
});
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%2f485531%2fhow-can-i-fix-the-position-of-tables-formatted-with-renewenvironmenttable%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
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%2f485531%2fhow-can-i-fix-the-position-of-tables-formatted-with-renewenvironmenttable%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