LyX ⇒ pdflatex - hyperlink seems to extend too long across the page
pdflatex - hyperlink seems to extend too long across the page
Lyx 2.2.3
Class: Article
I was testing adding a hyperlink in but when it outputs to pdf, it extends way too long across to the right of the page (see pic below). I tried inserting the same hyperlink to the 'text' field but it doesn't make a difference, it doesn't break it down to the next line.
Pic: https://imgur.com/a/2sUsKvX (the orange lines is my attempt to show the approx. margins)
Thanks in advance, let me know if I've missed anything.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
pdflatex - hyperlink seems to extend too long across the page
For URLs, you should use the url package.
pdflatex - hyperlink seems to extend too long across the page
The picture is a link, can you try clicking again or viewing on a different browser?Johannes_B wrote:I don't see the picture. Please upload it to the forum as an attachment.
For URLs, you should use the url package.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
pdflatex - hyperlink seems to extend too long across the page
It's easy to attach a picture here. The "Attachments" link is below the text editing field, when writing a post.
Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
pdflatex - hyperlink seems to extend too long across the page
Code: Select all
\documentclass{article}
\usepackage{url}
\begin{document}
\section{Test}
Some long test to see the justification of lest and right margin.
This is just a test. See:
\url{https://www.reddit.com/r/learnprogramming/comments/61oly8/new_read_me_first/}
\end{document}
Your document does something different. We can find it out, if you make a pdfLaTeX export in LyX and post it here, as attachment.
Stefan