Mobile app version of vmapp.org
Login or Join
Vandalay110

: Is monospacing URLs in academic papers still advised? When papers are written in the academic world, URLs are often set in monospace. The reason for this seems to be historic and is described

@Vandalay110

Posted in: #Fonts #Monospace #Typesetting #Typography

When papers are written in the academic world, URLs are often set in monospace.
The reason for this seems to be historic and is described in this Q&A at TexSE.
It may be summarized as a leftover from when URLs were uncommon.
They were perceived as some form of computer code, which used to be printed in monospace.

Using a monospace font is not pleasing to the eye, particularly when used in combination with a proportional font.
This is the case even when proportional and unproportional fonts of the same typeface are combined (here: Linux Libertine and Linux Libertine Mono).



So the question is: should monospacing URLs still be the de facto standard, or should another method be favoured, or should highlighting URLs be disadvised in general?

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay110

5 Comments

Sorted by latest first Latest Oldest Best

 

@Heady304

A few further points:


Many monospaced fonts have good character differentiation. Compare 1Il and 1Il.
In a pdf (you're talking about academic papers so this is a likely format) being read on screen, the font indicates that the text might be a clickable link. That's why it's often used for DOIs as well. In fact it's common to have


(i.e. only the unique identifier monospaced; the label here is in small caps). DOIs are even trickier than URLs as they have a wider range of allowed characters, such as spaces and percent signs.


It's all about context.


If you're producing a poster/brochure the user will read and retype the address. So clarity comes first, good aesthetics a close second.
If it's a website, your users will assume anything that looks like a URL is clickable.
If it's a thesis/paper, help your reader. A displayed URL is good for both screen and print readers (but takes up space). Some journals colour the paper title blue in the references of a downloaded pdf when that's a clickable link. This helps a reader on screen, but following up a reference on a paper copy is often slower than retyping a reasonable URL.

10% popularity Vote Up Vote Down


 

@Harper654

should monospacing URLs still be the de facto standard?


No. It adds a level of mess to academic writing.

Having read a ridiculous amount of academic papers, I can say this: the most annoying thing is inconsistency. Personally, I would nuke the stupid idea of a monospace url, but if you for some reason want to, then you have to be supersuper alert that you are consistent.

Consider also automatic citation and reference systems: do you want to go to the hassle of setting Zotero/Endnote up to format your urls, and will this catch all of them? You would be surprised at how often things go a little haywire.

If you copy-paste citations and references, you will hate this.


should another method be favoured, or should highlighting URLs be
disadvised in general?


Up to you – my personal opinion is that it is utterly unnecessary to highlight urls unless they are actually clickable.

10% popularity Vote Up Vote Down


 

@Berryessa866

URLs are not regular text


Using a monospace font is not pleasing to the eye, […]


Yes, but then reading URLs isn’t very pleasing anyway. So, think about for a second why you typeset a URL anyway. Nowadays, you often do not need to do this at all, because in almost any digital medium you can equip some human-readable text with a hyperlink, which is more comfortable for everybody involved. If you actually need to typeset an URL, it is usually for a printed medium and then it’s not for being read like regular text, but for being translated to digital information, usually by a reading and typing human, sometimes by an OCR software.

With this in mind, the criteria for typesetting URLs are a bit different than for normal text. Regular text contains a lot of redundancy that enables us to quickly read it – even if we get some detail wrong, our brain can easily auto-correct it. This doesn’t apply for URLs: The reader has to get every character right. As always, with readability, concern is not that the reader makes unfixable mistakes, but rather that they do not waste a few seconds re-reading to locate their mistake and that they are not annoyed.

Another relevant consideration when typesetting URLs is that some characters are used differently than in normal text and thus fonts designed for normal texts are usually suboptimal when applied as they are.
For example, the baseline dot (.) is usually used to mark an important separation in both, normal texts and URLs.
When used as a full stop in normal texts, it is followed by a space, which optically supports this function.
This does not apply to URLs and in particular kerning may lead to the dot being much less prominent than it deserves to be.
In another example, uppercase characters are much less common in URLs.

Example




If you look at the top example, the first thing that will probably catch your eye is the all-caps 47ATX, which is bad as it is not particularly important and if you want to type that URL, you usually want to start at the beginning.
This problem is at least alleviated on the bottom due to capital letters being relatively smaller in height as well as in width.
The main structure of the URL is much easier to parse in the bottom example as the dots, hyphen, and slashes are given more space, in terms of glyph width and kerning.
The m is not particular beautiful in the bottom example: It looks rather squeezed and the shortened middle stem is out of place. However, it is clearly an m and cannot be mistaken for rn. While this is a problem for every kind of text, misreading such an aspects is considerably more annoying with URLs as you won’t notice it instantly but have to go back and spot your mistake after you got a 404 error or landed on a porn site.


What does all of this have to do with monospacing?

While none of the above aspects is strictly tied to a font being proportional or monospace, your average monospace typeface is better suited for typesetting URLs than your average proportional typeface.
However, if you are aware of the disadvantages of regular proportional fonts, you can also address most of them without changing the font, in particular by adapting the spacing.

So, at the end of the day, you have to find a compromise considering the following factors:


How well does your monospace font match the regular font?
How many URLs do you have to typeset?
How long and complicated are your URLs? For example, example.com is more benign in terms of readability with a regular font than the above example.
How much time and effort do you want to invest?

10% popularity Vote Up Vote Down


 

@Samaraweera207

Since, as you have said, you have no single style guide, and have the freedom to choose, then I can't see the need for an ugly monospace font myself. However, that's only a personal opinion. You are correct that whatever you choose should be used consistently

If you want to highlight a web link in some way, there are other options such as italics, or different colours.

I also think that the use of "http://" before a web link is not really necessary these days.

10% popularity Vote Up Vote Down


 

@Shanna688

I think this is no longer a standard. Up to the desiger to, or not to, highlight these. Personally i would definitely highlight URLs, either by using a monospaced font, or by changing the color of the actual links or even adding a small share icon in front of urls in body text.

Then, make sure you export to PDF with hyperlinks included so they are actually clickable when viewed in Acrobat.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme