Trying to research this question has been difficult. Not sure what nomenclature to use when searching the web, so here is an example: would like to achieve this:
Note: the objects descriptions can span multiple lines. Some objects descriptions may only be on one line. The object on the left needs to be right justified and bold. The objects corresponding description on the right needs to be left justified. There can be rows that contain only one object and corresponding description, but some may have up to eight. Some rows may have only one object on the left and a large paragraph on the right. In that case, the object on the left should be at the top "line"(?) and again right justified and bold.
This post seems promising. A number of posts go into how to top/center/bottom align in a cell, and this one seemed promising also, however they mostly all seem to be about top/center/bottom alighnment and not how to align the object in the left cell with the one in the right (on an individual line basis). The first link gets somewhat there except it is not clear how to achieve the following:
- line wrap
- objects on the left should be bold
- objects on the left are right justified
It seems that this method could become complicated (the list to be inserted is quite large, and it needs to be in the format presented). Is there a simpler way to achieve the picture above (knowing that there will be about 30-40 rows and two columns)?
Here is the example code in tex: More research is needed, as the meaning of 20cm after \pbox is not totally clear.
\begin{tabular}{|c|c|}
\hline
\pbox{20cm}{Object 1 \\ Object 2 \\ Object 3 \\ Object 4 \\ Object 5} & \pbox{20cm}{This is object 1s description. It is on the same line, but it may be longer than one line in the cell. \\ This is object 2s description, same line as object 2. \\ Object 3 description \\ Object 4 description may be longer than one line also, but object 5 will be aligned. \\ Object 5 description} \\
\hline
\pbox{20cm}{Object 1 \\ Object 2 \\ Object 3} & \pbox{20cm}{This is a different group of objects...object 1 description \\ This is a different group of objects...object 2 description, and this one might be longer than one line. \\ This is a different group of objects...object 3 description} \\
\hline
\end{tabular}
Note the above tex does not actually work correctly. The right hand side is chopped off. It looks like:
Questions: Can this reasonably be done in TeX? Is there a simpler way to do this (in Tex)? Can the bullet point items above be remedied?




