meluso / UMich_Dissertation_Template

University of Michigan Rackham Graduate School Dissertation Template (unofficial)
https://www.overleaf.com/latex/templates/university-of-michigan-dissertation-and-thesis-template-unofficial/tpnjzndnrzmf
Creative Commons Zero v1.0 Universal
44 stars 16 forks source link

[BUG] Links should be underlined #15

Closed bryant1410 closed 4 months ago

bryant1410 commented 4 months ago

Describe the bug

According to the formatting guidelines, hyperlink text should be underlined. At least they are not produced for me when I use this template.

To Reproduce Steps to reproduce the behavior:

Try using this in the template and compiling:

\url{https://github.com}

Expected behavior For it to be blue and underlined, but it's just blue instead.

meluso commented 4 months ago

Thanks Bryant. This appears to be a new version of the formatting guidelines (in the past 6 months or so), so it's possible we may run into a few issues as we reconcile with it. I'm looking into this and will resolve the issue ASAP.

bryant1410 commented 4 months ago

BTW, I tried for like an hour to fix it myself but failed to do so.

meluso commented 4 months ago

Sorry to hear that Santiago! This looks like a tricky change unfortunately because Rackham wants hyperlinks to websites underlined but not table of contents items underlined. I'll figure something out. What kind of time frame are you working with? I know dissertation timelines can be tight.

bryant1410 commented 4 months ago

Thanks for doing this John!! I'll defend on June 3rd, then I guess I'll submit my final version of my thesis by like June 22nd.

Still, I feel like Rackham's not gonna care about this?

meluso commented 4 months ago

I'm not sure! They're pretty inconsistent tbh with the really detailed guidelines like this, so sometimes they care and sometimes they don't. I've been maintaining this thing for...5 years now and you're the first to mention it, so they haven't cared yet! 😆

If they didn't catch it in your pre-defense review (>3 weeks before defense), we have some time.

bryant1410 commented 4 months ago

Thanks for maintaining this repo!!

meluso commented 4 months ago

UMich_Dissertation_Template__Test_Copy.pdf

Does this look correct? Blue and underlined everywhere but in the tables of contents? (I can't get more "Word-like" underlining unfortunately, but this is close and probably sufficient)

bryant1410 commented 4 months ago

I see it from Ubuntu's Document Viewer but not from Google Chrome 🤔. Before I was only testing with the latter, maybe that's why I didn't get it to work.

I actually found online that it could happen with some PDF viewers.

meluso commented 4 months ago

Hmm, I see. So that tells us that the hyperref-only solutions won't work because it allows two types of url links: boxes and colors. As you pointed out, the boxes don't appear on all PDF viewers. I can see the boxes on Firefox and Adobe, but confirmed that neither Chrome nor Edge will display the boxes (which is the solution I linked you to in that PDF...essentially only coloring the bottom edge of the box).

I'm going to try a couple other options, but in the meantime, let's make sure you're set with your dissertation. How many URLs do you have in your document? The short-term work around is opening these in Adobe Acrobat Pro and reforming URLs to underlined font directly there. If you're already past the pre-review, you're set for a while. But it seems this is a new accessibility effort from the formatting guidelines so I'll have to fix it eventually either way.

meluso commented 4 months ago

@bryant1410, I found a package that does what we want! Look okay? (see pages x, 2, & 9) Confirmed on Firefox, Adobe, Edge, & Chrome.

UMich_Dissertation_Template__TestCopy(4).pdf

bryant1410 commented 4 months ago

Yeah, that looks awesome! Thanks!