Page 1 of 1

.append without linebreak

Posted: Tue Jan 24, 2017 12:34 pm
by KCS
I am using EViews 9.1 and the add-in that generates LaTex Code from a table.
I'm not satisfied with the way this add-on generates the output, my main issue being that it generates a linebreak after each entry, resulting in a terribly long texcode. I would therefore like to personalize the add-in. It seems to me that the .append command forces a line break. My question is: is there an alternative command that allows to append text without breaking the line?
I appreciate all the help!

Re: .append without linebreak

Posted: Tue Jan 24, 2017 12:39 pm
by EViews Gareth
There is not.

However you might be able to concatenate lines in the program before appending them to the text object.

Thus:

Code: Select all

{%tablename}.append this is some {%tablename}.append text that is added
would change to

Code: Select all

{%tablename}.append this is some text that is added

Re: .append without linebreak

Posted: Tue Jan 24, 2017 3:19 pm
by KCS
Thanks. I have a follow-up question:

I found the new feature that when copying a table, one can choose latex code instead of text.
However, even for the simplest, say 2x2 table with numbers, the resulting tex code is cumbersome by putting each entry in a multi-column environment. Any thoughts why that is the case? Otherwise, this copy command would be such a great feature!

Re: .append without linebreak

Posted: Tue Jan 24, 2017 5:26 pm
by EViews Rebecca
The multicolumn environment is there to accommodate complex tables, such as regression output that includes headings and summary statistics.