TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've an existing table in LaTeX (for my resume), which uses makecell package to produce the formatted output in multiple lines for each entry. Example of one row:

2007 & \makecell[c] {Bachelor of Engineering in\\ XYZ Engineering}   
     & \makecell[c] {A.B.C \\ University, PQR} 
     & 80\%  \\

I'm trying to embed a hyperlink (so that clicking on the name of the Institute would take the reader to the corresponding webpage) using the hyperref package. So, I tried this (for each line) :

2009 & \makecell[c] {Master of Technology in\\  Computer Science}
     & \makecell[c] {\href{http://www.xyz.ac.in/}{XYZ Institute\\ RST}}     
     &  90\% \\

But I'm getting errors as follows:

! Missing \endgroup inserted.
<inserted text>

What am I doing wrong ? Also, is it even possible to have a multi-row entry pointing to a single link (or do I have to either make it a single row first, give the link separately etc)?

share|improve this question
Put the argument in a minipage or parbox – Marco Daniel Sep 4 '11 at 22:34
up vote 4 down vote accepted

Put the cell contents in the second argument of \href:

2009 & \makecell[c] {Master of Technology in\\  Computer Science}
     & \href{http://www.xyz.ac.in/}{\makecell[c]{XYZ Institute\\ RST}}
     & 90 \\
share|improve this answer
...or \makecell[c]{\href{http://www.xyz.ac.in/}{XYZ Institute}\\RST} to just hyperlink XYZ Institute, since \href can't have `\`. – Werner Sep 5 '11 at 0:43
egreg's solution worked fine for me...I didn't try the other ones. – TCSGrad Sep 5 '11 at 1:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.