+1 vote
in General IT Tips by (56.8k 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 (351k 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

+5 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer

...