Does anyone know how to use the hyphenat package in pdflatex to create an automatic hyphenation rule whereby forwards slashes may be used to break words over lines, or as hyphenation points? I've read the documentation for the hyphenat package, but I can't seem to find a way to create a global rule.
Ideally, I'd like to be able to allow line breaks for words with forward slashes in, e.g. to change
Lisinopril/Hydrochlorothiazide
to
Lisinopril/
Hydrochlorothiazide
This is just one example of this. I have many drug class combinations like the above in tables in my appendices, and I need some automated way to prevent line overflows.



\slashinstead of/– David Carlisle Apr 03 '19 at 10:38{\bbl@allowhyphens\discretionary{/}{}{/}\bbl@allowhyphens}{}}, this means under danish babel I can use"/to enable line breaking at a/, you might be able to adapt this to what ever language you are using. (note that under danish babel,"is an active char) – daleif Apr 03 '19 at 10:41