LyX ⇒ Adjust space between bullets in table
Adjust space between bullets in table
Hi everyone,
I am using Lyx 1.6.4.2 for Mac.
I have constructed a table with three columns, one of which includes dates. I would like entries in the other two columns to match the dates in terms of spacing and position, but one of the columns includes bullet points, which by default have different positions. Is there a relatively simple way to adjust these? I attach a screenshot to illustrate the problem.
Thanks, Dennis
I am using Lyx 1.6.4.2 for Mac.
I have constructed a table with three columns, one of which includes dates. I would like entries in the other two columns to match the dates in terms of spacing and position, but one of the columns includes bullet points, which by default have different positions. Is there a relatively simple way to adjust these? I attach a screenshot to illustrate the problem.
Thanks, Dennis
- Attachments
-
- Screen shot 2010-09-24 at 11.13.40.png (50.22 KiB) Viewed 6841 times
Last edited by dennis on Thu Sep 30, 2010 9:27 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Adjust space between bullets in table
It will be useful if you posted your example .lyx file too.
Re: Adjust space between bullets in table
There you go...
( I had to create a .zip-file, the forum doesn't allow .lyx-files)
( I had to create a .zip-file, the forum doesn't allow .lyx-files)
- Attachments
-
- example.lyx.zip
- (2.44 KiB) Downloaded 314 times
Adjust space between bullets in table
You may use enumitem package to remove vertical spacing between items. Put in the preamble:
Then, you may use minipage (Insert > Box) and put lists inside them (don't forget to set width of minipages).
Note: If you don't want \setitemize command to affect all lists in your document, you may define a command for easy switching before table (or, to apply it only to a table), e.g., instead of \setitemize{nolistsep} command from above, type:
Now, just before a table press Ctrl+L and type:
And after the table, press again Ctrl+L and type:
Code: Select all
\usepackage{enumitem}
\setitemize{nolistsep}
Note: If you don't want \setitemize command to affect all lists in your document, you may define a command for easy switching before table (or, to apply it only to a table), e.g., instead of \setitemize{nolistsep} command from above, type:
Code: Select all
\newcommand{\mylist}{\setitemize{nolistsep}}
Code: Select all
{\mylist
Code: Select all
}
- Attachments
-
- example.lyx.zip
- (2.51 KiB) Downloaded 279 times
-
- Posts: 37
- Joined: Sun Mar 29, 2009 1:41 am
Re: Adjust space between bullets in table
If you want the entries to line up horizontally with the dates, then wouldn't the most logical solution be to split up your table into more rows, with one row each date range? You can get rid of the extra horizontal lines that you don't want. You'll have to start a new itemize environment in each cell, though.
Re: Adjust space between bullets in table
Thanks meho_r, that works perfectly, just what I wanted!
John, I thought about this option, but it doesn't really work since already the first line is slightly below the others when using bullets. See the line starting with "1963" in my example. The corresponding bullet "preferential access" is not in line. Thanks anyway for taking the time...
John, I thought about this option, but it doesn't really work since already the first line is slightly below the others when using bullets. See the line starting with "1963" in my example. The corresponding bullet "preferential access" is not in line. Thanks anyway for taking the time...
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Adjust space between bullets in table
Now that the problem is solved, please be so kind and mark the topic accordingly as clearly written in Section 3 of the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary anymore.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10