[OS X TeX] Tables Question
Jada Watson
jada.watson at gmail.com
Sun Jul 10 02:08:44 CEST 2011
Thank you so much, Michael. This is exactly what I needed, I do have a
couple of tables just like this one, but I am going to use what you did here
as my template.
I really appreciate your help.
Jada
On Sat, Jul 9, 2011 at 7:51 PM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>
> On Jul 9, 2011, at 4:31 PM, Alan Munn wrote:
>
> > Here's two versions of your table. One uses the booktabs package and gets
> rid of all the vertical lines and most of the horizontal ones. This may not
> be completely appropriate in this case, but it is generally the preferred
> way to make tables.
> >
>
> This may be one of the rare cases where vertical separators may be useful
> as they lead the eye to the Measure number, which was I think where the
> alignment was wanted. I did this in a fairly ad hoc way. There's another way
> you can do this without tables, making use of the pst-layout package, but
> there is a bit of a learning curve and would not be worthwhile unless you
> were making many such documents.
>
> Michael
>
> \documentclass[11pt]{article}
> \usepackage[margin=1in]{geometry}
> \usepackage[utf8]{inputenc}
> \usepackage{lmodern}
> \usepackage[T1]{fontenc}
> \usepackage{multirow}
> \def\HB#1{\hbox to .8in{#1}}
> \begin{document}
>
> \begin{tabular}{|c|c|c|c|c|c|c|} \hline
> Section&refrain&couplet&refrain&couplet&refrain&coda\\ \hline
> \multirow{3}{*}{Musique} & A & B&A&C&A’& \\
> & \HB{$\|$: a :$\|$: b a :$\|$} & &\HB{a\hfil b\hfil
> a}&\HB{\hfil}&\HB{a\hfil}&\HB{Adagio\hfil a'} \\
> &&&&&& \\ \hline
> Tonalité& Mi $\flat$& \HB{La $\flat$\hfil
> Fa}&\multicolumn{4}{|c|}{Mi $\flat$}\\ \hline
> Mesures&\HB{1\hfil9\hfil28}&\HB{36\hfil49}&\multicolumn{4}{|l|}{72\hspace{.2in}80\hspace{.2in}100\hspace{.28in}107\hspace{.45in}141\hspace{.78in}148\hspace{.35in}153}\\
> \hline
> \end{tabular}
> \end{document}
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20110709/3234c9f6/attachment.html>
More information about the macostex-archives
mailing list