Re: [XeTeX] right justified paragraph in tabular or longtable

2011-12-21 Thread Susan Dittmar
Quoting Adam McCollum (acmccollum...@gmail.com):
 [...] longtable [...] From what I understand, there is not an option of r and 
  
 p{WIDTH}, but I assume there is another way to do what I need.

I did not test it, but with

\usepackage{array} (which defines \arraybackslash), you can either use

{\raggedleft\arraybackslash}p{WIDTH}

directly within the longtable definition, or you can define a new column
type:

\newcolumntype{R}[1]{{\raggedleft\arraybackslash}p{#1}}

and then use this column R{WIDTH} in the longtable definition.

Hope that helps,

Susan


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] right justified paragraph in tabular or longtable

2011-12-21 Thread Susan Dittmar
Dear Adam,

Quoting McCollum, Adam (acmccollum...@gmail.com), who forgot to include the
xetex list:
 Thanks, the second option works as I would like. (For some reason, I only
 got an error message with the first.)

Ah, I guess that's because your mail reader showed the greater sign () at
the beginning of the code as just another level of quotation. The first
option uses {\raggedleft\arraybackslash}p{WIDTH} (without the quotes)
inside the longtable definition. It does the same as the second option,
though the second option does it in a two-step version that might be easier
to read and use, especially if you have more than one such column (or more
than one longtable using such columns).

Hope that clarifies things, though of course you already have a working
version,

Susan



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] right justified paragraph in tabular or longtable

2011-12-20 Thread Adam McCollum

Dear list members,

I am putting together a document with several selections of text in  
Syriac on the right and an English translation on the left. Perhaps  
there is another way, but I've done this longtable. Since these text  
selections are several lines long, I've used p{7cm} for the alignment.  
It looks good except for the fact that I want the last line of the  
Syriac to be all the way to the right, while now it lingers far to the  
left. From what I understand, there is not an option of r and  
p{WIDTH}, but I assume there is another way to do what I need. Please  
see a minimal example attached.


Many thanks for any help.

With best wishes,

Adam McCollum, Ph.D.
Skype: adam.bar.yona


longtable_rt_just_test.pdf
Description: Adobe PDF document


longtable_rt_just_test.tex
Description: Binary data


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex