Saving table as PNGSweave won't create PNG imagesTeX figure to .pngCreate PNG image from PSTricks...
Why would five hundred and five be same as one?
Is there anyway, I can have two passwords for my wi-fi
What the heck is gets(stdin) on site coderbyte?
Echo with obfuscation
How to preserve electronics (computers, iPads and phones) for hundreds of years
Does Doodling or Improvising on the Piano Have Any Benefits?
Animation: customize bounce interpolation
Proving an identity involving cross products and coplanar vectors
Typing CO_2 easily
Storage of electrolytic capacitors - how long?
ContourPlot — How do I color by contour curvature?
How to make money from a browser who sees 5 seconds into the future of any web page?
Why the "ls" command is showing the permissions of files in a FAT32 partition?
If the only attacker is removed from combat, is a creature still counted as having attacked this turn?
Language involving irrational number is not a CFL
How do you justify more code being written by following clean code practices?
Mimic lecturing on blackboard, facing audience
Sigmoid with a slope but no asymptotes?
How to write Quadratic equation with negative coefficient
Unable to disable Microsoft Store in domain environment
The Digit Triangles
Confusion over Hunter with Crossbow Expert and Giant Killer
Air travel with refrigerated insulin
How to make a list of partial sums using forEach
Saving table as PNG
Sweave won't create PNG imagesTeX figure to .pngCreate PNG image from PSTricks drawingConvert pdf image to png. TiKZPNG Name Displayed at BottomExporting .png or .jpg files directly from LaTeX code. Possible?converting a table to png using standalonePNG in Plain TeXPrinting a table as PNG?tikz to png won't work
I'd like to save the following table as png. I've tried this and using the Linux program convert, but both saved the whole page instead of just the table. I want to save just the table as png.
How can I do this?
documentclass[11pt]{article}
usepackage[table]{xcolor}
definecolor{myblue}{RGB}{78, 126, 222}
usepackage{multirow}
usepackage{geometry}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}[ht]
centeringsetlength{extrarowheight}{3pt}
rowcolors{1}{myblue}{}
begin{tabularx}{textwidth}{>{cellcolor{white}} c >{cellcolor{white}}c>{RaggedRightarraybackslash}X>{RaggedRightarraybackslash}X}
toprule
& Inner index 1.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 1} & Inner index 1.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule
& Inner index 2.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 2} & Inner index 2.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule& Inner index 3.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
&Inner index 3.2 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.3 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
multirow{-2}{*}{Outer index 3}&Inner index 3.4 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.5 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.6 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
bottomrule
end{tabularx}
end{table}
end{document}
png
New contributor
add a comment |
I'd like to save the following table as png. I've tried this and using the Linux program convert, but both saved the whole page instead of just the table. I want to save just the table as png.
How can I do this?
documentclass[11pt]{article}
usepackage[table]{xcolor}
definecolor{myblue}{RGB}{78, 126, 222}
usepackage{multirow}
usepackage{geometry}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}[ht]
centeringsetlength{extrarowheight}{3pt}
rowcolors{1}{myblue}{}
begin{tabularx}{textwidth}{>{cellcolor{white}} c >{cellcolor{white}}c>{RaggedRightarraybackslash}X>{RaggedRightarraybackslash}X}
toprule
& Inner index 1.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 1} & Inner index 1.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule
& Inner index 2.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 2} & Inner index 2.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule& Inner index 3.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
&Inner index 3.2 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.3 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
multirow{-2}{*}{Outer index 3}&Inner index 3.4 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.5 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.6 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
bottomrule
end{tabularx}
end{table}
end{document}
png
New contributor
add a comment |
I'd like to save the following table as png. I've tried this and using the Linux program convert, but both saved the whole page instead of just the table. I want to save just the table as png.
How can I do this?
documentclass[11pt]{article}
usepackage[table]{xcolor}
definecolor{myblue}{RGB}{78, 126, 222}
usepackage{multirow}
usepackage{geometry}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}[ht]
centeringsetlength{extrarowheight}{3pt}
rowcolors{1}{myblue}{}
begin{tabularx}{textwidth}{>{cellcolor{white}} c >{cellcolor{white}}c>{RaggedRightarraybackslash}X>{RaggedRightarraybackslash}X}
toprule
& Inner index 1.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 1} & Inner index 1.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule
& Inner index 2.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 2} & Inner index 2.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule& Inner index 3.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
&Inner index 3.2 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.3 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
multirow{-2}{*}{Outer index 3}&Inner index 3.4 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.5 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.6 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
bottomrule
end{tabularx}
end{table}
end{document}
png
New contributor
I'd like to save the following table as png. I've tried this and using the Linux program convert, but both saved the whole page instead of just the table. I want to save just the table as png.
How can I do this?
documentclass[11pt]{article}
usepackage[table]{xcolor}
definecolor{myblue}{RGB}{78, 126, 222}
usepackage{multirow}
usepackage{geometry}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}[ht]
centeringsetlength{extrarowheight}{3pt}
rowcolors{1}{myblue}{}
begin{tabularx}{textwidth}{>{cellcolor{white}} c >{cellcolor{white}}c>{RaggedRightarraybackslash}X>{RaggedRightarraybackslash}X}
toprule
& Inner index 1.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 1} & Inner index 1.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule
& Inner index 2.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
multirow{-2}{*}{Outer index 2} & Inner index 2.2 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
midrule& Inner index 3.1 & Text data placeholder. May be long enough that it needs to be wrapped. & Text data placeholder. May be long enough that it needs to be wrapped.\
&Inner index 3.2 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.3 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
multirow{-2}{*}{Outer index 3}&Inner index 3.4 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.5 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
&Inner index 3.6 & multicolumn{2}{>{hsize=dimexpr2hsize+2tabcolsep+arrayrulewidthrelaxRaggedRightarraybackslash}X}{ Text data placeholder. May be long enough that it needs to be wrapped. Text data placeholder. May be long enough that it needs to be wrapped.}\
bottomrule
end{tabularx}
end{table}
end{document}
png
png
New contributor
New contributor
New contributor
asked 4 mins ago
whoamiwhoami
52
52
New contributor
New contributor
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
});
}
});
whoami 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%2f480602%2fsaving-table-as-png%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
whoami is a new contributor. Be nice, and check out our Code of Conduct.
whoami is a new contributor. Be nice, and check out our Code of Conduct.
whoami is a new contributor. Be nice, and check out our Code of Conduct.
whoami 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%2f480602%2fsaving-table-as-png%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