+1 vote
in General IT Tips by (34.9k points)
The URL I want to insert into a latex document is big and does not fit in a line. How can I split it into multiple lines?

1 Answer

+1 vote
by (157k points)
selected by
 
Best answer

You can put "\\" in the URL to split it into multiple lines.

E.g.

\href{https://your_big_url_split_into_lines}{https://your_big_url\\_split_into_lines}

 In the PDF file, https://your_big_url will on one line and split_into_lines will be on the next line.

Related questions

+1 vote
1 answer
+2 votes
1 answer
+1 vote
1 answer
+2 votes
1 answer

...