Thursday, May 3, 2018

Breaking Long URL in LaTeX Documents

Sometimes we wish to break a long URL in a LaTeX document.  I am among many people who have struggled with this. The following summarizes the answers I found online,

  1. Pass hypens to the url package that is referenced in the hyperref package, e.g.,

    PassOptionsToPackage{hyphens}{url}\usepackage{hyperref}
      
  2. However, the above would not work when the long URL has hyphens to avoid confusion by design. To break a long URL that has hyphens, we can use

    \usepackage[hyphenbreaks]{breakurl}
    

  3. In the above, LaTeX works hard and attempts to break the long URL at some location. If the location is not to our liking, we add the \sloppy command right before the reference to an URL, e.g.,

    \sloppy
    \url{a-very-long-and-awkward-URL-with-many-hyphens}
    
The above is the summaries of the following two discussions,
  1. How to break long url in an item
  2. Forcing linebreaks in \url
Great discussions, folks. Thanks.

8 comments:

  1. We Provide Best Packers And Movers Jaipur List for Get Free Best Quotes, Compare Charges,
    Save Money And Time,Household Shifting Services @ Packers And Movers Jaipur


    ReplyDelete
  2. Packers And Movers Hyderabad Local Household Shifting Service, Get Free Best Price Quotes Local Packers and Movers in Hyderabad List, Compare Charges, Save Money And Time @ Packers And Movers Hyderabad

    ReplyDelete
  3. The principal intent behind QuickBooks Support number is to provide the technical help 24*7 so as in order to avoid wasting your productivity hours. This is completely a toll-free QuickBooks client Service variety that you won’t pay any call charges. Of course, QuickBooks is one among the list of awesome package in the company world. The accounting part of the many companies varies according to this package. You'll find so many fields it covers like creating invoices, managing taxes, managing payroll etc. However exceptions are typical over, sometimes it generates the down sides and user wants QuickBooks client Service help.
    QuickBooks Support Phone Number

    QuickBooks Support Number

    QuickBooks Tech Support Number

    QuickBooks Tech Support Phone Number

    Intuit QuickBooks Support

    Intuit QuickBooks Support Number

    QuickBooks Customer Service Number

    QuickBooks Customer Service

    QuickBooks Customer Service Phone Number

    QuickBooks Support

    QuickBooks Help Number

    QuickBooks Helpline Number

    Intuit QuickBooks Phone Number

    QuickBooks Technical Support Number

    QuickBooks Technical Support Phone Number

    QuickBooks Toll-free Support Number

    QuickBooks Toll-free Number

    QuickBooks Support

    QuickBooks Desktop Support Number

    QuickBooks Support Number USA

    QuickBooks Support USA

    QuickBooks Customer Support Number

    QuickBooks 24/ 7 Tech Support Number

    QuickBooks 24/ 7 Tech Support Phone Number

    QuickBooks USA Support Number

    QuickBooks USA Support Phone Number

    QuickBooks 2019 Support Number

    QuickBooks 247 Tech Support Number

    QuickBooks Support Phone Number 2019

    Support Number For QuickBooks

    ReplyDelete
  4. Our professionals are terribly dedicated and might solve your entire issues without the fuss. In the event that you call, you are greeted by our client service representative when taking all of your concern he/she will transfer your preference into the involved department. The best part is the fact that not just you’ll prepare you to ultimately resolve your problems nevertheless you are often acquiesced by our technicians and he/she could well keep updating you concerning your problems. it's likely you have a whole information what the problem your package is facing.
    QuickBooks Support Phone Number

    QuickBooks Support Number

    QuickBooks Tech Support Number

    QuickBooks Tech Support Phone Number

    Intuit QuickBooks Support

    Intuit QuickBooks Support Number

    QuickBooks Customer Service Number

    QuickBooks Customer Service

    QuickBooks Customer Service Phone Number

    QuickBooks Support

    QuickBooks Help Number

    QuickBooks Helpline Number

    Intuit QuickBooks Phone Number

    QuickBooks Technical Support Number

    QuickBooks Technical Support Phone Number

    QuickBooks Toll-free Support Number

    QuickBooks Toll-free Number

    QuickBooks Support

    QuickBooks Desktop Support Number

    QuickBooks Support Number USA

    QuickBooks Support USA

    QuickBooks Customer Support Number

    QuickBooks 24/ 7 Tech Support Number

    QuickBooks 24/ 7 Tech Support Phone Number

    QuickBooks USA Support Number

    QuickBooks USA Support Phone Number

    QuickBooks 2019 Support Number

    QuickBooks 247 Tech Support Number

    QuickBooks Support Phone Number 2019

    Support Number For QuickBooks

    ReplyDelete