Hi all,
I'm need to declare some table attributes (like borders) outside the table environment. For example, I know that all tables are going to be of size 3x3, and I want to be a border between row 1 and 2 and between column 1 and 2. Can I declare this settings in the preamble (or somewhere else) without declaring inside the table environment?
Why I need this? Because my table is created for another program (MATLAB) and the option that allows me to export a matrix to latex (command matrix2latex) only allows me to have border in every possible site or in no one. So I pretend to generate a table without borders in MATLAB, call this file with the input command and then declare where the borders have to be in the preamble of my main tex file.
It is possible?
Bests.
General ⇒ How to declare table attributes outside table environment?
How to declare table attributes outside table environment?
"Show me your .emacs and I'll tell you who you are." -- modified proverb
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to declare table attributes outside table environment?
The utilization of a tabular environment is not bound to a table environment. Declaring the lines should be no big deal for you.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to declare table attributes outside table environmen
My mistake, I had to refer to the tabular environment instead the table float.
Declaring the lines manually on the tex file generated by MATLAB is not an option, because the idea is have this process automatized, and could be extremely tedious put the table borders manually (in a lot ob rows and columns) each time i got new results (it might be several times at a day).
Any idea.
Pd. what is the right forum to post this? i think that the General forum it's an appropriated place.
Declaring the lines manually on the tex file generated by MATLAB is not an option, because the idea is have this process automatized, and could be extremely tedious put the table borders manually (in a lot ob rows and columns) each time i got new results (it might be several times at a day).
Any idea.
Pd. what is the right forum to post this? i think that the General forum it's an appropriated place.
"Show me your .emacs and I'll tell you who you are." -- modified proverb