recentpopularlog in

kme : tables   23

TableFlip - Simple Table Editor for Mac
Integrates with Marked, so maybe worth it.
markdown  tables  nonfree  macos  app  editor 
july 2019 by kme
ASCII Tables (astropy.io.ascii) — Astropy v2.0.2
The entire 'astropy' distribution seems to be less than 10 MB, so it's kinda worth it to have it around.

<code class="language-python">
>>> data = ascii.read('/etc/passwd', format='no_header', delimiter=':')
>>> print(data[0:4])
col1 col2 col3 col4 col5 col6 col7
------ ---- ---- ---- -------------------------- --------------- ----------------
nobody * -2 -2 Unprivileged User /var/empty /usr/bin/false
root * 0 0 System Administrator /var/root /bin/sh
daemon * 1 1 System Services /var/root /usr/bin/false
_uucp * 4 4 Unix to Unix Copy Protocol /var/spool/uucp /usr/sbin/uucico
</code>
python  tables  ascii  textprocessing  importexport  solution 
october 2017 by kme
css - Max-Height in Html Table - Stack Overflow
You can wrap the table in a div and give the max-height and 'overflow:scroll' to that div
html  css  scrolling  tables  solution 
june 2017 by kme
javascript - Bootstrap table not working correctly on Chrome but works fine on Firefox - Stack Overflow
I think that none of these did shit, except after I added 'word-break:break-word', then the problem I was having went away in Chrome.

Possibly related: https://bugs.chromium.org/p/chromium/issues/detail?id=155767
Add this class to your <table>

.my-table {
table-layout: fixed;
word-wrap: break-word;
}
chrome  bootstrap  tables  css  html  word-wrap  wordwrapping  annoyance  solution 
june 2017 by kme
Text::Table::Tiny - makes simple tables from two-dimensional arrays, with limited templating options - metacpan.org
Text::Table::Tiny - makes simple tables from two-dimensional arrays, with limited templating options
VERSION
version 0.03
OPTIONS
header_row
true/false, designate first row in $rows as a header row and separate with a line
separate_rows
true/false put a separator line between rows and use a thicker line for header separator
perl  tables  textprocessing  formatting  library  module  via:ElliotPsyIT 
december 2016 by kme
Shell Script Printing in table format - Stack Overflow

Instead of using echo, Use printf command.

You can use %s for string and %d for integer, something like this,

printf " %s %d", $string1 $int1

You can space according to your screen, by using %20s for using 20 characters for the string, %12d for the integer.
shellscripting  textprocessing  tables  prettyprinting  formatstrings  dammitbrain  solution 
march 2016 by kme
spacing - Separate arraystretch value for every table - TeX - LaTeX Stack Exchange - http://tex.stackexchange.com/
If you define \arraystretch direct before the table (i.e. tabular) inside a group it should only be active for this table.

\begingroup
\renewcommand*{\arraystretch}{<value>}
\begin{tabular}{...}
...
\end{tabular}
\endgroup
latex  typesetting  solution  tables 
february 2016 by kme
vertical alignment - How to specify row height and align the text vertically in middle of a cell? - TeX - LaTeX Stack Exchange - http://tex.stackexchange.com/
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}m{#1}}
\newcolumntype{N}{@{}m{0pt}@{}}

\begin{document}

\begin{table}[htbp]
\centering
\begin{tabular}{|C{3cm}|L{4cm}|C{3.5cm}|N}
latex  tables  typesetting  fuckina  solution 
october 2015 by kme
css - Word-wrap in an HTML table - Stack Overflow [http://stackoverflow.com/]
The following works for me in Internet Explorer. Note the addition of the table-layout:fixed CSS attribute

<table style="table-layout: fixed; width: 100%">
<tr>
<td style="word-wrap: break-word">
LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongWord
</td>
</tr>
</table>
html  tables  css  solution 
december 2014 by kme

Copy this bookmark:





to read