We help IT Professionals succeed at work.

LaTeX - Resizing

dmag
dmag asked
on
I have a table in LaTeX (actually pdflatex) that I want to make fit on a single page. The problem is that the text in the columns are dynamic (i.e. from the user).

I need to be able to dynamically make text smaller (per column, up to a limit) and/or truncate the text.

Any ideas?
Comment
Watch Question

Commented:
No.  I do not believe this is possible (at least it shouldn't be).

The point of TeX is that you provide the content, and _it_ provides the formatting.  That was the motivation for writing it.  Of course, you can provide styles, and they will determine font size etc., but in general you use a particular style for a particular document.

The only kluges I can see that will accomplishing this are (a) pre-formatting the *.tex file so that you truncate the text before it is processed, or (b, even worse) having a set of styles, which are chosen dynamically based on the input to the table.

Good luck, and I hope this isn't too late to be of use.  Let me know if you get a solution to this, please  :-)
jmcgOwner
CERTIFIED EXPERT

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: IainHere {http:#6896521}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer

Explore More ContentExplore courses, solutions, and other research materials related to this topic.