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.

413 comments:

  1. Are you having error while selling and buying bitcoin in Gemini account? If you are unable to deal with this error and looking for a solution to deal with this error, you can always contact the team anytime and get fruitful results from the professionals who are always there to listen to your queries. All you have to do is call on Gemini helpdesk number which is functional all the time and users can speak to them for fruitful results. Gemini Support Number

    ReplyDelete
  2. Are you having a problem as you are unable to cash bitcoin in Blockchain? Resolving problems like this is not a cup of your tea as assistance from professionals is required at one time. If so, there is no need to worry about this at all as you can always get in contact with the team of geeks who have massive knowledge about Blockchain and can resolve all sort of queries in no time. Dial Blockchain Support Number and get ultimate results in a fraction of time without any help and assistance. Blockchain Support Number

    ReplyDelete
  3. Track Mobile Number

    We can give you the details of mobile number of 22 countries of the world along with the name and home address and location of the owner. The list of countries whose mobile number details are available for you is provided below:
    Australia, Bangladesh, Canada, China, Ghana, India, Indonesia, Kenya, Malaysia, Nepal, Norway, Nigeria, Philippines, Poland, Pakistan, Singapore, Suudi Arabia, South Africa, Sri Lanka, United Arab Emirates, United Kingdom, United States

    ReplyDelete
  4. ФОФ считается особенно общеизвестным строительным материалом в сфере строительства. Обработанная с одной или нескольких сторон ламинированной пленкой, фанера способна наиболее полно противодействовать пару. Бывает огромное множество типов качественной фанеры, каковой является ламинированная ФОФ https://fanwood.by/shop/dsp-dvp-i-mdf/drevesnostruzhechnaya-plita-dsp-16kh1500kh3500mm.

    ReplyDelete
  5. kliknij tutaj super strona na temat remonty mieszkań pod klucz warszawa

    ReplyDelete
  6. kliknij tutaj najlepsza strona na temat remonty mieszkań pod klucz warszawa

    ReplyDelete
  7. Усиливайте качественные беклинки на ваш ресурс и поднимите трафик, Индекс качества сайта. Разбавьте текущую ссылочную массу, усиливайте ссылки с бирж ссылок, пирамида ссылок, таейр 1. тайер 2, тайер 3. Устойчивые к климату ссылки с трастовых сайтов на ваш интернет ресурс, дешевле чем на биржах и аналогов на рынке беклинков. Официальный сайт - https://seobomba.ru/

    ReplyDelete
  8. wejdź tu to idea które mnie nurtuje

    ReplyDelete
  9. co to jest remontowanie mieszkań super strona internetowa o remonty mieszkań warszawa

    ReplyDelete
  10. IsraFace - еврейские праздники, это еврейский портал, где флиртуют евреи и еврейки и русский еврей из России и США. Загружайте лучшие фото, видосики, подключайтесь в сообщество, открывайте блог, посещайте форум, подбирайте еврейские знакомства.

    ReplyDelete
  11. https://h-plants.ru что нужно для выращивания рассады

    ReplyDelete
  12. Из-за перпендикулярно соединенных волокон водостойкий класс фанеры практически равен по прочности обычной древесине. Во время применения специальной смолы плиты шпона не разбухнут под воздействием солнца и дождя или высокой влажности. Стоимость такого материала фанера 15 мм в основном низкая.

    ReplyDelete
  13. wejdź i sprawdź najlepsza strona www o remonty mieszkań warszawa

    ReplyDelete
  14. sprawdź i wejdź własna strona internetowa proszę sprawdzić

    ReplyDelete
  15. Фанерную плиту влагоупорнуюhttp://jywyu.com/home.php?mod=space&uid=12751&do=profile применяют не только в судостроении. Повседневное применение листов твердого и податливого материала достаточно внушительно. При проектировании мебели или внутренней отделки комнат, для производства неповторимых вещей декора, для покрытия кузовов грузовых машин - вот только неполный список использования общепринятого водостойкого материала.

    ReplyDelete
  16. co to są remonty mieszkań w stolicy najfajniejsza strona internetowa o remonty mieszkań warszawa

    ReplyDelete
  17. Killer Katrin 21 лучших фото cojo.ru

    ReplyDelete
  18. remontowanie z Fachowcami moja strona internetowa proszę sprawdzić

    ReplyDelete
  19. Утесов Леонид 29 фото крутые фото https://cojo.ru/

    ReplyDelete
  20. remonty warszawa co to są remonty to przedmiot jaki mnie nurtuje

    ReplyDelete
  21. remont mieszkania w Warszawie moja strona www zapraszam do sprawdzenia

    ReplyDelete
  22. kiedy robić remont to materia które mnie niepokoi

    ReplyDelete
  23. Рулька свиная запеченная картинки https://cojo.ru/

    ReplyDelete
  24. wykończenie wnętrz najlepsza strona na temat wykończenia wnętrz warszawa

    ReplyDelete
  25. sprawdź własna strona www proszę sprawdzić

    ReplyDelete
  26. tutaj wejdź moja strona internetowa zapraszam do sprawdzenia

    ReplyDelete
  27. remonty mieszkań warszawa wejdź tutaj to kwestia która mnie ciekawi

    ReplyDelete
  28. sprawdź tutaj najfajniejsza strona o remonty mieszkań warszawa

    ReplyDelete
  29. Продукция одноразовые бритвы gillette купить оптом, это отличная идея для начала нового бизнеса. Постоянные распродажи на лезвия джилет фьюжен проглайд. Средства для бритья триммер-лезвие fusion функциональные наборы gillette купить оптом по минимальной стоимости производителя. Спешите купить лезвия gillette mach3, станки для бритья джиллет фьюжен проглайд, а также любой другой продукт серии gillette mach 3 по максимальной выгодой цене!. Хит продаж одноразовые станки gillette venus.

    ReplyDelete
  30. Девушки с книгой в постели cojo.ru

    ReplyDelete
  31. klik tutaj najfajniejsza strona www o wykończenia wnętrz warszawa

    ReplyDelete
  32. wykończenia wnętrz warszawa wejdź to sprawa jaka mnie niepokoi

    ReplyDelete
  33. wykończenia wnętrz w Warszawie super strona na temat wykończenia wnętrz warszawa

    ReplyDelete
  34. Куксенкова Ирина милые картинки https://cojo.ru/znamenitosti/kuksenkova-irina-32-foto/

    ReplyDelete
  35. zobacz super strona o usługi remontowe warszawa

    ReplyDelete
  36. tutaj sprawdź najlepsza strona internetowa na temat usługi remontowe warszawa

    ReplyDelete
  37. wejdź tu moja strona internetowa

    ReplyDelete
  38. zobacz super strona www w temacie usługi remontowe warszawa

    ReplyDelete
  39. usługi remontowe warszawa dlaczego usługi remontowe to materia która mnie nurtuje

    ReplyDelete
  40. wejdź tutaj to materia jakie mnie frapuje

    ReplyDelete
  41. wejdź tu najfajniejsza strona www o usługi remontowe warszawa

    ReplyDelete
  42. usługi remontowe warszawa kliknij tu to zagadnienie jakie mnie ciekawi

    ReplyDelete
  43. remonty mieszkań w stolicy najlepsza strona internetowa na temat remonty mieszkań warszawa

    ReplyDelete
  44. jakie wykończenia wnętrz w Warszawie super strona o wykończenia wnętrz warszawa

    ReplyDelete
  45. wykończenia wnętrz warszawa tutaj kliknij to sprawa jaka mnie nurtuje

    ReplyDelete
  46. Фон для обложки журнала подборка https://cojo.ru/fony/fon-dlya-oblozhki-zhurnala-55-foto/

    ReplyDelete
  47. remonty mieszkań warszawa zobacz tu to materia jaka mnie niepokoi

    ReplyDelete
  48. remonty mieszkań pod klucz warszawa klik tutaj to materia jaka mnie niepokoi

    ReplyDelete
  49. remonty mieszkań pod klucz warszawa kliknij tutaj to materia jaka mnie ciekawi

    ReplyDelete
  50. remonty mieszkań stolica najlepsza strona internetowa na temat remonty mieszkań warszawa

    ReplyDelete
  51. remonty mieszkań warszawa remont to zagadnienie które mnie nurtuje

    ReplyDelete
  52. sprawdź najfajniejsza strona www w temacie remonty mieszkań warszawa

    ReplyDelete
  53. wejdź i sprawdź najfajniejsza strona w temacie remonty mieszkań warszawa

    ReplyDelete
  54. remonty mieszkań warszawa co to jest remont mieszkań w Warszawie to kwestia jaka mnie ciekawi

    ReplyDelete
  55. kompleksowe wykańczanie mieszkania Warszawa najlepsza strona w temacie kompleksowe wykończenia wnętrz warszawa

    ReplyDelete
  56. zobacz tu to materia jakie mnie frapuje

    ReplyDelete
  57. wejdź tutaj to sprawa jakie mnie frapuje

    ReplyDelete
  58. kliknij to materia jakie mnie ciekawi

    ReplyDelete
  59. Hi pal. Let me present myself. I am Joya Otten although it's not the most feminine of names. Because of her household, her spouse and her live in American Samoa but she requires to move. What I love doing is to do interior design and I'm attempting to make it a profession. Debt collecting is what he carries out in his day job and he will not alter it anytime soon. See what's brand-new on my website here: tekken 3 game download

    ReplyDelete
  60. url super strona w temacie gerflor

    ReplyDelete
  61. remonty mieszkań warszawa klik tutaj to przedmiot jaki mnie ciekawi

    ReplyDelete
  62. remonty mieszkań warszawa zobacz tu to materia która mnie ciekawi

    ReplyDelete
  63. Greetings. Let me start by telling you the author's name - Dania but it's not the most feminine name out there. Debt collecting has actually been her profession for a long time and it's something she really delight in. Wisconsin is where he's always been living. The important things he adores most is to design trains however he's been taking on new things recently. You can find my site here: spin the wheel

    ReplyDelete
  64. Размеры груди у женщин милые картинки https://cojo.ru/kartinki/razmery-grudi-u-zhenschin-61-foto/

    ReplyDelete
  65. usługi remontowe warszawa url to przedmiot jaki mnie ciekawi

    ReplyDelete
  66. Коты коричневого цвета милые картинки https://cojo.ru/zhivotnye/koty-korichnevogo-tsveta-59-foto/

    ReplyDelete
  67. Greetings. Let me begin by telling you the author's name - Joline Eoff and she loves it. For a while she's been in California. Because she was 18 she's been working as a workplace supervisor. It's not a typical thing but what she likes doing is mah jongg and now she has time to take on new things. Take a look at his site here: pokemon glazed cheats

    ReplyDelete
  68. Звезды с короткой стрижкой смотреть фото https://cojo.ru/pricheski-i-strizhki/zvezdy-s-korotkoy-strizhkoy-54-foto/

    ReplyDelete
  69. tutaj sprawdź najlepsza strona internetowa o usługi remontowe warszawa

    ReplyDelete
  70. zobacz to temat które mnie nurtuje

    ReplyDelete
  71. Kenton Gioia is the name I enjoy to be called with and I absolutely dig that name. My day task is a client service representative. My other half and I selected to live in Nevada and I do not plan on changing it. She is really keen on playing dominoes and now she is attempting to earn cash with it. Have a look at my site here: rexdl gta sa

    ReplyDelete
  72. remonty co to jest najfajniejsza strona o remonty warszawa

    ReplyDelete
  73. co to jest szalunek ścienny najlepsza strona www w temacie szalunki ścienne sprzedaż

    ReplyDelete
  74. szalunek ścienny sprzedaż najfajniejsza strona o szalunki ścienne sprzedaż

    ReplyDelete
  75. szalunki ścienne sprzedaż kliknij tutaj to przedmiot który mnie nurtuje

    ReplyDelete
  76. szalunki ścienne sprzedaż szalunek ścienny materiały to kwestia jaka mnie trapi

    ReplyDelete
  77. Рэмплинг Шарлотта классные фото https://cojo.ru/znamenitosti/rempling-sharlotta-46-foto/

    ReplyDelete
  78. szalunki ścienne sprzedaż szalunki ścienne używane sprzedam to przedmiot jaki mnie trapi

    ReplyDelete
  79. Let me very first start by presenting myself. My name is Derick Edson. As a male what he truly likes is ice skating but he's believing on starting something brand-new. Mississippi is where her house is. I work as a people manager but soon my hubby and I will start our own organization. See what's brand-new on his website here: pheromone by marilyn miglin eau spray

    ReplyDelete
  80. klik tutaj najfajniejsza strona internetowa o gerflor

    ReplyDelete
  81. gerflor url to zagadnienie jakie mnie trapi

    ReplyDelete
  82. gerflor kliknij tutaj to przedmiot który mnie niepokoi

    ReplyDelete
  83. gerflor url to sprawa która mnie nurtuje

    ReplyDelete
  84. sprawdź tutaj najlepsza strona w temacie gerflor

    ReplyDelete
  85. gerflor tutaj to zagadnienie które mnie trapi

    ReplyDelete
  86. gerflor klik to sprawa która mnie intryguje

    ReplyDelete
  87. Nice to satisfy you, I am Lewis Derose and my partner does not like it in any way. The job she's been occupying for several years is a customer service agent. Among the points he loves most is fish keeping but he's been tackling brand-new points recently. Minnesota is where I've always been living however I will have to relocate in a year or 2. You can constantly discover her site right here: custom furniture for sale

    ReplyDelete
  88. gerflor Gerflor podłoga opis to materia która mnie trapi

    ReplyDelete
  89. gerflor sprawdź tu to kwestia jaka mnie intryguje

    ReplyDelete
  90. Прикольные картинки про Человека-паука https://cojo.ru/kartinki/prikolnye-kartinki-pro-cheloveka-pauka-36-foto/

    ReplyDelete
  91. odbiory mieszkań w Warszawie super strona www w temacie odbiory mieszkań warszawa

    ReplyDelete
  92. odbiory mieszkań warszawa odbiór mieszkania to materia która mnie ciekawi

    ReplyDelete
  93. tutaj super strona www w temacie odbiory mieszkań warszawa

    ReplyDelete
  94. wejdź tutaj to idea jakie mnie ciekawi

    ReplyDelete
  95. Коты коричневого цвета милые фото https://cojo.ru/zhivotnye/koty-korichnevogo-tsveta-59-foto/

    ReplyDelete
  96. obudowy wykopów zobacz to przedmiot który mnie intryguje

    ReplyDelete
  97. obudowy wykopów co to są wykopy obudowy to kwestia jaka mnie intryguje

    ReplyDelete
  98. po co obudowa to temat które mnie niepokoi

    ReplyDelete
  99. Hey there buddy. Let me present myself. I am Tyron. He is presently a resort assistant and he's doing respectable financially. To skate is what I do weekly. For a while she's remained in Utah. Look into the most up to date news on her site: safest place to stay in dominican republic

    ReplyDelete
  100. High Definition Phone Wallpapers WallpapersHigh.com high quality for free https://wallpapershigh.com/high-definition-phone-wallpapers

    ReplyDelete
  101. 3D Stone Wallpapers wallpapershigh.com high definition absolutely free https://wallpapershigh.com/3d-stone

    ReplyDelete
  102. I'm Malcolm. Among the important things he loves most is to fix puzzles but he hasn't made a dime with it. In his professional life he is a database administrator but his promotion never ever comes. For many years I've been residing in Kansas. If you intend to learn even more check out my internet site: szybkie schudniecie z brzucha

    ReplyDelete
  103. Aster Flower Wallpapers WallpapersHigh.com high definition fast and free https://wallpapershigh.com/aster-flower

    ReplyDelete
  104. Ashok Stambh 3D Wallpapers wallpapershigh.com High Quality absolutely free https://wallpapershigh.com/ashok-stambh-3d

    ReplyDelete
  105. Anime Macbook Wallpapers WallpapersHigh.com HIGH QUALITY fast and free https://wallpapershigh.com/anime-macbook

    ReplyDelete
  106. When individuals make use of the complete name, her name is Norman Dehaven and also she really feels comfy. Years ago we relocated to Oklahoma. Her buddies claim it's not good for her but what she enjoys doing is fence and also she'll be starting something else together with it. She functions as a dental practitioner. If you wish to find out more check out my site: dog training pad

    ReplyDelete
  107. 50s Style Wallpapers WallpapersHigh.com HIGH RESOLUTION 100% free https://wallpapershigh.com/50s-style

    ReplyDelete
  108. wejdź tutaj to przedmiot które mnie nurtuje

    ReplyDelete
  109. wykończenie mieszkania super strona internetowa na temat wykończenie mieszkania warszawa

    ReplyDelete
  110. Pleased to meet you! My name is Latrisha Hirth. Playing handball is something that I have actually done for years. Administering data sources is her occupation yet quickly she'll be on her own. New york city is where I have actually constantly been living. You can find my site here: teacher discount best buy apple edirneegitim

    ReplyDelete
  111. Business Wallpapers wallpapershigh.com HIGH RES for free https://wallpapershigh.com/business

    ReplyDelete
  112. co to jest remontowanie mieszkań moja strona internetowa zapraszam do sprawdzenia

    ReplyDelete
  113. remonty mieszkań warszawa url to sprawa jaka mnie trapi

    ReplyDelete
  114. Malia Edmondson is exactly how I'm called although it is not the name on my birth certification. The favored hobby for him as well as his youngsters is caravaning as well as now he has time to tackle new things. Hiring is just how I earn a living however quickly my wife and also I will certainly start our own company. For several years she's been living in Maine and her household likes it. He's not godd at style but you could want to examine his site: https://ferretfriendsrescue.info/the-way-to-choose-an-excellent-pheromone-like-nexus-pheromones/

    ReplyDelete
  115. wykończenie pod klucz warszawa cena sprawdź tutaj to materia która mnie nurtuje

    ReplyDelete
  116. Hi dear visitor. I am Robin Kral. A long time ago I selected to live in Missouri now I'm considering various other choices. Among her preferred hobbies is archaeology and now she is trying to gain money with it. She is presently a dental practitioner. I've been working on my web site for some time currently. Inspect it out below: healthy dinner options for 2 irishjap

    ReplyDelete
  117. wejdź to rzecz jakie mnie trapi

    ReplyDelete
  118. kliknij to myśl jakie mnie niepokoi

    ReplyDelete
  119. wejdź najfajniejsza strona www o remonty mieszkań pod klucz warszawa

    ReplyDelete
  120. The person who created the post is called Jeff Spillman as well as his wife doesn't like it at all. One of the greatest points on the planet for me is kayaking as well as I have actually been doing it for a long time. My house is now in North Dakota but I need to propose my family. Speaking with is where my key revenue originates from. If you desire to discover more check out his website: malejkum

    ReplyDelete
  121. klik to przedmiot które mnie frapuje

    ReplyDelete
  122. wejdź i sprawdź najlepsza strona internetowa o gerflor

    ReplyDelete
  123. wejdź tutaj najlepsza strona www o gerflor

    ReplyDelete
  124. I want to present myself to you, I am Fred. He's constantly liked living in Arizona but he will have to move one day or an additional. The important things I love most ice skating as well as I would certainly never ever offer it up. Scheduling vacations has actually been my occupation for time and I don't believe I'll transform it anytime quickly. She is running and also keeping a blog here: serenada

    ReplyDelete
  125. kliknij tutaj to rzecz jakie mnie ciekawi

    ReplyDelete
  126. tutaj to kwestia jakie mnie nurtuje

    ReplyDelete