# Combine multi-line cell and \url [duplicate]

I have a bigger table in my document, including several urls. I made them active with the \url{...}-command, and now I wanted to make them multi-line-cells by using the \specialcell{..\\..}-command, which is defined as

\newcommand{\specialcell}[2][c]{%
\begin{tabular}[#1]{@{}c@{}}#2\end{tabular}}


But this combination (\specialcell{\url{a\\b}}) does not result in a multi-line url, but instead in the url a\\b. Is there another way to get a multi-line url in a table cell?

## marked as duplicate by Zarko, Community♦Jan 11 '16 at 19:04

• Try to use column type p{<width>}, than url will break similarly as in text (with the same problems). Other options is use hyperref package: \hyperref[label_name]{''link text''} where you can more freely write you label (name of link). – Zarko Jan 11 '16 at 18:23
• Can you maybe give me an example for p{<width>}? – arc_lupus Jan 11 '16 at 18:53