My document looks like this:

\DeclareUrlCommand\url{\def\UrlLeft{<}\def\UrlRight{>} \urlstyle{tt}}
\footurl{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi lacinia fringilla accumsan. Curabitur lacinia tellus.}

It should put url in footnote and it works fine, but for some urls that are longer than one line, it indents first line.

Placing \noindent in front of \url doesn't work and I quess it has something to do with hyphenation.

Well, I have just fixed it by removing \urlstyle{tt}, but I don't know what does it mean, because it is from style, so it isnt my work.

  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Feb 22 '17 at 9:44

Simply remove the space in the \DeclareUrlCommand call:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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