LaTeX forum ⇒ GeneralLongtable and PDF metainfo problem

LaTeX specific issues not fitting into one of the other forums of this category.
Posts: 3
Joined: Wed Aug 08, 2007 5:46 pm

Longtable and PDF metainfo problem

Postby bmn » Wed Aug 08, 2007 6:07 pm

Hi there!
I have started to build a TeXniC project for a c.v. "template". I managed to solve all problems I encountered - more or less elegantly - except two:

1. I would like to enter author, title and subject etc information in the main .tex file so that this is written as meta information to the PDF upon generating it. I have tried \author, \pdfauthor and \pdfinfo, none of that seems to work.

2. This might be a tough one:
The way I built this project is that I have one .sty file which contains the following (only the relevant stuff):
  1. \usepackage{fullpage}
  2. \usepackage{longtable}
  3. \renewcommand\section{\@startsection {section}{1}{\z@}
  4. {-3.5ex \@plus -1ex \@minus -.2ex}
  5. {2.3ex \@plus.2ex}
  7. \newenvironment{envtable}[1]
  9. \begin{longtable}
  10. {@{} p{.23\textwidth} | @{\hskip .02\textwidth} p{.30\textwidth} | @{\hskip .02\textwidth} p{.35\textwidth} }}
  11. {\end{longtable}\vskip 0.5cm}

So an environment "envtable" containing a longtable is defined. Now I have a main .tex file in which I load packages, refer to the .sty and then I write the actual text, for example:
  1. \begin{envtable}{tablename}
  2. first column & second column & third column
  3. \end{envtable}

Now the thing is that in the resulting PDF file the text in the tables appears like it would in MS Word with the setting "justified" instead of "aligned left". The result are ugly big spaces between some words and TeXniC also reports 4 underfull boxes. I have tried -lots- of things to make this go away Very Happy The standard parameter for flushed-left text in longtables, manually flush-left in the .tex, trying to see if the problem is caused by bad hyphenation and some more. I simply can't get it to work.

I would greatly appreciate any help with these two problems. Thanks!

User avatar
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Wed Aug 08, 2007 6:41 pm

At first, i may remark that such completely different problems should be posted in two separate threads.

For the first problem there is the simple answer to take a look at the documentation of the hyperref package.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Posts: 3
Joined: Wed Aug 08, 2007 5:46 pm

Postby bmn » Wed Aug 08, 2007 7:43 pm

Thanks, apparently I did use the right commands but with wrong syntax....
The PDF problem is solved now. Since there is only the longtables issue left I don't think it is necessary to start another thread. Mr. Green

Posts: 3
Joined: Wed Aug 08, 2007 5:46 pm

Postby bmn » Sat Aug 11, 2007 9:15 am

No suggestions?

Return to “General”

Who is online

Users browsing this forum: No registered users and 4 guests