I've got some table that contain xml configuration examples. Some of these example contain underscore characters (e.g. CLOCK_SYNCMODE_SCLK_IN).
Flare is wrapping these inside tables in the pdf output.
Does anyone know how I could prevent this from happening?
I've tried using white-space: nowrap; but this often leads to the text overlapping the table border, even with the table set to autofit to contents, or autofit to window.
I have hypenation switched off for tables (mc-hyphenate: never;) but it looks like flare is treating underscore characters as pre-existing hyphens.
I have a lot of these tables, so I don't want to get into fixed-width columns, it would take hours to fix them all up (particularly with having to build the pdf, check the table fits on the page, tweak it again, build the pdf again etc. etc.)
Prevent wrapping on underscore in tables
-
lacastle
- Propellus Maximus
- Posts: 1028
- Joined: Thu Apr 12, 2007 7:28 am
- Location: Wilmington, DE
- Contact:
Re: Prevent wrapping on underscore in tables
Is your table big enough to the fit the whole group of words (with underscores)? maybe you just don't have enough space to fit it all, or maybe you should look at your table margins/borders and see if they are taking away space from the inside of your tables where the words would fit.
Laura A. Castle
http://www.lauracastle.com
http://www.lauracastle.com