texinfo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

span.roman -> font-family:initial or :inherit?


From: Karl Berry
Subject: span.roman -> font-family:initial or :inherit?
Date: Mon, 4 Jan 2016 16:27:57 GMT

@r translates to
span.roman {font-family:serif; font-weight:normal} 

as in @r{hello} becoming
  <span class="roman">hello</span>

It seems like would be better as font-family:inherit.
In the typical use of

@example
some code; @r{some comment}
@end example

The @r really means "go back to the main font", rather than specifically
"use a seriffed font".  It happens that the main font in TeX is
seriffed, which is why Chassell made the command name be @r, but that's
not so in HTML.

On the other hand, the font-family:serif in the above doesn't actually
switch to the serif font in my browser (seamonkey), so maybe it's all
pointless to worry about.

K



reply via email to

[Prev in Thread] Current Thread [Next in Thread]