Importing multipage table from .csv
Paul A. Rubin
parubin73 at gmail.com
Fri Sep 9 19:54:22 UTC 2022
On 9/9/22 10:23, Rich Shepard wrote:
> On Thu, 8 Sep 2022, Rich Shepard wrote:
>
>> Please point me to the way to 1) move to the top so I can resize column
>> widths and 2) make this a stand-alone document with a title that I can
>> append to a document.
>
> By trial-and-error I changed the width of the first column and was
> able to
> print the header, but those values keep changing. The gzipped .lyx
> file is
> attached.
>
> I need to learn how to:
> 1. Put a single line border on top and bottom of the header row;
> 2. Put a single line border on the bottom of the last row;
> 3. Put a caption above the table.
>
> I'm not finding answers on the wiki or stackexchange threads. Perhaps
> I need
> to write the entire table in LaTeX using Herbert's tables book?
>
> Rich
>
Rich,
First things first. When I compile your doc using pdflatex, every page
starts with the header row (Stream Name etc.) followed by a row for
Broken Creek and a row for North Fork Flathead River and then the rows
that are (maybe) supposed to be on that page. Apparently someone (cough,
cough) turned on the header setting for the Broken Creek and North Fork
Flathead rows. So you need to right click in their respective cells
(text search is the fastest way to get there), click Settings..., go to
the Multi-page table tab and clear the check mark for header status
being on. Compile and confirm that the first row (Stream Name etc.) is
now the only repeating header.
For your header row borders, navigate to the Stream Name cell,
right-click and go to the Multi-page table tab, and select the check
boxes labeled "double" for "Border above" and "Border below". (I have no
idea what "double" means here, but when I compile with pdflatex the
borders looks like one line each to me.)
For the bottom of the last row, get to the name cell (do you really want
a double ' in O''Brien?), put the cursor in front of the "O", hold down
ctrl + shift and bang on the right arrow key until the entire last row
is highlighted. Presumably the table toolbar appeared when you entered
the cell. Click the bottom border button.
Lastly, there's the table caption. I assume you want this repeated on
every page (?). Create a new row in the table. Weirdly, it does not
appear to matter where, so while you're in the O''Brien Creek cell you
can just click the first table toolbar button and add a new last row.
Put the cursor in the first cell and type "This table is way to effing
long", then right click your way to the Multi-page table tab and click
the "on" checkbox next to "Caption:".
HTH,
Paul
More information about the lyx-users
mailing list