What best combination of fonts for Serif, Sans, and Mono do you recommend?
Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing Serif, Sans Serif, and Monospace.
For example, I know that Kieran Healy uses a nice combination of Minion Pro, Myriad Pro, and Pragmata (a LaTeX template is available at kjh-vita). Likewise, according to the American Association of University Presses, Minion, ITC New Baskerville and FF Scala & 4. FF Scala Sans are the top three best fonts, but see
Top Typefaces Used by Book Design Winners. I have been playing myself with Apple Garamond, Fontin Sans and Menlo (Apple default monospaced font shipped with OS X 10.6), because all are available with any combination of itshape
and bfseries
(as described in The XeTeX Companion).
So my question is just: What would you recommend as pretty looking and freely available fonts for typesetting a TeX or LaTeX document? Ideally, this should allow to use mathematical expressions as well. (one response per post please)
fonts xetex typography
|
show 5 more comments
Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing Serif, Sans Serif, and Monospace.
For example, I know that Kieran Healy uses a nice combination of Minion Pro, Myriad Pro, and Pragmata (a LaTeX template is available at kjh-vita). Likewise, according to the American Association of University Presses, Minion, ITC New Baskerville and FF Scala & 4. FF Scala Sans are the top three best fonts, but see
Top Typefaces Used by Book Design Winners. I have been playing myself with Apple Garamond, Fontin Sans and Menlo (Apple default monospaced font shipped with OS X 10.6), because all are available with any combination of itshape
and bfseries
(as described in The XeTeX Companion).
So my question is just: What would you recommend as pretty looking and freely available fonts for typesetting a TeX or LaTeX document? Ideally, this should allow to use mathematical expressions as well. (one response per post please)
fonts xetex typography
Unfortunately, most of the fonts you mentioned are kind of expensive and don’t ship with typical software. For example, while Baskerville is available on a lot of systems, ITC New Baskerville is not, and is substantially better. Among others, Baskerville is missing small caps and lining figures.
– Konrad Rudolph
Jan 23 '11 at 11:11
@Konrad Ah, but except for ITC Baskerville, Pragmata (might be replaced by Inconsolata), and fonts shipped with Apple OSs, other fonts are circulating on font-dedicated websites, aren't they? Anyway, the idea is just to see if anyone has experienced a good rendering with any three kind of font families, on any platform (I'm on a Mac, but it doesn't matter so much).
– chl
Jan 23 '11 at 11:56
@chl: what do you mean by “circulate on font-dedicated websites”? Not for free, surely (at least, not legally). For example, the whole Minion Pro font pack sells for $800 at Paratype.com, and FF Scala costs €490,00 at Fontshop.com.
– Konrad Rudolph
Jan 23 '11 at 13:26
5
@Konrad, chl: there is also the Minion/Myriad Pro that comes with Adobe Reader. It seems to support many of the features of the pro versions (but no optical sizes), and there is also a professional math font based on Minion Pro (unfortunately without OpenType math support yet).
– Philipp
Jan 23 '11 at 21:54
2
@Konrad: Look into the directoryAdobe Reader.app/Contents/Resources/Resource/Font
or similar (or search theAdobe Reader.app
directory for*.otf
files). You have to add the fonts manually to Font Book to use them, but the font files are there and usable.
– Philipp
Jan 24 '11 at 13:21
|
show 5 more comments
Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing Serif, Sans Serif, and Monospace.
For example, I know that Kieran Healy uses a nice combination of Minion Pro, Myriad Pro, and Pragmata (a LaTeX template is available at kjh-vita). Likewise, according to the American Association of University Presses, Minion, ITC New Baskerville and FF Scala & 4. FF Scala Sans are the top three best fonts, but see
Top Typefaces Used by Book Design Winners. I have been playing myself with Apple Garamond, Fontin Sans and Menlo (Apple default monospaced font shipped with OS X 10.6), because all are available with any combination of itshape
and bfseries
(as described in The XeTeX Companion).
So my question is just: What would you recommend as pretty looking and freely available fonts for typesetting a TeX or LaTeX document? Ideally, this should allow to use mathematical expressions as well. (one response per post please)
fonts xetex typography
Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing Serif, Sans Serif, and Monospace.
For example, I know that Kieran Healy uses a nice combination of Minion Pro, Myriad Pro, and Pragmata (a LaTeX template is available at kjh-vita). Likewise, according to the American Association of University Presses, Minion, ITC New Baskerville and FF Scala & 4. FF Scala Sans are the top three best fonts, but see
Top Typefaces Used by Book Design Winners. I have been playing myself with Apple Garamond, Fontin Sans and Menlo (Apple default monospaced font shipped with OS X 10.6), because all are available with any combination of itshape
and bfseries
(as described in The XeTeX Companion).
So my question is just: What would you recommend as pretty looking and freely available fonts for typesetting a TeX or LaTeX document? Ideally, this should allow to use mathematical expressions as well. (one response per post please)
fonts xetex typography
fonts xetex typography
edited Jan 23 '11 at 11:08
community wiki
3 revs, 2 users 91%
chl
Unfortunately, most of the fonts you mentioned are kind of expensive and don’t ship with typical software. For example, while Baskerville is available on a lot of systems, ITC New Baskerville is not, and is substantially better. Among others, Baskerville is missing small caps and lining figures.
– Konrad Rudolph
Jan 23 '11 at 11:11
@Konrad Ah, but except for ITC Baskerville, Pragmata (might be replaced by Inconsolata), and fonts shipped with Apple OSs, other fonts are circulating on font-dedicated websites, aren't they? Anyway, the idea is just to see if anyone has experienced a good rendering with any three kind of font families, on any platform (I'm on a Mac, but it doesn't matter so much).
– chl
Jan 23 '11 at 11:56
@chl: what do you mean by “circulate on font-dedicated websites”? Not for free, surely (at least, not legally). For example, the whole Minion Pro font pack sells for $800 at Paratype.com, and FF Scala costs €490,00 at Fontshop.com.
– Konrad Rudolph
Jan 23 '11 at 13:26
5
@Konrad, chl: there is also the Minion/Myriad Pro that comes with Adobe Reader. It seems to support many of the features of the pro versions (but no optical sizes), and there is also a professional math font based on Minion Pro (unfortunately without OpenType math support yet).
– Philipp
Jan 23 '11 at 21:54
2
@Konrad: Look into the directoryAdobe Reader.app/Contents/Resources/Resource/Font
or similar (or search theAdobe Reader.app
directory for*.otf
files). You have to add the fonts manually to Font Book to use them, but the font files are there and usable.
– Philipp
Jan 24 '11 at 13:21
|
show 5 more comments
Unfortunately, most of the fonts you mentioned are kind of expensive and don’t ship with typical software. For example, while Baskerville is available on a lot of systems, ITC New Baskerville is not, and is substantially better. Among others, Baskerville is missing small caps and lining figures.
– Konrad Rudolph
Jan 23 '11 at 11:11
@Konrad Ah, but except for ITC Baskerville, Pragmata (might be replaced by Inconsolata), and fonts shipped with Apple OSs, other fonts are circulating on font-dedicated websites, aren't they? Anyway, the idea is just to see if anyone has experienced a good rendering with any three kind of font families, on any platform (I'm on a Mac, but it doesn't matter so much).
– chl
Jan 23 '11 at 11:56
@chl: what do you mean by “circulate on font-dedicated websites”? Not for free, surely (at least, not legally). For example, the whole Minion Pro font pack sells for $800 at Paratype.com, and FF Scala costs €490,00 at Fontshop.com.
– Konrad Rudolph
Jan 23 '11 at 13:26
5
@Konrad, chl: there is also the Minion/Myriad Pro that comes with Adobe Reader. It seems to support many of the features of the pro versions (but no optical sizes), and there is also a professional math font based on Minion Pro (unfortunately without OpenType math support yet).
– Philipp
Jan 23 '11 at 21:54
2
@Konrad: Look into the directoryAdobe Reader.app/Contents/Resources/Resource/Font
or similar (or search theAdobe Reader.app
directory for*.otf
files). You have to add the fonts manually to Font Book to use them, but the font files are there and usable.
– Philipp
Jan 24 '11 at 13:21
Unfortunately, most of the fonts you mentioned are kind of expensive and don’t ship with typical software. For example, while Baskerville is available on a lot of systems, ITC New Baskerville is not, and is substantially better. Among others, Baskerville is missing small caps and lining figures.
– Konrad Rudolph
Jan 23 '11 at 11:11
Unfortunately, most of the fonts you mentioned are kind of expensive and don’t ship with typical software. For example, while Baskerville is available on a lot of systems, ITC New Baskerville is not, and is substantially better. Among others, Baskerville is missing small caps and lining figures.
– Konrad Rudolph
Jan 23 '11 at 11:11
@Konrad Ah, but except for ITC Baskerville, Pragmata (might be replaced by Inconsolata), and fonts shipped with Apple OSs, other fonts are circulating on font-dedicated websites, aren't they? Anyway, the idea is just to see if anyone has experienced a good rendering with any three kind of font families, on any platform (I'm on a Mac, but it doesn't matter so much).
– chl
Jan 23 '11 at 11:56
@Konrad Ah, but except for ITC Baskerville, Pragmata (might be replaced by Inconsolata), and fonts shipped with Apple OSs, other fonts are circulating on font-dedicated websites, aren't they? Anyway, the idea is just to see if anyone has experienced a good rendering with any three kind of font families, on any platform (I'm on a Mac, but it doesn't matter so much).
– chl
Jan 23 '11 at 11:56
@chl: what do you mean by “circulate on font-dedicated websites”? Not for free, surely (at least, not legally). For example, the whole Minion Pro font pack sells for $800 at Paratype.com, and FF Scala costs €490,00 at Fontshop.com.
– Konrad Rudolph
Jan 23 '11 at 13:26
@chl: what do you mean by “circulate on font-dedicated websites”? Not for free, surely (at least, not legally). For example, the whole Minion Pro font pack sells for $800 at Paratype.com, and FF Scala costs €490,00 at Fontshop.com.
– Konrad Rudolph
Jan 23 '11 at 13:26
5
5
@Konrad, chl: there is also the Minion/Myriad Pro that comes with Adobe Reader. It seems to support many of the features of the pro versions (but no optical sizes), and there is also a professional math font based on Minion Pro (unfortunately without OpenType math support yet).
– Philipp
Jan 23 '11 at 21:54
@Konrad, chl: there is also the Minion/Myriad Pro that comes with Adobe Reader. It seems to support many of the features of the pro versions (but no optical sizes), and there is also a professional math font based on Minion Pro (unfortunately without OpenType math support yet).
– Philipp
Jan 23 '11 at 21:54
2
2
@Konrad: Look into the directory
Adobe Reader.app/Contents/Resources/Resource/Font
or similar (or search the Adobe Reader.app
directory for *.otf
files). You have to add the fonts manually to Font Book to use them, but the font files are there and usable.– Philipp
Jan 24 '11 at 13:21
@Konrad: Look into the directory
Adobe Reader.app/Contents/Resources/Resource/Font
or similar (or search the Adobe Reader.app
directory for *.otf
files). You have to add the fonts manually to Font Book to use them, but the font files are there and usable.– Philipp
Jan 24 '11 at 13:21
|
show 5 more comments
15 Answers
15
active
oldest
votes
I prefer a combination of Linux Libertine for serif, Inconsolata for monospace and Calibri or Linux Biolinum for sans serif. Linux Libertine is burgeoning and has nice ligatures, swashes and all that, including a rather pleasing swashed capital Q. Prior to Libertine, I favoured Cambria for serif, considering it unusual but professional, but eventually decided that its serifs were far too heavy. I also considered Cambria unsuitable from the outset as a maths font, to the point that back when I used Word 2007 I fell back on Microsoft Equation Editor 3.0 (i.e. the equation object available in Office) rather than the built-in equation editor. I'm not sure what font it uses but at the time I considered it nicer than maths set in CM.
Both Inconsolata and Consolas are top-notch monospace fonts.
(+1) Excellent! Thanks for sharing your experience. (btw, I just found this post from J. Atwood on Consolas and ClearType).
– chl
Jan 24 '11 at 9:30
@chl: That's very interesting - I am intrigued that Consolas seems to require subpixel smoothing to look even passable (Look at those glyphs in direct contact in IterationsNumericUpDown.Text!). Obviously this is moot for the printed word and for the majority of PDF viewers, however I know some people simply cannot handle ClearType and that would seem a deal-breaker.
– Richard Terrett
Jan 24 '11 at 9:41
Consolas was specifically designed for Clear Type. As for the fact that “some people simply cannot handle ClearType”, this suggests that their system is badly configured. I’m not sure if Windows 7 still requires careful calibration but under Windows XP at least that was very beneficial (required downloading an extra calibration software from Microsoft, IIRC).
– Konrad Rudolph
Jan 24 '11 at 11:54
@Konrad Rudolph - Apologies, I was unclear: what I meant is that I have encountered some people who do not like ClearType at all (and by extension, potentially other subpixel smoothing codes). As such they would have to contend with the bad spacing and aliasing on Consolas, where its optimisation for ClearType would surely be cold comfort.
– Richard Terrett
Jan 24 '11 at 12:16
Unfortunately, thelibertine
package doesn't have proper italic correction...
– Seamus
Aug 14 '11 at 12:04
add a comment |
Palatino, Bera, and AMS Euler
I have really been enjoying AMS Euler as a math font lately. If you need completely free fonts, then I think that Palatino + Euler + Bera Serif/Sans/Mono for code, etc. is a pretty workable combination. (This is essentially the default combination used by the ClassicThesis package.) Both Palatino and Euler were designed by Hermann Zapf and work quite well together.
This combination can be used in almost any LaTeX installation, making it a viable combination for the arXiv for example. One must be a little careful to scale the Bera to match the x-height of the Palatino though, or it looks quite strange, but once this is adjusted, the combination looks quite reasonable. (Palatino Sans would probably be the best match, but is not "free".)
documentclass{scrreprt}
usepackage[scaled=0.88]{beraserif}
usepackage[scaled=0.85]{berasans}
usepackage[scaled=0.84]{beramono}
usepackage{classicthesis}
usepackage[T1]{fontenc}
usepackage{mathpazo}
linespread{1.05}
usepackage[T1,small,euler-digits]{eulervm}
newenvironment{note}[1][Note:]{%
parvspace{0.5baselineskip}%
sffamilysmalllinespread{1.05}selectfont
noindentignorespaces%
#1
}{%
vspace{0.5baselineskip}%
parnoindentignorespacesafterend%
}
usepackage{listings}
lstset{basicstyle=ttfamily,breaklines=true}
setkomafont{disposition}{}
setkomafont{section}{}
titleformat{section}
{usekomafont{disposition}usekomafont{section}}
{llap{textsc{MakeTextLowercase{thesection}}hspace{0.7em}}}
{0pt}
{usekomafont{disposition}usekomafont{section}spacedlowsmallcaps}
newcommand{I}{mathrm{i}}
begin{document}
chapter{Introduction}
section{Palatino and Bera with Euler}
This style use Palatino for a body font, with $AMS Euler$ font for math: $y =
sin(x)$:
begin{equation}
y = int_0^xcos(x),mathrm{d}{x} = frac{e^{I x} - e^{-I x}}{2I}
end{equation}
Both fonts were designed by Hermann Zapf and work quite well together
as long as you use the small characters --
lstinline|usepackage[small,euler-digits]{eulervm}|. Code listings, etc. can
be typeset with texttt{Bera Mono} to give it a slightly different feel. Again:
you must be careful to scale this appropriately --
lstinline|usepackage[scaled=0.88]{beraserif}| and
lstinline|usepackage[scaled=0.85]{berasans}|, and
lstinline|usepackage[scaled=0.84]{beramono}|.
begin{note}
I sometimes use Bera Sans for extended admonitions like this one so that they
can quickly be separated from the text.
end{note}
end{document}
1
(+1) Great! I tend to use Inconsolata when typesetting code snippet, but the Bera font looks nice with Palatino once it is x-scaled.
– chl
May 14 '13 at 10:02
@chl Inconsolata works quite will too if scaled slightlyusepackage[scaled=1.03]{inconsolata}
.
– mforbes
May 14 '13 at 20:41
1
(+1) For the code with your answer !
– Colas
Oct 12 '13 at 9:05
add a comment |
The Google Font Directory is worth browsing. It’s targeted at web authors but many (all? didn’t check) of the fonts found there are published under SIL license and thus can be used in other projects as well.
One font (also found there) that I really like is Vollkorn which has a nice, rounded, distinctive look that is still very readable.
(+1) Thanks. This is really useful, and this font looks splendid!
– chl
Jan 23 '11 at 17:24
1
+1 I agree Vollkorn is one of the top free (as in free speech) fonts, probably at least on par with Libertine.
– Philipp
Jan 24 '11 at 13:19
@Philipp: if it only weren’t missing small caps (planned but not yet released). Unfortunately, I use them for abbreviations in my thesis. :-(
– Konrad Rudolph
Jan 24 '11 at 14:47
The link is now dead. It should be google.com/fonts .
– chryss
May 13 '13 at 14:51
Ouh yeah. Vollkorn is one of my favourite Fonts.
– Ronny
May 14 '13 at 5:31
|
show 1 more comment
My university recommends the Microsoft family: Cambria for serif, Calibri for sans, Cambria Math for math, and Consolas for monospace. They all came with my Mac. I'm not sure that the university's recommendation is the most informed one, but those are designed to go together.
To see these in a sample document, insert the following into your preamble
usepackage{fontspec}
setmainfont{Cambria}
setsansfont{Calibri}
setmathrm{Cambria Math}
setmonofont{Consolas}
(and use XeTeX.)
1
+1 Although I'm clearly not the best supporter for MS products, I assume there're some reasons for such a combination. I guess they came with Microsoft Office? Does a LaTeX document processed throughxelatex
(e.g.,sample2e.tex
) look cool or not?
– chl
Jan 23 '11 at 19:53
4
Cambria is the only professional font to have a matching math family (Cambria Math) that can be used for OpenType math typesetting. So this recommendation is definitely reasonable. The new (C…) Microsoft fonts are generally hailed as being well-designed and readable on both screen and paper. In fact, I plan to use that exact combination for my thesis, and I've written a small (unsupported and unreleased) package to automatically select the fonts and enable micro-typography.
– Philipp
Jan 23 '11 at 21:51
3
@chl: I don't know if cool is the right word but it is pretty. And you're probably right that they came with Office rather than with the Mac.
– Matthew Leingang
Jan 24 '11 at 0:54
3
+1 for also telling how to actually change to use the fonts.
– morbusg
Jan 24 '11 at 10:42
1
Well, Cambria is not the only OpenTypeMath font - what about Latin Modern Math?
– mbork
Dec 23 '11 at 9:07
|
show 3 more comments
I'm strictly an amateur in this department ... If you don't want to buy PragmataPro (which I love, and for me was worth buying because I use it as my default text-editing font), Bera Mono is also quite nice and it comes with texlive. Consolas/Inconsolata is great as well, as you say. Myriad Pro used to come bundled with Adobe Reader (I'm not sure about the current version). For body text, Charis SIL is a good, free descendant of Bitstream Charter. Super-complete sets from big foundries are indeed often extremely pricey, but there's also a market segment -- something like, e.g., Calluna -- where the fonts are more reasonably priced and work very well if your document is not extremely complicated in its structure. As you say, though, if you want to typeset any amount of math your choices narrow down quickly.
Incidentally, I had wanted to add this as a comment rather than an answer, as I'm not sure it's really an answer, but couldn't see how to do that. Do only mods and the original author get to comment on questions in this way?
– Kieran
Jan 23 '11 at 14:16
No, but you need a minimum of 50 reputation for comments (see the FAQ).
– lockstep
Jan 23 '11 at 14:21
(+1) Thanks for your extended comment, anyway. This is helpful. Yes, I'm afraid that when it comes to typesetting math choices are very limited.
– chl
Jan 23 '11 at 16:03
Calluna and Euler seem to work quite well together. I have been using Calluna Sans with Calluna for titles and Euler for math in presentations.
– mforbes
May 14 '13 at 4:33
add a comment |
Minion and Myriad always come with Acrobat Reader, for free, and can be downloaded as a font pack for Linux or found at C:Program Files (x86)AdobeReader 10.0ResourceFont
or some similar directory structure on Windows.
If you ever install other Adobe products, even as a trial, you might have even more choices.
Are you sure you're absolutely free to use them for any purpose? This software does come with a bunch of licenses, even though it doesn't cost any money. If you're talking about these fonts already, you should probably also mention Courier, which is in the same directory.
– doncherry
Sep 14 '12 at 4:22
I think you can use the fonts that come with Acrobat Reader for any purpose (but not modify the fonts themselves). See: typophile.com/node/14079 or the Reader EULA.
– Joseph
Sep 14 '12 at 23:43
brilliant! How many people knew this?
– enthdegree
Sep 24 '12 at 3:11
I believe this is no longer true. But you can presumably use versions which came with earlier EULAs. (Not sure about any of this.)
– cfr
May 30 '16 at 3:40
add a comment |
Here is the combination I'm using for my thesis:
- Serif: TeX Gyre Pagella
- Math: TeX Gyre Pagella Math
- Sans: URW Classico
- Greek Sans: Segoe UI
- Monospace: Lucida Sans Typewriter
Since I wanted to have the same font (family) for math and running text, I chose Pagella as
the main font from the little list of choice. URW Classico is a Optima clone and can be downloaded for free in some URW bundles. It fits very well to Palatino (clones). Infact it works too well in the running text, hence you cannot use it as emphasis. But I only used it for the chapter title and the figure text. In the figures I also needed sometimes greek letters. The URW Classico has only two or three of them and they look really ugly. Therefor I used Segoe UI for the greek sans alphabet.
I took Lucida Sans Typewriter, because it has the typewriter character some monospace fonts are missing. On the other hand it does not look too thin and wide as Courier New in my eyes.
Example code:
% !TeX program=xelatex
% !TeX encoding=UTF-8
documentclass[a5paper, 10pt]{scrartcl}
usepackage[english]{babel}
usepackage{amsmath}
%%%%%
% Font
%
usepackage{unicode-math}
%
% Roman
%
setmainfont[Ligatures=TeX, Numbers=OldStyle,
SmallCapsFeatures={LetterSpace=10, WordSpace={1.5}}]{TeX Gyre Pagella}
%
% Math
%
setmathfont[math-style=ISO, bold-style=ISO]{TeX Gyre Pagella Math}
% put limits over the integral
removenolimits{int}
% cramped style for inline math
% (only works with lualatex)
%everymath{crampedtextstyle}
%
% Sans
%
setsansfont[Scale=MatchLowercase,Ligatures=TeX]{URWClassico}
%
% Monospace
%
setmonofont[Scale=MatchLowercase]{Lucida Sans Typewriter}
% used for tables
defliningnumbers{addfontfeature{Numbers=Lining}}
%
% Sans mu and Omega
%
newfontfamilymufont[Scale=MatchLowercase]{Segoe UI}
defsansmu{{mufont µ}}
defsansOmega{{mufont Ω}}
usepackage{microtype}
usepackage{url}
begin{document}
section{Introduction}
Here is some random text that should present the font combination
of TeX{} Gyre Pagella for the running text, TeX{} Gyre Pagella Math for
math, URW Classico for sans text and Lucida Sans Typewriter. Here is a
small math example:
begin{equation}
int_{0}^{infty} mathup{e}^{-frac12 t^2}operatorname{d}! t = sqrt{frac{pi}{2}}text{.}
end{equation}
Next, we take a look on some textsf{sans words}. As you can see, the sans font fits very well, too well if you want to use it to emphasize text.
And finally a small example for the mono spaced font:
url{someone@stackexchange.com} is an email address. Probably no one will answer.
end{document}
I think it is nice except the sans font. The size and the weight doesn't match the serif.
– percusse
Jan 25 '15 at 23:05
@percusse, I do not use the sans font in the running text. And as a display font or for the figures it really works well.
– quinmars
Jan 25 '15 at 23:22
add a comment |
There's a nice, well-thought-out, apposite link here, though it doesn't adhere to the serif, sans, mono schema: http://laymanslayout.wordpress.com/freefacing/
Edit: After several hours of searching, I think Linux Libertine and Linux Biolinum is the safest, most convenient combination for Linux users. They look good together, and you get ligatures, small caps, etc. I tried to find something that would work well with LidoSTF, and Cabin almost fit the bill, but something seemed off. In any case, Libertine has more features than Lido, and is GPL.
add a comment |
I like Courier (note: not Courier New!) for mono, Marion for roman, and Cambria Math for math. They are a bit different weight, but scaling to x-height helps. Unfortunately, it should be mentioned, Marion lacks smallcaps.
documentclass[11pt]{article}
usepackage[fleqn]{amsmath}
usepackage{fancyvrb}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{Marion}
setmathfont[Scale=MatchLowercase]{Cambria Math}
setmonofont[Scale=MatchLowercase]{Courier}
setlength{textwidth}{24pc}
setlength{parindent}{1em}
fvset{xleftmargin=2parindent}
begin{document}
noindent
A number $n>1$ is prime if it cannot be written as a product of two integers $a$ and~$b$, both of which are larger than~$1$: [
n = a cdot b.
]
Here, have a verb|primes| stream:
begin{Verbatim}
(define (sieve s)
(cons-stream
(head s)
(sieve (filter
(lambda (x)
(not
(divisible? x (head s))))
(tail s)))))
(define primes
(sieve (integers-from 2)))
end{Verbatim}
end{document}
It looks like this:
(+1) Thanks, I didn't know about Marion font.
– chl
May 14 '13 at 9:58
2
Oh snap, theve
kerning is pretty horrendous on Marion, I can't believe I didn't notice it when posting this!
– morbusg
May 14 '17 at 9:39
add a comment |
How about the Lucida family? It is not free, but very nice.
1
Do you have a link that one can follow to view the fonts? How would you create a document that uses the Lucida family? Please elaborate on your current suggestion.
– Werner
Dec 23 '11 at 6:26
Samples of these fonts can be found at pctex.com/Lucida_Fonts.html complete documentation on how to use them comes with the fonts
– Per
Dec 23 '11 at 19:28
1
TUG members get a discount on Lucida fonts: tug.org/store/lucida/index.html
– Torbjørn T.
Dec 23 '11 at 20:56
3
The Lucida OpenType fonts have been released today. They are available from the TUG Store (same link as above).
– Ulrik Vieth
Mar 16 '12 at 19:48
add a comment |
I usually use TheSansMono condensed for code listing. Otherwise I use Consolas for Mono font.
For serif and sans fonts, and math fonts, below are some pairings I use frequently,
- Minion/Cronos/Minion math
- Minion/Syntax/Minion math
- Scala/Scala sans/Minion math
- Times (Linotype version)/candara/Math time pro 2
- Lucida bright/Lucida sans/Lucida math (new OT version)
- Palatino/optima/PAmath
Most fonts I use are commercial. Just those listed here will set you back by about $2000. So you may consider some free alternatives. I won't recommend the TeX Gyre fonts like Pagella. Their small caps, text figures are crap. Especially Termes and Hero. The only free fonts that I would you are Latin Modern and Euler math
If possible, I recommend get one set of good commercial fonts. The Minion and Times combo above are most versatile ones. You can use them in almost any technical documents. The former is a humanist design while the later is transitional. If a modern font is suitable for your documents, Latin modern is a good choice.
Scala/Palatino combos are a little bit too lively, calligraphic, for some purpose.
Lucida is good when you need to set in small size, with wide measure. It's highly readable.
This is useful, but it doesn't actually answer this question which specified freely available fonts.
– cfr
May 30 '16 at 3:42
add a comment |
The recent acmart
class (from ACM, see https://ctan.org/pkg/acmart) combines Libertine, Biolinum and Inconsolata using the following pdflatex-compatible setup (I hope I'm not forgetting anything font-relevant from the class) — I just switched my thesis to using it and it seems to be looking extremely good. I'm posting the code because there's a million possible choices (texdoc newtxmath
seems especially daunting), but the result looks pretty good.
usepackage[tt=false]{libertine}
usepackage[varqu]{zi4}
usepackage[libertine]{newtxmath}
Only concern I run into: I feel Biolinum bold is not bold enough for the book title on the title page, even though it seems no less bold than Latin Modern Sans—I'd like a bolder or black variant, like Myriad Pro Black or Optima ExtraBlack. But since that's the only exception, I'd consider using a clearly distinct font just for the title (which is unique anyway).
I'm not sure why I'd like a Biolinum Black, but I suspect I'm reminded of Optima ExtraBlack, which I use often and which like Biolinum is a rare sans serif with visibly varying stroke width (more like common serif fonts).
– Blaisorblade
Aug 24 '17 at 12:19
add a comment |
Arkandis Digital Foundry offers a range of free font families. Some have LaTeX support packages for type1 and/or opentype versions; others could be used in the same way as other truetype/opentype fonts.
add a comment |
For anyone coming here and seeing that the often mentioned Font Inconsolata is not available with usepackage{inconsolata}
. The package was renamed and you can use it now with usepackage{zi4}
.
See also this question.
add a comment |
Times + Helvetica + Courier
This combination probably is the most widely used one (except for Knuth's Computer Modern). Although someone may dislike it, I still think it's rather formal and "scientific".
Here, I use the open-source version: XITS (Math) + TeX Gyre Heros + TeX Gyre Cursor.
EB Garamond
EB Garamond is a high-quality open-source humanist serif font. I use Libertinus Sans (a fork of Linux Biolinum) and Latin Modern Mono Light (maybe you can find a better one?) to match with it. EB Garamond has a fork for unicode-math: Garamond-Math.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f9533%2fwhat-best-combination-of-fonts-for-serif-sans-and-mono-do-you-recommend%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
15 Answers
15
active
oldest
votes
15 Answers
15
active
oldest
votes
active
oldest
votes
active
oldest
votes
I prefer a combination of Linux Libertine for serif, Inconsolata for monospace and Calibri or Linux Biolinum for sans serif. Linux Libertine is burgeoning and has nice ligatures, swashes and all that, including a rather pleasing swashed capital Q. Prior to Libertine, I favoured Cambria for serif, considering it unusual but professional, but eventually decided that its serifs were far too heavy. I also considered Cambria unsuitable from the outset as a maths font, to the point that back when I used Word 2007 I fell back on Microsoft Equation Editor 3.0 (i.e. the equation object available in Office) rather than the built-in equation editor. I'm not sure what font it uses but at the time I considered it nicer than maths set in CM.
Both Inconsolata and Consolas are top-notch monospace fonts.
(+1) Excellent! Thanks for sharing your experience. (btw, I just found this post from J. Atwood on Consolas and ClearType).
– chl
Jan 24 '11 at 9:30
@chl: That's very interesting - I am intrigued that Consolas seems to require subpixel smoothing to look even passable (Look at those glyphs in direct contact in IterationsNumericUpDown.Text!). Obviously this is moot for the printed word and for the majority of PDF viewers, however I know some people simply cannot handle ClearType and that would seem a deal-breaker.
– Richard Terrett
Jan 24 '11 at 9:41
Consolas was specifically designed for Clear Type. As for the fact that “some people simply cannot handle ClearType”, this suggests that their system is badly configured. I’m not sure if Windows 7 still requires careful calibration but under Windows XP at least that was very beneficial (required downloading an extra calibration software from Microsoft, IIRC).
– Konrad Rudolph
Jan 24 '11 at 11:54
@Konrad Rudolph - Apologies, I was unclear: what I meant is that I have encountered some people who do not like ClearType at all (and by extension, potentially other subpixel smoothing codes). As such they would have to contend with the bad spacing and aliasing on Consolas, where its optimisation for ClearType would surely be cold comfort.
– Richard Terrett
Jan 24 '11 at 12:16
Unfortunately, thelibertine
package doesn't have proper italic correction...
– Seamus
Aug 14 '11 at 12:04
add a comment |
I prefer a combination of Linux Libertine for serif, Inconsolata for monospace and Calibri or Linux Biolinum for sans serif. Linux Libertine is burgeoning and has nice ligatures, swashes and all that, including a rather pleasing swashed capital Q. Prior to Libertine, I favoured Cambria for serif, considering it unusual but professional, but eventually decided that its serifs were far too heavy. I also considered Cambria unsuitable from the outset as a maths font, to the point that back when I used Word 2007 I fell back on Microsoft Equation Editor 3.0 (i.e. the equation object available in Office) rather than the built-in equation editor. I'm not sure what font it uses but at the time I considered it nicer than maths set in CM.
Both Inconsolata and Consolas are top-notch monospace fonts.
(+1) Excellent! Thanks for sharing your experience. (btw, I just found this post from J. Atwood on Consolas and ClearType).
– chl
Jan 24 '11 at 9:30
@chl: That's very interesting - I am intrigued that Consolas seems to require subpixel smoothing to look even passable (Look at those glyphs in direct contact in IterationsNumericUpDown.Text!). Obviously this is moot for the printed word and for the majority of PDF viewers, however I know some people simply cannot handle ClearType and that would seem a deal-breaker.
– Richard Terrett
Jan 24 '11 at 9:41
Consolas was specifically designed for Clear Type. As for the fact that “some people simply cannot handle ClearType”, this suggests that their system is badly configured. I’m not sure if Windows 7 still requires careful calibration but under Windows XP at least that was very beneficial (required downloading an extra calibration software from Microsoft, IIRC).
– Konrad Rudolph
Jan 24 '11 at 11:54
@Konrad Rudolph - Apologies, I was unclear: what I meant is that I have encountered some people who do not like ClearType at all (and by extension, potentially other subpixel smoothing codes). As such they would have to contend with the bad spacing and aliasing on Consolas, where its optimisation for ClearType would surely be cold comfort.
– Richard Terrett
Jan 24 '11 at 12:16
Unfortunately, thelibertine
package doesn't have proper italic correction...
– Seamus
Aug 14 '11 at 12:04
add a comment |
I prefer a combination of Linux Libertine for serif, Inconsolata for monospace and Calibri or Linux Biolinum for sans serif. Linux Libertine is burgeoning and has nice ligatures, swashes and all that, including a rather pleasing swashed capital Q. Prior to Libertine, I favoured Cambria for serif, considering it unusual but professional, but eventually decided that its serifs were far too heavy. I also considered Cambria unsuitable from the outset as a maths font, to the point that back when I used Word 2007 I fell back on Microsoft Equation Editor 3.0 (i.e. the equation object available in Office) rather than the built-in equation editor. I'm not sure what font it uses but at the time I considered it nicer than maths set in CM.
Both Inconsolata and Consolas are top-notch monospace fonts.
I prefer a combination of Linux Libertine for serif, Inconsolata for monospace and Calibri or Linux Biolinum for sans serif. Linux Libertine is burgeoning and has nice ligatures, swashes and all that, including a rather pleasing swashed capital Q. Prior to Libertine, I favoured Cambria for serif, considering it unusual but professional, but eventually decided that its serifs were far too heavy. I also considered Cambria unsuitable from the outset as a maths font, to the point that back when I used Word 2007 I fell back on Microsoft Equation Editor 3.0 (i.e. the equation object available in Office) rather than the built-in equation editor. I'm not sure what font it uses but at the time I considered it nicer than maths set in CM.
Both Inconsolata and Consolas are top-notch monospace fonts.
answered Jan 24 '11 at 9:03
community wiki
Richard Terrett
(+1) Excellent! Thanks for sharing your experience. (btw, I just found this post from J. Atwood on Consolas and ClearType).
– chl
Jan 24 '11 at 9:30
@chl: That's very interesting - I am intrigued that Consolas seems to require subpixel smoothing to look even passable (Look at those glyphs in direct contact in IterationsNumericUpDown.Text!). Obviously this is moot for the printed word and for the majority of PDF viewers, however I know some people simply cannot handle ClearType and that would seem a deal-breaker.
– Richard Terrett
Jan 24 '11 at 9:41
Consolas was specifically designed for Clear Type. As for the fact that “some people simply cannot handle ClearType”, this suggests that their system is badly configured. I’m not sure if Windows 7 still requires careful calibration but under Windows XP at least that was very beneficial (required downloading an extra calibration software from Microsoft, IIRC).
– Konrad Rudolph
Jan 24 '11 at 11:54
@Konrad Rudolph - Apologies, I was unclear: what I meant is that I have encountered some people who do not like ClearType at all (and by extension, potentially other subpixel smoothing codes). As such they would have to contend with the bad spacing and aliasing on Consolas, where its optimisation for ClearType would surely be cold comfort.
– Richard Terrett
Jan 24 '11 at 12:16
Unfortunately, thelibertine
package doesn't have proper italic correction...
– Seamus
Aug 14 '11 at 12:04
add a comment |
(+1) Excellent! Thanks for sharing your experience. (btw, I just found this post from J. Atwood on Consolas and ClearType).
– chl
Jan 24 '11 at 9:30
@chl: That's very interesting - I am intrigued that Consolas seems to require subpixel smoothing to look even passable (Look at those glyphs in direct contact in IterationsNumericUpDown.Text!). Obviously this is moot for the printed word and for the majority of PDF viewers, however I know some people simply cannot handle ClearType and that would seem a deal-breaker.
– Richard Terrett
Jan 24 '11 at 9:41
Consolas was specifically designed for Clear Type. As for the fact that “some people simply cannot handle ClearType”, this suggests that their system is badly configured. I’m not sure if Windows 7 still requires careful calibration but under Windows XP at least that was very beneficial (required downloading an extra calibration software from Microsoft, IIRC).
– Konrad Rudolph
Jan 24 '11 at 11:54
@Konrad Rudolph - Apologies, I was unclear: what I meant is that I have encountered some people who do not like ClearType at all (and by extension, potentially other subpixel smoothing codes). As such they would have to contend with the bad spacing and aliasing on Consolas, where its optimisation for ClearType would surely be cold comfort.
– Richard Terrett
Jan 24 '11 at 12:16
Unfortunately, thelibertine
package doesn't have proper italic correction...
– Seamus
Aug 14 '11 at 12:04
(+1) Excellent! Thanks for sharing your experience. (btw, I just found this post from J. Atwood on Consolas and ClearType).
– chl
Jan 24 '11 at 9:30
(+1) Excellent! Thanks for sharing your experience. (btw, I just found this post from J. Atwood on Consolas and ClearType).
– chl
Jan 24 '11 at 9:30
@chl: That's very interesting - I am intrigued that Consolas seems to require subpixel smoothing to look even passable (Look at those glyphs in direct contact in IterationsNumericUpDown.Text!). Obviously this is moot for the printed word and for the majority of PDF viewers, however I know some people simply cannot handle ClearType and that would seem a deal-breaker.
– Richard Terrett
Jan 24 '11 at 9:41
@chl: That's very interesting - I am intrigued that Consolas seems to require subpixel smoothing to look even passable (Look at those glyphs in direct contact in IterationsNumericUpDown.Text!). Obviously this is moot for the printed word and for the majority of PDF viewers, however I know some people simply cannot handle ClearType and that would seem a deal-breaker.
– Richard Terrett
Jan 24 '11 at 9:41
Consolas was specifically designed for Clear Type. As for the fact that “some people simply cannot handle ClearType”, this suggests that their system is badly configured. I’m not sure if Windows 7 still requires careful calibration but under Windows XP at least that was very beneficial (required downloading an extra calibration software from Microsoft, IIRC).
– Konrad Rudolph
Jan 24 '11 at 11:54
Consolas was specifically designed for Clear Type. As for the fact that “some people simply cannot handle ClearType”, this suggests that their system is badly configured. I’m not sure if Windows 7 still requires careful calibration but under Windows XP at least that was very beneficial (required downloading an extra calibration software from Microsoft, IIRC).
– Konrad Rudolph
Jan 24 '11 at 11:54
@Konrad Rudolph - Apologies, I was unclear: what I meant is that I have encountered some people who do not like ClearType at all (and by extension, potentially other subpixel smoothing codes). As such they would have to contend with the bad spacing and aliasing on Consolas, where its optimisation for ClearType would surely be cold comfort.
– Richard Terrett
Jan 24 '11 at 12:16
@Konrad Rudolph - Apologies, I was unclear: what I meant is that I have encountered some people who do not like ClearType at all (and by extension, potentially other subpixel smoothing codes). As such they would have to contend with the bad spacing and aliasing on Consolas, where its optimisation for ClearType would surely be cold comfort.
– Richard Terrett
Jan 24 '11 at 12:16
Unfortunately, the
libertine
package doesn't have proper italic correction...– Seamus
Aug 14 '11 at 12:04
Unfortunately, the
libertine
package doesn't have proper italic correction...– Seamus
Aug 14 '11 at 12:04
add a comment |
Palatino, Bera, and AMS Euler
I have really been enjoying AMS Euler as a math font lately. If you need completely free fonts, then I think that Palatino + Euler + Bera Serif/Sans/Mono for code, etc. is a pretty workable combination. (This is essentially the default combination used by the ClassicThesis package.) Both Palatino and Euler were designed by Hermann Zapf and work quite well together.
This combination can be used in almost any LaTeX installation, making it a viable combination for the arXiv for example. One must be a little careful to scale the Bera to match the x-height of the Palatino though, or it looks quite strange, but once this is adjusted, the combination looks quite reasonable. (Palatino Sans would probably be the best match, but is not "free".)
documentclass{scrreprt}
usepackage[scaled=0.88]{beraserif}
usepackage[scaled=0.85]{berasans}
usepackage[scaled=0.84]{beramono}
usepackage{classicthesis}
usepackage[T1]{fontenc}
usepackage{mathpazo}
linespread{1.05}
usepackage[T1,small,euler-digits]{eulervm}
newenvironment{note}[1][Note:]{%
parvspace{0.5baselineskip}%
sffamilysmalllinespread{1.05}selectfont
noindentignorespaces%
#1
}{%
vspace{0.5baselineskip}%
parnoindentignorespacesafterend%
}
usepackage{listings}
lstset{basicstyle=ttfamily,breaklines=true}
setkomafont{disposition}{}
setkomafont{section}{}
titleformat{section}
{usekomafont{disposition}usekomafont{section}}
{llap{textsc{MakeTextLowercase{thesection}}hspace{0.7em}}}
{0pt}
{usekomafont{disposition}usekomafont{section}spacedlowsmallcaps}
newcommand{I}{mathrm{i}}
begin{document}
chapter{Introduction}
section{Palatino and Bera with Euler}
This style use Palatino for a body font, with $AMS Euler$ font for math: $y =
sin(x)$:
begin{equation}
y = int_0^xcos(x),mathrm{d}{x} = frac{e^{I x} - e^{-I x}}{2I}
end{equation}
Both fonts were designed by Hermann Zapf and work quite well together
as long as you use the small characters --
lstinline|usepackage[small,euler-digits]{eulervm}|. Code listings, etc. can
be typeset with texttt{Bera Mono} to give it a slightly different feel. Again:
you must be careful to scale this appropriately --
lstinline|usepackage[scaled=0.88]{beraserif}| and
lstinline|usepackage[scaled=0.85]{berasans}|, and
lstinline|usepackage[scaled=0.84]{beramono}|.
begin{note}
I sometimes use Bera Sans for extended admonitions like this one so that they
can quickly be separated from the text.
end{note}
end{document}
1
(+1) Great! I tend to use Inconsolata when typesetting code snippet, but the Bera font looks nice with Palatino once it is x-scaled.
– chl
May 14 '13 at 10:02
@chl Inconsolata works quite will too if scaled slightlyusepackage[scaled=1.03]{inconsolata}
.
– mforbes
May 14 '13 at 20:41
1
(+1) For the code with your answer !
– Colas
Oct 12 '13 at 9:05
add a comment |
Palatino, Bera, and AMS Euler
I have really been enjoying AMS Euler as a math font lately. If you need completely free fonts, then I think that Palatino + Euler + Bera Serif/Sans/Mono for code, etc. is a pretty workable combination. (This is essentially the default combination used by the ClassicThesis package.) Both Palatino and Euler were designed by Hermann Zapf and work quite well together.
This combination can be used in almost any LaTeX installation, making it a viable combination for the arXiv for example. One must be a little careful to scale the Bera to match the x-height of the Palatino though, or it looks quite strange, but once this is adjusted, the combination looks quite reasonable. (Palatino Sans would probably be the best match, but is not "free".)
documentclass{scrreprt}
usepackage[scaled=0.88]{beraserif}
usepackage[scaled=0.85]{berasans}
usepackage[scaled=0.84]{beramono}
usepackage{classicthesis}
usepackage[T1]{fontenc}
usepackage{mathpazo}
linespread{1.05}
usepackage[T1,small,euler-digits]{eulervm}
newenvironment{note}[1][Note:]{%
parvspace{0.5baselineskip}%
sffamilysmalllinespread{1.05}selectfont
noindentignorespaces%
#1
}{%
vspace{0.5baselineskip}%
parnoindentignorespacesafterend%
}
usepackage{listings}
lstset{basicstyle=ttfamily,breaklines=true}
setkomafont{disposition}{}
setkomafont{section}{}
titleformat{section}
{usekomafont{disposition}usekomafont{section}}
{llap{textsc{MakeTextLowercase{thesection}}hspace{0.7em}}}
{0pt}
{usekomafont{disposition}usekomafont{section}spacedlowsmallcaps}
newcommand{I}{mathrm{i}}
begin{document}
chapter{Introduction}
section{Palatino and Bera with Euler}
This style use Palatino for a body font, with $AMS Euler$ font for math: $y =
sin(x)$:
begin{equation}
y = int_0^xcos(x),mathrm{d}{x} = frac{e^{I x} - e^{-I x}}{2I}
end{equation}
Both fonts were designed by Hermann Zapf and work quite well together
as long as you use the small characters --
lstinline|usepackage[small,euler-digits]{eulervm}|. Code listings, etc. can
be typeset with texttt{Bera Mono} to give it a slightly different feel. Again:
you must be careful to scale this appropriately --
lstinline|usepackage[scaled=0.88]{beraserif}| and
lstinline|usepackage[scaled=0.85]{berasans}|, and
lstinline|usepackage[scaled=0.84]{beramono}|.
begin{note}
I sometimes use Bera Sans for extended admonitions like this one so that they
can quickly be separated from the text.
end{note}
end{document}
1
(+1) Great! I tend to use Inconsolata when typesetting code snippet, but the Bera font looks nice with Palatino once it is x-scaled.
– chl
May 14 '13 at 10:02
@chl Inconsolata works quite will too if scaled slightlyusepackage[scaled=1.03]{inconsolata}
.
– mforbes
May 14 '13 at 20:41
1
(+1) For the code with your answer !
– Colas
Oct 12 '13 at 9:05
add a comment |
Palatino, Bera, and AMS Euler
I have really been enjoying AMS Euler as a math font lately. If you need completely free fonts, then I think that Palatino + Euler + Bera Serif/Sans/Mono for code, etc. is a pretty workable combination. (This is essentially the default combination used by the ClassicThesis package.) Both Palatino and Euler were designed by Hermann Zapf and work quite well together.
This combination can be used in almost any LaTeX installation, making it a viable combination for the arXiv for example. One must be a little careful to scale the Bera to match the x-height of the Palatino though, or it looks quite strange, but once this is adjusted, the combination looks quite reasonable. (Palatino Sans would probably be the best match, but is not "free".)
documentclass{scrreprt}
usepackage[scaled=0.88]{beraserif}
usepackage[scaled=0.85]{berasans}
usepackage[scaled=0.84]{beramono}
usepackage{classicthesis}
usepackage[T1]{fontenc}
usepackage{mathpazo}
linespread{1.05}
usepackage[T1,small,euler-digits]{eulervm}
newenvironment{note}[1][Note:]{%
parvspace{0.5baselineskip}%
sffamilysmalllinespread{1.05}selectfont
noindentignorespaces%
#1
}{%
vspace{0.5baselineskip}%
parnoindentignorespacesafterend%
}
usepackage{listings}
lstset{basicstyle=ttfamily,breaklines=true}
setkomafont{disposition}{}
setkomafont{section}{}
titleformat{section}
{usekomafont{disposition}usekomafont{section}}
{llap{textsc{MakeTextLowercase{thesection}}hspace{0.7em}}}
{0pt}
{usekomafont{disposition}usekomafont{section}spacedlowsmallcaps}
newcommand{I}{mathrm{i}}
begin{document}
chapter{Introduction}
section{Palatino and Bera with Euler}
This style use Palatino for a body font, with $AMS Euler$ font for math: $y =
sin(x)$:
begin{equation}
y = int_0^xcos(x),mathrm{d}{x} = frac{e^{I x} - e^{-I x}}{2I}
end{equation}
Both fonts were designed by Hermann Zapf and work quite well together
as long as you use the small characters --
lstinline|usepackage[small,euler-digits]{eulervm}|. Code listings, etc. can
be typeset with texttt{Bera Mono} to give it a slightly different feel. Again:
you must be careful to scale this appropriately --
lstinline|usepackage[scaled=0.88]{beraserif}| and
lstinline|usepackage[scaled=0.85]{berasans}|, and
lstinline|usepackage[scaled=0.84]{beramono}|.
begin{note}
I sometimes use Bera Sans for extended admonitions like this one so that they
can quickly be separated from the text.
end{note}
end{document}
Palatino, Bera, and AMS Euler
I have really been enjoying AMS Euler as a math font lately. If you need completely free fonts, then I think that Palatino + Euler + Bera Serif/Sans/Mono for code, etc. is a pretty workable combination. (This is essentially the default combination used by the ClassicThesis package.) Both Palatino and Euler were designed by Hermann Zapf and work quite well together.
This combination can be used in almost any LaTeX installation, making it a viable combination for the arXiv for example. One must be a little careful to scale the Bera to match the x-height of the Palatino though, or it looks quite strange, but once this is adjusted, the combination looks quite reasonable. (Palatino Sans would probably be the best match, but is not "free".)
documentclass{scrreprt}
usepackage[scaled=0.88]{beraserif}
usepackage[scaled=0.85]{berasans}
usepackage[scaled=0.84]{beramono}
usepackage{classicthesis}
usepackage[T1]{fontenc}
usepackage{mathpazo}
linespread{1.05}
usepackage[T1,small,euler-digits]{eulervm}
newenvironment{note}[1][Note:]{%
parvspace{0.5baselineskip}%
sffamilysmalllinespread{1.05}selectfont
noindentignorespaces%
#1
}{%
vspace{0.5baselineskip}%
parnoindentignorespacesafterend%
}
usepackage{listings}
lstset{basicstyle=ttfamily,breaklines=true}
setkomafont{disposition}{}
setkomafont{section}{}
titleformat{section}
{usekomafont{disposition}usekomafont{section}}
{llap{textsc{MakeTextLowercase{thesection}}hspace{0.7em}}}
{0pt}
{usekomafont{disposition}usekomafont{section}spacedlowsmallcaps}
newcommand{I}{mathrm{i}}
begin{document}
chapter{Introduction}
section{Palatino and Bera with Euler}
This style use Palatino for a body font, with $AMS Euler$ font for math: $y =
sin(x)$:
begin{equation}
y = int_0^xcos(x),mathrm{d}{x} = frac{e^{I x} - e^{-I x}}{2I}
end{equation}
Both fonts were designed by Hermann Zapf and work quite well together
as long as you use the small characters --
lstinline|usepackage[small,euler-digits]{eulervm}|. Code listings, etc. can
be typeset with texttt{Bera Mono} to give it a slightly different feel. Again:
you must be careful to scale this appropriately --
lstinline|usepackage[scaled=0.88]{beraserif}| and
lstinline|usepackage[scaled=0.85]{berasans}|, and
lstinline|usepackage[scaled=0.84]{beramono}|.
begin{note}
I sometimes use Bera Sans for extended admonitions like this one so that they
can quickly be separated from the text.
end{note}
end{document}
edited May 14 '13 at 5:37
community wiki
3 revs
mforbes
1
(+1) Great! I tend to use Inconsolata when typesetting code snippet, but the Bera font looks nice with Palatino once it is x-scaled.
– chl
May 14 '13 at 10:02
@chl Inconsolata works quite will too if scaled slightlyusepackage[scaled=1.03]{inconsolata}
.
– mforbes
May 14 '13 at 20:41
1
(+1) For the code with your answer !
– Colas
Oct 12 '13 at 9:05
add a comment |
1
(+1) Great! I tend to use Inconsolata when typesetting code snippet, but the Bera font looks nice with Palatino once it is x-scaled.
– chl
May 14 '13 at 10:02
@chl Inconsolata works quite will too if scaled slightlyusepackage[scaled=1.03]{inconsolata}
.
– mforbes
May 14 '13 at 20:41
1
(+1) For the code with your answer !
– Colas
Oct 12 '13 at 9:05
1
1
(+1) Great! I tend to use Inconsolata when typesetting code snippet, but the Bera font looks nice with Palatino once it is x-scaled.
– chl
May 14 '13 at 10:02
(+1) Great! I tend to use Inconsolata when typesetting code snippet, but the Bera font looks nice with Palatino once it is x-scaled.
– chl
May 14 '13 at 10:02
@chl Inconsolata works quite will too if scaled slightly
usepackage[scaled=1.03]{inconsolata}
.– mforbes
May 14 '13 at 20:41
@chl Inconsolata works quite will too if scaled slightly
usepackage[scaled=1.03]{inconsolata}
.– mforbes
May 14 '13 at 20:41
1
1
(+1) For the code with your answer !
– Colas
Oct 12 '13 at 9:05
(+1) For the code with your answer !
– Colas
Oct 12 '13 at 9:05
add a comment |
The Google Font Directory is worth browsing. It’s targeted at web authors but many (all? didn’t check) of the fonts found there are published under SIL license and thus can be used in other projects as well.
One font (also found there) that I really like is Vollkorn which has a nice, rounded, distinctive look that is still very readable.
(+1) Thanks. This is really useful, and this font looks splendid!
– chl
Jan 23 '11 at 17:24
1
+1 I agree Vollkorn is one of the top free (as in free speech) fonts, probably at least on par with Libertine.
– Philipp
Jan 24 '11 at 13:19
@Philipp: if it only weren’t missing small caps (planned but not yet released). Unfortunately, I use them for abbreviations in my thesis. :-(
– Konrad Rudolph
Jan 24 '11 at 14:47
The link is now dead. It should be google.com/fonts .
– chryss
May 13 '13 at 14:51
Ouh yeah. Vollkorn is one of my favourite Fonts.
– Ronny
May 14 '13 at 5:31
|
show 1 more comment
The Google Font Directory is worth browsing. It’s targeted at web authors but many (all? didn’t check) of the fonts found there are published under SIL license and thus can be used in other projects as well.
One font (also found there) that I really like is Vollkorn which has a nice, rounded, distinctive look that is still very readable.
(+1) Thanks. This is really useful, and this font looks splendid!
– chl
Jan 23 '11 at 17:24
1
+1 I agree Vollkorn is one of the top free (as in free speech) fonts, probably at least on par with Libertine.
– Philipp
Jan 24 '11 at 13:19
@Philipp: if it only weren’t missing small caps (planned but not yet released). Unfortunately, I use them for abbreviations in my thesis. :-(
– Konrad Rudolph
Jan 24 '11 at 14:47
The link is now dead. It should be google.com/fonts .
– chryss
May 13 '13 at 14:51
Ouh yeah. Vollkorn is one of my favourite Fonts.
– Ronny
May 14 '13 at 5:31
|
show 1 more comment
The Google Font Directory is worth browsing. It’s targeted at web authors but many (all? didn’t check) of the fonts found there are published under SIL license and thus can be used in other projects as well.
One font (also found there) that I really like is Vollkorn which has a nice, rounded, distinctive look that is still very readable.
The Google Font Directory is worth browsing. It’s targeted at web authors but many (all? didn’t check) of the fonts found there are published under SIL license and thus can be used in other projects as well.
One font (also found there) that I really like is Vollkorn which has a nice, rounded, distinctive look that is still very readable.
edited May 14 '13 at 4:03
community wiki
2 revs
Konrad Rudolph
(+1) Thanks. This is really useful, and this font looks splendid!
– chl
Jan 23 '11 at 17:24
1
+1 I agree Vollkorn is one of the top free (as in free speech) fonts, probably at least on par with Libertine.
– Philipp
Jan 24 '11 at 13:19
@Philipp: if it only weren’t missing small caps (planned but not yet released). Unfortunately, I use them for abbreviations in my thesis. :-(
– Konrad Rudolph
Jan 24 '11 at 14:47
The link is now dead. It should be google.com/fonts .
– chryss
May 13 '13 at 14:51
Ouh yeah. Vollkorn is one of my favourite Fonts.
– Ronny
May 14 '13 at 5:31
|
show 1 more comment
(+1) Thanks. This is really useful, and this font looks splendid!
– chl
Jan 23 '11 at 17:24
1
+1 I agree Vollkorn is one of the top free (as in free speech) fonts, probably at least on par with Libertine.
– Philipp
Jan 24 '11 at 13:19
@Philipp: if it only weren’t missing small caps (planned but not yet released). Unfortunately, I use them for abbreviations in my thesis. :-(
– Konrad Rudolph
Jan 24 '11 at 14:47
The link is now dead. It should be google.com/fonts .
– chryss
May 13 '13 at 14:51
Ouh yeah. Vollkorn is one of my favourite Fonts.
– Ronny
May 14 '13 at 5:31
(+1) Thanks. This is really useful, and this font looks splendid!
– chl
Jan 23 '11 at 17:24
(+1) Thanks. This is really useful, and this font looks splendid!
– chl
Jan 23 '11 at 17:24
1
1
+1 I agree Vollkorn is one of the top free (as in free speech) fonts, probably at least on par with Libertine.
– Philipp
Jan 24 '11 at 13:19
+1 I agree Vollkorn is one of the top free (as in free speech) fonts, probably at least on par with Libertine.
– Philipp
Jan 24 '11 at 13:19
@Philipp: if it only weren’t missing small caps (planned but not yet released). Unfortunately, I use them for abbreviations in my thesis. :-(
– Konrad Rudolph
Jan 24 '11 at 14:47
@Philipp: if it only weren’t missing small caps (planned but not yet released). Unfortunately, I use them for abbreviations in my thesis. :-(
– Konrad Rudolph
Jan 24 '11 at 14:47
The link is now dead. It should be google.com/fonts .
– chryss
May 13 '13 at 14:51
The link is now dead. It should be google.com/fonts .
– chryss
May 13 '13 at 14:51
Ouh yeah. Vollkorn is one of my favourite Fonts.
– Ronny
May 14 '13 at 5:31
Ouh yeah. Vollkorn is one of my favourite Fonts.
– Ronny
May 14 '13 at 5:31
|
show 1 more comment
My university recommends the Microsoft family: Cambria for serif, Calibri for sans, Cambria Math for math, and Consolas for monospace. They all came with my Mac. I'm not sure that the university's recommendation is the most informed one, but those are designed to go together.
To see these in a sample document, insert the following into your preamble
usepackage{fontspec}
setmainfont{Cambria}
setsansfont{Calibri}
setmathrm{Cambria Math}
setmonofont{Consolas}
(and use XeTeX.)
1
+1 Although I'm clearly not the best supporter for MS products, I assume there're some reasons for such a combination. I guess they came with Microsoft Office? Does a LaTeX document processed throughxelatex
(e.g.,sample2e.tex
) look cool or not?
– chl
Jan 23 '11 at 19:53
4
Cambria is the only professional font to have a matching math family (Cambria Math) that can be used for OpenType math typesetting. So this recommendation is definitely reasonable. The new (C…) Microsoft fonts are generally hailed as being well-designed and readable on both screen and paper. In fact, I plan to use that exact combination for my thesis, and I've written a small (unsupported and unreleased) package to automatically select the fonts and enable micro-typography.
– Philipp
Jan 23 '11 at 21:51
3
@chl: I don't know if cool is the right word but it is pretty. And you're probably right that they came with Office rather than with the Mac.
– Matthew Leingang
Jan 24 '11 at 0:54
3
+1 for also telling how to actually change to use the fonts.
– morbusg
Jan 24 '11 at 10:42
1
Well, Cambria is not the only OpenTypeMath font - what about Latin Modern Math?
– mbork
Dec 23 '11 at 9:07
|
show 3 more comments
My university recommends the Microsoft family: Cambria for serif, Calibri for sans, Cambria Math for math, and Consolas for monospace. They all came with my Mac. I'm not sure that the university's recommendation is the most informed one, but those are designed to go together.
To see these in a sample document, insert the following into your preamble
usepackage{fontspec}
setmainfont{Cambria}
setsansfont{Calibri}
setmathrm{Cambria Math}
setmonofont{Consolas}
(and use XeTeX.)
1
+1 Although I'm clearly not the best supporter for MS products, I assume there're some reasons for such a combination. I guess they came with Microsoft Office? Does a LaTeX document processed throughxelatex
(e.g.,sample2e.tex
) look cool or not?
– chl
Jan 23 '11 at 19:53
4
Cambria is the only professional font to have a matching math family (Cambria Math) that can be used for OpenType math typesetting. So this recommendation is definitely reasonable. The new (C…) Microsoft fonts are generally hailed as being well-designed and readable on both screen and paper. In fact, I plan to use that exact combination for my thesis, and I've written a small (unsupported and unreleased) package to automatically select the fonts and enable micro-typography.
– Philipp
Jan 23 '11 at 21:51
3
@chl: I don't know if cool is the right word but it is pretty. And you're probably right that they came with Office rather than with the Mac.
– Matthew Leingang
Jan 24 '11 at 0:54
3
+1 for also telling how to actually change to use the fonts.
– morbusg
Jan 24 '11 at 10:42
1
Well, Cambria is not the only OpenTypeMath font - what about Latin Modern Math?
– mbork
Dec 23 '11 at 9:07
|
show 3 more comments
My university recommends the Microsoft family: Cambria for serif, Calibri for sans, Cambria Math for math, and Consolas for monospace. They all came with my Mac. I'm not sure that the university's recommendation is the most informed one, but those are designed to go together.
To see these in a sample document, insert the following into your preamble
usepackage{fontspec}
setmainfont{Cambria}
setsansfont{Calibri}
setmathrm{Cambria Math}
setmonofont{Consolas}
(and use XeTeX.)
My university recommends the Microsoft family: Cambria for serif, Calibri for sans, Cambria Math for math, and Consolas for monospace. They all came with my Mac. I'm not sure that the university's recommendation is the most informed one, but those are designed to go together.
To see these in a sample document, insert the following into your preamble
usepackage{fontspec}
setmainfont{Cambria}
setsansfont{Calibri}
setmathrm{Cambria Math}
setmonofont{Consolas}
(and use XeTeX.)
edited Jan 24 '11 at 0:52
community wiki
2 revs
Matthew Leingang
1
+1 Although I'm clearly not the best supporter for MS products, I assume there're some reasons for such a combination. I guess they came with Microsoft Office? Does a LaTeX document processed throughxelatex
(e.g.,sample2e.tex
) look cool or not?
– chl
Jan 23 '11 at 19:53
4
Cambria is the only professional font to have a matching math family (Cambria Math) that can be used for OpenType math typesetting. So this recommendation is definitely reasonable. The new (C…) Microsoft fonts are generally hailed as being well-designed and readable on both screen and paper. In fact, I plan to use that exact combination for my thesis, and I've written a small (unsupported and unreleased) package to automatically select the fonts and enable micro-typography.
– Philipp
Jan 23 '11 at 21:51
3
@chl: I don't know if cool is the right word but it is pretty. And you're probably right that they came with Office rather than with the Mac.
– Matthew Leingang
Jan 24 '11 at 0:54
3
+1 for also telling how to actually change to use the fonts.
– morbusg
Jan 24 '11 at 10:42
1
Well, Cambria is not the only OpenTypeMath font - what about Latin Modern Math?
– mbork
Dec 23 '11 at 9:07
|
show 3 more comments
1
+1 Although I'm clearly not the best supporter for MS products, I assume there're some reasons for such a combination. I guess they came with Microsoft Office? Does a LaTeX document processed throughxelatex
(e.g.,sample2e.tex
) look cool or not?
– chl
Jan 23 '11 at 19:53
4
Cambria is the only professional font to have a matching math family (Cambria Math) that can be used for OpenType math typesetting. So this recommendation is definitely reasonable. The new (C…) Microsoft fonts are generally hailed as being well-designed and readable on both screen and paper. In fact, I plan to use that exact combination for my thesis, and I've written a small (unsupported and unreleased) package to automatically select the fonts and enable micro-typography.
– Philipp
Jan 23 '11 at 21:51
3
@chl: I don't know if cool is the right word but it is pretty. And you're probably right that they came with Office rather than with the Mac.
– Matthew Leingang
Jan 24 '11 at 0:54
3
+1 for also telling how to actually change to use the fonts.
– morbusg
Jan 24 '11 at 10:42
1
Well, Cambria is not the only OpenTypeMath font - what about Latin Modern Math?
– mbork
Dec 23 '11 at 9:07
1
1
+1 Although I'm clearly not the best supporter for MS products, I assume there're some reasons for such a combination. I guess they came with Microsoft Office? Does a LaTeX document processed through
xelatex
(e.g., sample2e.tex
) look cool or not?– chl
Jan 23 '11 at 19:53
+1 Although I'm clearly not the best supporter for MS products, I assume there're some reasons for such a combination. I guess they came with Microsoft Office? Does a LaTeX document processed through
xelatex
(e.g., sample2e.tex
) look cool or not?– chl
Jan 23 '11 at 19:53
4
4
Cambria is the only professional font to have a matching math family (Cambria Math) that can be used for OpenType math typesetting. So this recommendation is definitely reasonable. The new (C…) Microsoft fonts are generally hailed as being well-designed and readable on both screen and paper. In fact, I plan to use that exact combination for my thesis, and I've written a small (unsupported and unreleased) package to automatically select the fonts and enable micro-typography.
– Philipp
Jan 23 '11 at 21:51
Cambria is the only professional font to have a matching math family (Cambria Math) that can be used for OpenType math typesetting. So this recommendation is definitely reasonable. The new (C…) Microsoft fonts are generally hailed as being well-designed and readable on both screen and paper. In fact, I plan to use that exact combination for my thesis, and I've written a small (unsupported and unreleased) package to automatically select the fonts and enable micro-typography.
– Philipp
Jan 23 '11 at 21:51
3
3
@chl: I don't know if cool is the right word but it is pretty. And you're probably right that they came with Office rather than with the Mac.
– Matthew Leingang
Jan 24 '11 at 0:54
@chl: I don't know if cool is the right word but it is pretty. And you're probably right that they came with Office rather than with the Mac.
– Matthew Leingang
Jan 24 '11 at 0:54
3
3
+1 for also telling how to actually change to use the fonts.
– morbusg
Jan 24 '11 at 10:42
+1 for also telling how to actually change to use the fonts.
– morbusg
Jan 24 '11 at 10:42
1
1
Well, Cambria is not the only OpenTypeMath font - what about Latin Modern Math?
– mbork
Dec 23 '11 at 9:07
Well, Cambria is not the only OpenTypeMath font - what about Latin Modern Math?
– mbork
Dec 23 '11 at 9:07
|
show 3 more comments
I'm strictly an amateur in this department ... If you don't want to buy PragmataPro (which I love, and for me was worth buying because I use it as my default text-editing font), Bera Mono is also quite nice and it comes with texlive. Consolas/Inconsolata is great as well, as you say. Myriad Pro used to come bundled with Adobe Reader (I'm not sure about the current version). For body text, Charis SIL is a good, free descendant of Bitstream Charter. Super-complete sets from big foundries are indeed often extremely pricey, but there's also a market segment -- something like, e.g., Calluna -- where the fonts are more reasonably priced and work very well if your document is not extremely complicated in its structure. As you say, though, if you want to typeset any amount of math your choices narrow down quickly.
Incidentally, I had wanted to add this as a comment rather than an answer, as I'm not sure it's really an answer, but couldn't see how to do that. Do only mods and the original author get to comment on questions in this way?
– Kieran
Jan 23 '11 at 14:16
No, but you need a minimum of 50 reputation for comments (see the FAQ).
– lockstep
Jan 23 '11 at 14:21
(+1) Thanks for your extended comment, anyway. This is helpful. Yes, I'm afraid that when it comes to typesetting math choices are very limited.
– chl
Jan 23 '11 at 16:03
Calluna and Euler seem to work quite well together. I have been using Calluna Sans with Calluna for titles and Euler for math in presentations.
– mforbes
May 14 '13 at 4:33
add a comment |
I'm strictly an amateur in this department ... If you don't want to buy PragmataPro (which I love, and for me was worth buying because I use it as my default text-editing font), Bera Mono is also quite nice and it comes with texlive. Consolas/Inconsolata is great as well, as you say. Myriad Pro used to come bundled with Adobe Reader (I'm not sure about the current version). For body text, Charis SIL is a good, free descendant of Bitstream Charter. Super-complete sets from big foundries are indeed often extremely pricey, but there's also a market segment -- something like, e.g., Calluna -- where the fonts are more reasonably priced and work very well if your document is not extremely complicated in its structure. As you say, though, if you want to typeset any amount of math your choices narrow down quickly.
Incidentally, I had wanted to add this as a comment rather than an answer, as I'm not sure it's really an answer, but couldn't see how to do that. Do only mods and the original author get to comment on questions in this way?
– Kieran
Jan 23 '11 at 14:16
No, but you need a minimum of 50 reputation for comments (see the FAQ).
– lockstep
Jan 23 '11 at 14:21
(+1) Thanks for your extended comment, anyway. This is helpful. Yes, I'm afraid that when it comes to typesetting math choices are very limited.
– chl
Jan 23 '11 at 16:03
Calluna and Euler seem to work quite well together. I have been using Calluna Sans with Calluna for titles and Euler for math in presentations.
– mforbes
May 14 '13 at 4:33
add a comment |
I'm strictly an amateur in this department ... If you don't want to buy PragmataPro (which I love, and for me was worth buying because I use it as my default text-editing font), Bera Mono is also quite nice and it comes with texlive. Consolas/Inconsolata is great as well, as you say. Myriad Pro used to come bundled with Adobe Reader (I'm not sure about the current version). For body text, Charis SIL is a good, free descendant of Bitstream Charter. Super-complete sets from big foundries are indeed often extremely pricey, but there's also a market segment -- something like, e.g., Calluna -- where the fonts are more reasonably priced and work very well if your document is not extremely complicated in its structure. As you say, though, if you want to typeset any amount of math your choices narrow down quickly.
I'm strictly an amateur in this department ... If you don't want to buy PragmataPro (which I love, and for me was worth buying because I use it as my default text-editing font), Bera Mono is also quite nice and it comes with texlive. Consolas/Inconsolata is great as well, as you say. Myriad Pro used to come bundled with Adobe Reader (I'm not sure about the current version). For body text, Charis SIL is a good, free descendant of Bitstream Charter. Super-complete sets from big foundries are indeed often extremely pricey, but there's also a market segment -- something like, e.g., Calluna -- where the fonts are more reasonably priced and work very well if your document is not extremely complicated in its structure. As you say, though, if you want to typeset any amount of math your choices narrow down quickly.
answered Jan 23 '11 at 14:13
community wiki
Kieran
Incidentally, I had wanted to add this as a comment rather than an answer, as I'm not sure it's really an answer, but couldn't see how to do that. Do only mods and the original author get to comment on questions in this way?
– Kieran
Jan 23 '11 at 14:16
No, but you need a minimum of 50 reputation for comments (see the FAQ).
– lockstep
Jan 23 '11 at 14:21
(+1) Thanks for your extended comment, anyway. This is helpful. Yes, I'm afraid that when it comes to typesetting math choices are very limited.
– chl
Jan 23 '11 at 16:03
Calluna and Euler seem to work quite well together. I have been using Calluna Sans with Calluna for titles and Euler for math in presentations.
– mforbes
May 14 '13 at 4:33
add a comment |
Incidentally, I had wanted to add this as a comment rather than an answer, as I'm not sure it's really an answer, but couldn't see how to do that. Do only mods and the original author get to comment on questions in this way?
– Kieran
Jan 23 '11 at 14:16
No, but you need a minimum of 50 reputation for comments (see the FAQ).
– lockstep
Jan 23 '11 at 14:21
(+1) Thanks for your extended comment, anyway. This is helpful. Yes, I'm afraid that when it comes to typesetting math choices are very limited.
– chl
Jan 23 '11 at 16:03
Calluna and Euler seem to work quite well together. I have been using Calluna Sans with Calluna for titles and Euler for math in presentations.
– mforbes
May 14 '13 at 4:33
Incidentally, I had wanted to add this as a comment rather than an answer, as I'm not sure it's really an answer, but couldn't see how to do that. Do only mods and the original author get to comment on questions in this way?
– Kieran
Jan 23 '11 at 14:16
Incidentally, I had wanted to add this as a comment rather than an answer, as I'm not sure it's really an answer, but couldn't see how to do that. Do only mods and the original author get to comment on questions in this way?
– Kieran
Jan 23 '11 at 14:16
No, but you need a minimum of 50 reputation for comments (see the FAQ).
– lockstep
Jan 23 '11 at 14:21
No, but you need a minimum of 50 reputation for comments (see the FAQ).
– lockstep
Jan 23 '11 at 14:21
(+1) Thanks for your extended comment, anyway. This is helpful. Yes, I'm afraid that when it comes to typesetting math choices are very limited.
– chl
Jan 23 '11 at 16:03
(+1) Thanks for your extended comment, anyway. This is helpful. Yes, I'm afraid that when it comes to typesetting math choices are very limited.
– chl
Jan 23 '11 at 16:03
Calluna and Euler seem to work quite well together. I have been using Calluna Sans with Calluna for titles and Euler for math in presentations.
– mforbes
May 14 '13 at 4:33
Calluna and Euler seem to work quite well together. I have been using Calluna Sans with Calluna for titles and Euler for math in presentations.
– mforbes
May 14 '13 at 4:33
add a comment |
Minion and Myriad always come with Acrobat Reader, for free, and can be downloaded as a font pack for Linux or found at C:Program Files (x86)AdobeReader 10.0ResourceFont
or some similar directory structure on Windows.
If you ever install other Adobe products, even as a trial, you might have even more choices.
Are you sure you're absolutely free to use them for any purpose? This software does come with a bunch of licenses, even though it doesn't cost any money. If you're talking about these fonts already, you should probably also mention Courier, which is in the same directory.
– doncherry
Sep 14 '12 at 4:22
I think you can use the fonts that come with Acrobat Reader for any purpose (but not modify the fonts themselves). See: typophile.com/node/14079 or the Reader EULA.
– Joseph
Sep 14 '12 at 23:43
brilliant! How many people knew this?
– enthdegree
Sep 24 '12 at 3:11
I believe this is no longer true. But you can presumably use versions which came with earlier EULAs. (Not sure about any of this.)
– cfr
May 30 '16 at 3:40
add a comment |
Minion and Myriad always come with Acrobat Reader, for free, and can be downloaded as a font pack for Linux or found at C:Program Files (x86)AdobeReader 10.0ResourceFont
or some similar directory structure on Windows.
If you ever install other Adobe products, even as a trial, you might have even more choices.
Are you sure you're absolutely free to use them for any purpose? This software does come with a bunch of licenses, even though it doesn't cost any money. If you're talking about these fonts already, you should probably also mention Courier, which is in the same directory.
– doncherry
Sep 14 '12 at 4:22
I think you can use the fonts that come with Acrobat Reader for any purpose (but not modify the fonts themselves). See: typophile.com/node/14079 or the Reader EULA.
– Joseph
Sep 14 '12 at 23:43
brilliant! How many people knew this?
– enthdegree
Sep 24 '12 at 3:11
I believe this is no longer true. But you can presumably use versions which came with earlier EULAs. (Not sure about any of this.)
– cfr
May 30 '16 at 3:40
add a comment |
Minion and Myriad always come with Acrobat Reader, for free, and can be downloaded as a font pack for Linux or found at C:Program Files (x86)AdobeReader 10.0ResourceFont
or some similar directory structure on Windows.
If you ever install other Adobe products, even as a trial, you might have even more choices.
Minion and Myriad always come with Acrobat Reader, for free, and can be downloaded as a font pack for Linux or found at C:Program Files (x86)AdobeReader 10.0ResourceFont
or some similar directory structure on Windows.
If you ever install other Adobe products, even as a trial, you might have even more choices.
edited Sep 14 '12 at 0:11
community wiki
2 revs, 2 users 67%
Joseph
Are you sure you're absolutely free to use them for any purpose? This software does come with a bunch of licenses, even though it doesn't cost any money. If you're talking about these fonts already, you should probably also mention Courier, which is in the same directory.
– doncherry
Sep 14 '12 at 4:22
I think you can use the fonts that come with Acrobat Reader for any purpose (but not modify the fonts themselves). See: typophile.com/node/14079 or the Reader EULA.
– Joseph
Sep 14 '12 at 23:43
brilliant! How many people knew this?
– enthdegree
Sep 24 '12 at 3:11
I believe this is no longer true. But you can presumably use versions which came with earlier EULAs. (Not sure about any of this.)
– cfr
May 30 '16 at 3:40
add a comment |
Are you sure you're absolutely free to use them for any purpose? This software does come with a bunch of licenses, even though it doesn't cost any money. If you're talking about these fonts already, you should probably also mention Courier, which is in the same directory.
– doncherry
Sep 14 '12 at 4:22
I think you can use the fonts that come with Acrobat Reader for any purpose (but not modify the fonts themselves). See: typophile.com/node/14079 or the Reader EULA.
– Joseph
Sep 14 '12 at 23:43
brilliant! How many people knew this?
– enthdegree
Sep 24 '12 at 3:11
I believe this is no longer true. But you can presumably use versions which came with earlier EULAs. (Not sure about any of this.)
– cfr
May 30 '16 at 3:40
Are you sure you're absolutely free to use them for any purpose? This software does come with a bunch of licenses, even though it doesn't cost any money. If you're talking about these fonts already, you should probably also mention Courier, which is in the same directory.
– doncherry
Sep 14 '12 at 4:22
Are you sure you're absolutely free to use them for any purpose? This software does come with a bunch of licenses, even though it doesn't cost any money. If you're talking about these fonts already, you should probably also mention Courier, which is in the same directory.
– doncherry
Sep 14 '12 at 4:22
I think you can use the fonts that come with Acrobat Reader for any purpose (but not modify the fonts themselves). See: typophile.com/node/14079 or the Reader EULA.
– Joseph
Sep 14 '12 at 23:43
I think you can use the fonts that come with Acrobat Reader for any purpose (but not modify the fonts themselves). See: typophile.com/node/14079 or the Reader EULA.
– Joseph
Sep 14 '12 at 23:43
brilliant! How many people knew this?
– enthdegree
Sep 24 '12 at 3:11
brilliant! How many people knew this?
– enthdegree
Sep 24 '12 at 3:11
I believe this is no longer true. But you can presumably use versions which came with earlier EULAs. (Not sure about any of this.)
– cfr
May 30 '16 at 3:40
I believe this is no longer true. But you can presumably use versions which came with earlier EULAs. (Not sure about any of this.)
– cfr
May 30 '16 at 3:40
add a comment |
Here is the combination I'm using for my thesis:
- Serif: TeX Gyre Pagella
- Math: TeX Gyre Pagella Math
- Sans: URW Classico
- Greek Sans: Segoe UI
- Monospace: Lucida Sans Typewriter
Since I wanted to have the same font (family) for math and running text, I chose Pagella as
the main font from the little list of choice. URW Classico is a Optima clone and can be downloaded for free in some URW bundles. It fits very well to Palatino (clones). Infact it works too well in the running text, hence you cannot use it as emphasis. But I only used it for the chapter title and the figure text. In the figures I also needed sometimes greek letters. The URW Classico has only two or three of them and they look really ugly. Therefor I used Segoe UI for the greek sans alphabet.
I took Lucida Sans Typewriter, because it has the typewriter character some monospace fonts are missing. On the other hand it does not look too thin and wide as Courier New in my eyes.
Example code:
% !TeX program=xelatex
% !TeX encoding=UTF-8
documentclass[a5paper, 10pt]{scrartcl}
usepackage[english]{babel}
usepackage{amsmath}
%%%%%
% Font
%
usepackage{unicode-math}
%
% Roman
%
setmainfont[Ligatures=TeX, Numbers=OldStyle,
SmallCapsFeatures={LetterSpace=10, WordSpace={1.5}}]{TeX Gyre Pagella}
%
% Math
%
setmathfont[math-style=ISO, bold-style=ISO]{TeX Gyre Pagella Math}
% put limits over the integral
removenolimits{int}
% cramped style for inline math
% (only works with lualatex)
%everymath{crampedtextstyle}
%
% Sans
%
setsansfont[Scale=MatchLowercase,Ligatures=TeX]{URWClassico}
%
% Monospace
%
setmonofont[Scale=MatchLowercase]{Lucida Sans Typewriter}
% used for tables
defliningnumbers{addfontfeature{Numbers=Lining}}
%
% Sans mu and Omega
%
newfontfamilymufont[Scale=MatchLowercase]{Segoe UI}
defsansmu{{mufont µ}}
defsansOmega{{mufont Ω}}
usepackage{microtype}
usepackage{url}
begin{document}
section{Introduction}
Here is some random text that should present the font combination
of TeX{} Gyre Pagella for the running text, TeX{} Gyre Pagella Math for
math, URW Classico for sans text and Lucida Sans Typewriter. Here is a
small math example:
begin{equation}
int_{0}^{infty} mathup{e}^{-frac12 t^2}operatorname{d}! t = sqrt{frac{pi}{2}}text{.}
end{equation}
Next, we take a look on some textsf{sans words}. As you can see, the sans font fits very well, too well if you want to use it to emphasize text.
And finally a small example for the mono spaced font:
url{someone@stackexchange.com} is an email address. Probably no one will answer.
end{document}
I think it is nice except the sans font. The size and the weight doesn't match the serif.
– percusse
Jan 25 '15 at 23:05
@percusse, I do not use the sans font in the running text. And as a display font or for the figures it really works well.
– quinmars
Jan 25 '15 at 23:22
add a comment |
Here is the combination I'm using for my thesis:
- Serif: TeX Gyre Pagella
- Math: TeX Gyre Pagella Math
- Sans: URW Classico
- Greek Sans: Segoe UI
- Monospace: Lucida Sans Typewriter
Since I wanted to have the same font (family) for math and running text, I chose Pagella as
the main font from the little list of choice. URW Classico is a Optima clone and can be downloaded for free in some URW bundles. It fits very well to Palatino (clones). Infact it works too well in the running text, hence you cannot use it as emphasis. But I only used it for the chapter title and the figure text. In the figures I also needed sometimes greek letters. The URW Classico has only two or three of them and they look really ugly. Therefor I used Segoe UI for the greek sans alphabet.
I took Lucida Sans Typewriter, because it has the typewriter character some monospace fonts are missing. On the other hand it does not look too thin and wide as Courier New in my eyes.
Example code:
% !TeX program=xelatex
% !TeX encoding=UTF-8
documentclass[a5paper, 10pt]{scrartcl}
usepackage[english]{babel}
usepackage{amsmath}
%%%%%
% Font
%
usepackage{unicode-math}
%
% Roman
%
setmainfont[Ligatures=TeX, Numbers=OldStyle,
SmallCapsFeatures={LetterSpace=10, WordSpace={1.5}}]{TeX Gyre Pagella}
%
% Math
%
setmathfont[math-style=ISO, bold-style=ISO]{TeX Gyre Pagella Math}
% put limits over the integral
removenolimits{int}
% cramped style for inline math
% (only works with lualatex)
%everymath{crampedtextstyle}
%
% Sans
%
setsansfont[Scale=MatchLowercase,Ligatures=TeX]{URWClassico}
%
% Monospace
%
setmonofont[Scale=MatchLowercase]{Lucida Sans Typewriter}
% used for tables
defliningnumbers{addfontfeature{Numbers=Lining}}
%
% Sans mu and Omega
%
newfontfamilymufont[Scale=MatchLowercase]{Segoe UI}
defsansmu{{mufont µ}}
defsansOmega{{mufont Ω}}
usepackage{microtype}
usepackage{url}
begin{document}
section{Introduction}
Here is some random text that should present the font combination
of TeX{} Gyre Pagella for the running text, TeX{} Gyre Pagella Math for
math, URW Classico for sans text and Lucida Sans Typewriter. Here is a
small math example:
begin{equation}
int_{0}^{infty} mathup{e}^{-frac12 t^2}operatorname{d}! t = sqrt{frac{pi}{2}}text{.}
end{equation}
Next, we take a look on some textsf{sans words}. As you can see, the sans font fits very well, too well if you want to use it to emphasize text.
And finally a small example for the mono spaced font:
url{someone@stackexchange.com} is an email address. Probably no one will answer.
end{document}
I think it is nice except the sans font. The size and the weight doesn't match the serif.
– percusse
Jan 25 '15 at 23:05
@percusse, I do not use the sans font in the running text. And as a display font or for the figures it really works well.
– quinmars
Jan 25 '15 at 23:22
add a comment |
Here is the combination I'm using for my thesis:
- Serif: TeX Gyre Pagella
- Math: TeX Gyre Pagella Math
- Sans: URW Classico
- Greek Sans: Segoe UI
- Monospace: Lucida Sans Typewriter
Since I wanted to have the same font (family) for math and running text, I chose Pagella as
the main font from the little list of choice. URW Classico is a Optima clone and can be downloaded for free in some URW bundles. It fits very well to Palatino (clones). Infact it works too well in the running text, hence you cannot use it as emphasis. But I only used it for the chapter title and the figure text. In the figures I also needed sometimes greek letters. The URW Classico has only two or three of them and they look really ugly. Therefor I used Segoe UI for the greek sans alphabet.
I took Lucida Sans Typewriter, because it has the typewriter character some monospace fonts are missing. On the other hand it does not look too thin and wide as Courier New in my eyes.
Example code:
% !TeX program=xelatex
% !TeX encoding=UTF-8
documentclass[a5paper, 10pt]{scrartcl}
usepackage[english]{babel}
usepackage{amsmath}
%%%%%
% Font
%
usepackage{unicode-math}
%
% Roman
%
setmainfont[Ligatures=TeX, Numbers=OldStyle,
SmallCapsFeatures={LetterSpace=10, WordSpace={1.5}}]{TeX Gyre Pagella}
%
% Math
%
setmathfont[math-style=ISO, bold-style=ISO]{TeX Gyre Pagella Math}
% put limits over the integral
removenolimits{int}
% cramped style for inline math
% (only works with lualatex)
%everymath{crampedtextstyle}
%
% Sans
%
setsansfont[Scale=MatchLowercase,Ligatures=TeX]{URWClassico}
%
% Monospace
%
setmonofont[Scale=MatchLowercase]{Lucida Sans Typewriter}
% used for tables
defliningnumbers{addfontfeature{Numbers=Lining}}
%
% Sans mu and Omega
%
newfontfamilymufont[Scale=MatchLowercase]{Segoe UI}
defsansmu{{mufont µ}}
defsansOmega{{mufont Ω}}
usepackage{microtype}
usepackage{url}
begin{document}
section{Introduction}
Here is some random text that should present the font combination
of TeX{} Gyre Pagella for the running text, TeX{} Gyre Pagella Math for
math, URW Classico for sans text and Lucida Sans Typewriter. Here is a
small math example:
begin{equation}
int_{0}^{infty} mathup{e}^{-frac12 t^2}operatorname{d}! t = sqrt{frac{pi}{2}}text{.}
end{equation}
Next, we take a look on some textsf{sans words}. As you can see, the sans font fits very well, too well if you want to use it to emphasize text.
And finally a small example for the mono spaced font:
url{someone@stackexchange.com} is an email address. Probably no one will answer.
end{document}
Here is the combination I'm using for my thesis:
- Serif: TeX Gyre Pagella
- Math: TeX Gyre Pagella Math
- Sans: URW Classico
- Greek Sans: Segoe UI
- Monospace: Lucida Sans Typewriter
Since I wanted to have the same font (family) for math and running text, I chose Pagella as
the main font from the little list of choice. URW Classico is a Optima clone and can be downloaded for free in some URW bundles. It fits very well to Palatino (clones). Infact it works too well in the running text, hence you cannot use it as emphasis. But I only used it for the chapter title and the figure text. In the figures I also needed sometimes greek letters. The URW Classico has only two or three of them and they look really ugly. Therefor I used Segoe UI for the greek sans alphabet.
I took Lucida Sans Typewriter, because it has the typewriter character some monospace fonts are missing. On the other hand it does not look too thin and wide as Courier New in my eyes.
Example code:
% !TeX program=xelatex
% !TeX encoding=UTF-8
documentclass[a5paper, 10pt]{scrartcl}
usepackage[english]{babel}
usepackage{amsmath}
%%%%%
% Font
%
usepackage{unicode-math}
%
% Roman
%
setmainfont[Ligatures=TeX, Numbers=OldStyle,
SmallCapsFeatures={LetterSpace=10, WordSpace={1.5}}]{TeX Gyre Pagella}
%
% Math
%
setmathfont[math-style=ISO, bold-style=ISO]{TeX Gyre Pagella Math}
% put limits over the integral
removenolimits{int}
% cramped style for inline math
% (only works with lualatex)
%everymath{crampedtextstyle}
%
% Sans
%
setsansfont[Scale=MatchLowercase,Ligatures=TeX]{URWClassico}
%
% Monospace
%
setmonofont[Scale=MatchLowercase]{Lucida Sans Typewriter}
% used for tables
defliningnumbers{addfontfeature{Numbers=Lining}}
%
% Sans mu and Omega
%
newfontfamilymufont[Scale=MatchLowercase]{Segoe UI}
defsansmu{{mufont µ}}
defsansOmega{{mufont Ω}}
usepackage{microtype}
usepackage{url}
begin{document}
section{Introduction}
Here is some random text that should present the font combination
of TeX{} Gyre Pagella for the running text, TeX{} Gyre Pagella Math for
math, URW Classico for sans text and Lucida Sans Typewriter. Here is a
small math example:
begin{equation}
int_{0}^{infty} mathup{e}^{-frac12 t^2}operatorname{d}! t = sqrt{frac{pi}{2}}text{.}
end{equation}
Next, we take a look on some textsf{sans words}. As you can see, the sans font fits very well, too well if you want to use it to emphasize text.
And finally a small example for the mono spaced font:
url{someone@stackexchange.com} is an email address. Probably no one will answer.
end{document}
edited Apr 13 '17 at 12:36
community wiki
2 revs
quinmars
I think it is nice except the sans font. The size and the weight doesn't match the serif.
– percusse
Jan 25 '15 at 23:05
@percusse, I do not use the sans font in the running text. And as a display font or for the figures it really works well.
– quinmars
Jan 25 '15 at 23:22
add a comment |
I think it is nice except the sans font. The size and the weight doesn't match the serif.
– percusse
Jan 25 '15 at 23:05
@percusse, I do not use the sans font in the running text. And as a display font or for the figures it really works well.
– quinmars
Jan 25 '15 at 23:22
I think it is nice except the sans font. The size and the weight doesn't match the serif.
– percusse
Jan 25 '15 at 23:05
I think it is nice except the sans font. The size and the weight doesn't match the serif.
– percusse
Jan 25 '15 at 23:05
@percusse, I do not use the sans font in the running text. And as a display font or for the figures it really works well.
– quinmars
Jan 25 '15 at 23:22
@percusse, I do not use the sans font in the running text. And as a display font or for the figures it really works well.
– quinmars
Jan 25 '15 at 23:22
add a comment |
There's a nice, well-thought-out, apposite link here, though it doesn't adhere to the serif, sans, mono schema: http://laymanslayout.wordpress.com/freefacing/
Edit: After several hours of searching, I think Linux Libertine and Linux Biolinum is the safest, most convenient combination for Linux users. They look good together, and you get ligatures, small caps, etc. I tried to find something that would work well with LidoSTF, and Cabin almost fit the bill, but something seemed off. In any case, Libertine has more features than Lido, and is GPL.
add a comment |
There's a nice, well-thought-out, apposite link here, though it doesn't adhere to the serif, sans, mono schema: http://laymanslayout.wordpress.com/freefacing/
Edit: After several hours of searching, I think Linux Libertine and Linux Biolinum is the safest, most convenient combination for Linux users. They look good together, and you get ligatures, small caps, etc. I tried to find something that would work well with LidoSTF, and Cabin almost fit the bill, but something seemed off. In any case, Libertine has more features than Lido, and is GPL.
add a comment |
There's a nice, well-thought-out, apposite link here, though it doesn't adhere to the serif, sans, mono schema: http://laymanslayout.wordpress.com/freefacing/
Edit: After several hours of searching, I think Linux Libertine and Linux Biolinum is the safest, most convenient combination for Linux users. They look good together, and you get ligatures, small caps, etc. I tried to find something that would work well with LidoSTF, and Cabin almost fit the bill, but something seemed off. In any case, Libertine has more features than Lido, and is GPL.
There's a nice, well-thought-out, apposite link here, though it doesn't adhere to the serif, sans, mono schema: http://laymanslayout.wordpress.com/freefacing/
Edit: After several hours of searching, I think Linux Libertine and Linux Biolinum is the safest, most convenient combination for Linux users. They look good together, and you get ligatures, small caps, etc. I tried to find something that would work well with LidoSTF, and Cabin almost fit the bill, but something seemed off. In any case, Libertine has more features than Lido, and is GPL.
edited Dec 23 '11 at 20:16
community wiki
2 revs
tyche
add a comment |
add a comment |
I like Courier (note: not Courier New!) for mono, Marion for roman, and Cambria Math for math. They are a bit different weight, but scaling to x-height helps. Unfortunately, it should be mentioned, Marion lacks smallcaps.
documentclass[11pt]{article}
usepackage[fleqn]{amsmath}
usepackage{fancyvrb}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{Marion}
setmathfont[Scale=MatchLowercase]{Cambria Math}
setmonofont[Scale=MatchLowercase]{Courier}
setlength{textwidth}{24pc}
setlength{parindent}{1em}
fvset{xleftmargin=2parindent}
begin{document}
noindent
A number $n>1$ is prime if it cannot be written as a product of two integers $a$ and~$b$, both of which are larger than~$1$: [
n = a cdot b.
]
Here, have a verb|primes| stream:
begin{Verbatim}
(define (sieve s)
(cons-stream
(head s)
(sieve (filter
(lambda (x)
(not
(divisible? x (head s))))
(tail s)))))
(define primes
(sieve (integers-from 2)))
end{Verbatim}
end{document}
It looks like this:
(+1) Thanks, I didn't know about Marion font.
– chl
May 14 '13 at 9:58
2
Oh snap, theve
kerning is pretty horrendous on Marion, I can't believe I didn't notice it when posting this!
– morbusg
May 14 '17 at 9:39
add a comment |
I like Courier (note: not Courier New!) for mono, Marion for roman, and Cambria Math for math. They are a bit different weight, but scaling to x-height helps. Unfortunately, it should be mentioned, Marion lacks smallcaps.
documentclass[11pt]{article}
usepackage[fleqn]{amsmath}
usepackage{fancyvrb}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{Marion}
setmathfont[Scale=MatchLowercase]{Cambria Math}
setmonofont[Scale=MatchLowercase]{Courier}
setlength{textwidth}{24pc}
setlength{parindent}{1em}
fvset{xleftmargin=2parindent}
begin{document}
noindent
A number $n>1$ is prime if it cannot be written as a product of two integers $a$ and~$b$, both of which are larger than~$1$: [
n = a cdot b.
]
Here, have a verb|primes| stream:
begin{Verbatim}
(define (sieve s)
(cons-stream
(head s)
(sieve (filter
(lambda (x)
(not
(divisible? x (head s))))
(tail s)))))
(define primes
(sieve (integers-from 2)))
end{Verbatim}
end{document}
It looks like this:
(+1) Thanks, I didn't know about Marion font.
– chl
May 14 '13 at 9:58
2
Oh snap, theve
kerning is pretty horrendous on Marion, I can't believe I didn't notice it when posting this!
– morbusg
May 14 '17 at 9:39
add a comment |
I like Courier (note: not Courier New!) for mono, Marion for roman, and Cambria Math for math. They are a bit different weight, but scaling to x-height helps. Unfortunately, it should be mentioned, Marion lacks smallcaps.
documentclass[11pt]{article}
usepackage[fleqn]{amsmath}
usepackage{fancyvrb}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{Marion}
setmathfont[Scale=MatchLowercase]{Cambria Math}
setmonofont[Scale=MatchLowercase]{Courier}
setlength{textwidth}{24pc}
setlength{parindent}{1em}
fvset{xleftmargin=2parindent}
begin{document}
noindent
A number $n>1$ is prime if it cannot be written as a product of two integers $a$ and~$b$, both of which are larger than~$1$: [
n = a cdot b.
]
Here, have a verb|primes| stream:
begin{Verbatim}
(define (sieve s)
(cons-stream
(head s)
(sieve (filter
(lambda (x)
(not
(divisible? x (head s))))
(tail s)))))
(define primes
(sieve (integers-from 2)))
end{Verbatim}
end{document}
It looks like this:
I like Courier (note: not Courier New!) for mono, Marion for roman, and Cambria Math for math. They are a bit different weight, but scaling to x-height helps. Unfortunately, it should be mentioned, Marion lacks smallcaps.
documentclass[11pt]{article}
usepackage[fleqn]{amsmath}
usepackage{fancyvrb}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{Marion}
setmathfont[Scale=MatchLowercase]{Cambria Math}
setmonofont[Scale=MatchLowercase]{Courier}
setlength{textwidth}{24pc}
setlength{parindent}{1em}
fvset{xleftmargin=2parindent}
begin{document}
noindent
A number $n>1$ is prime if it cannot be written as a product of two integers $a$ and~$b$, both of which are larger than~$1$: [
n = a cdot b.
]
Here, have a verb|primes| stream:
begin{Verbatim}
(define (sieve s)
(cons-stream
(head s)
(sieve (filter
(lambda (x)
(not
(divisible? x (head s))))
(tail s)))))
(define primes
(sieve (integers-from 2)))
end{Verbatim}
end{document}
It looks like this:
answered May 14 '13 at 9:34
community wiki
morbusg
(+1) Thanks, I didn't know about Marion font.
– chl
May 14 '13 at 9:58
2
Oh snap, theve
kerning is pretty horrendous on Marion, I can't believe I didn't notice it when posting this!
– morbusg
May 14 '17 at 9:39
add a comment |
(+1) Thanks, I didn't know about Marion font.
– chl
May 14 '13 at 9:58
2
Oh snap, theve
kerning is pretty horrendous on Marion, I can't believe I didn't notice it when posting this!
– morbusg
May 14 '17 at 9:39
(+1) Thanks, I didn't know about Marion font.
– chl
May 14 '13 at 9:58
(+1) Thanks, I didn't know about Marion font.
– chl
May 14 '13 at 9:58
2
2
Oh snap, the
ve
kerning is pretty horrendous on Marion, I can't believe I didn't notice it when posting this!– morbusg
May 14 '17 at 9:39
Oh snap, the
ve
kerning is pretty horrendous on Marion, I can't believe I didn't notice it when posting this!– morbusg
May 14 '17 at 9:39
add a comment |
How about the Lucida family? It is not free, but very nice.
1
Do you have a link that one can follow to view the fonts? How would you create a document that uses the Lucida family? Please elaborate on your current suggestion.
– Werner
Dec 23 '11 at 6:26
Samples of these fonts can be found at pctex.com/Lucida_Fonts.html complete documentation on how to use them comes with the fonts
– Per
Dec 23 '11 at 19:28
1
TUG members get a discount on Lucida fonts: tug.org/store/lucida/index.html
– Torbjørn T.
Dec 23 '11 at 20:56
3
The Lucida OpenType fonts have been released today. They are available from the TUG Store (same link as above).
– Ulrik Vieth
Mar 16 '12 at 19:48
add a comment |
How about the Lucida family? It is not free, but very nice.
1
Do you have a link that one can follow to view the fonts? How would you create a document that uses the Lucida family? Please elaborate on your current suggestion.
– Werner
Dec 23 '11 at 6:26
Samples of these fonts can be found at pctex.com/Lucida_Fonts.html complete documentation on how to use them comes with the fonts
– Per
Dec 23 '11 at 19:28
1
TUG members get a discount on Lucida fonts: tug.org/store/lucida/index.html
– Torbjørn T.
Dec 23 '11 at 20:56
3
The Lucida OpenType fonts have been released today. They are available from the TUG Store (same link as above).
– Ulrik Vieth
Mar 16 '12 at 19:48
add a comment |
How about the Lucida family? It is not free, but very nice.
How about the Lucida family? It is not free, but very nice.
answered Dec 23 '11 at 5:26
community wiki
Per
1
Do you have a link that one can follow to view the fonts? How would you create a document that uses the Lucida family? Please elaborate on your current suggestion.
– Werner
Dec 23 '11 at 6:26
Samples of these fonts can be found at pctex.com/Lucida_Fonts.html complete documentation on how to use them comes with the fonts
– Per
Dec 23 '11 at 19:28
1
TUG members get a discount on Lucida fonts: tug.org/store/lucida/index.html
– Torbjørn T.
Dec 23 '11 at 20:56
3
The Lucida OpenType fonts have been released today. They are available from the TUG Store (same link as above).
– Ulrik Vieth
Mar 16 '12 at 19:48
add a comment |
1
Do you have a link that one can follow to view the fonts? How would you create a document that uses the Lucida family? Please elaborate on your current suggestion.
– Werner
Dec 23 '11 at 6:26
Samples of these fonts can be found at pctex.com/Lucida_Fonts.html complete documentation on how to use them comes with the fonts
– Per
Dec 23 '11 at 19:28
1
TUG members get a discount on Lucida fonts: tug.org/store/lucida/index.html
– Torbjørn T.
Dec 23 '11 at 20:56
3
The Lucida OpenType fonts have been released today. They are available from the TUG Store (same link as above).
– Ulrik Vieth
Mar 16 '12 at 19:48
1
1
Do you have a link that one can follow to view the fonts? How would you create a document that uses the Lucida family? Please elaborate on your current suggestion.
– Werner
Dec 23 '11 at 6:26
Do you have a link that one can follow to view the fonts? How would you create a document that uses the Lucida family? Please elaborate on your current suggestion.
– Werner
Dec 23 '11 at 6:26
Samples of these fonts can be found at pctex.com/Lucida_Fonts.html complete documentation on how to use them comes with the fonts
– Per
Dec 23 '11 at 19:28
Samples of these fonts can be found at pctex.com/Lucida_Fonts.html complete documentation on how to use them comes with the fonts
– Per
Dec 23 '11 at 19:28
1
1
TUG members get a discount on Lucida fonts: tug.org/store/lucida/index.html
– Torbjørn T.
Dec 23 '11 at 20:56
TUG members get a discount on Lucida fonts: tug.org/store/lucida/index.html
– Torbjørn T.
Dec 23 '11 at 20:56
3
3
The Lucida OpenType fonts have been released today. They are available from the TUG Store (same link as above).
– Ulrik Vieth
Mar 16 '12 at 19:48
The Lucida OpenType fonts have been released today. They are available from the TUG Store (same link as above).
– Ulrik Vieth
Mar 16 '12 at 19:48
add a comment |
I usually use TheSansMono condensed for code listing. Otherwise I use Consolas for Mono font.
For serif and sans fonts, and math fonts, below are some pairings I use frequently,
- Minion/Cronos/Minion math
- Minion/Syntax/Minion math
- Scala/Scala sans/Minion math
- Times (Linotype version)/candara/Math time pro 2
- Lucida bright/Lucida sans/Lucida math (new OT version)
- Palatino/optima/PAmath
Most fonts I use are commercial. Just those listed here will set you back by about $2000. So you may consider some free alternatives. I won't recommend the TeX Gyre fonts like Pagella. Their small caps, text figures are crap. Especially Termes and Hero. The only free fonts that I would you are Latin Modern and Euler math
If possible, I recommend get one set of good commercial fonts. The Minion and Times combo above are most versatile ones. You can use them in almost any technical documents. The former is a humanist design while the later is transitional. If a modern font is suitable for your documents, Latin modern is a good choice.
Scala/Palatino combos are a little bit too lively, calligraphic, for some purpose.
Lucida is good when you need to set in small size, with wide measure. It's highly readable.
This is useful, but it doesn't actually answer this question which specified freely available fonts.
– cfr
May 30 '16 at 3:42
add a comment |
I usually use TheSansMono condensed for code listing. Otherwise I use Consolas for Mono font.
For serif and sans fonts, and math fonts, below are some pairings I use frequently,
- Minion/Cronos/Minion math
- Minion/Syntax/Minion math
- Scala/Scala sans/Minion math
- Times (Linotype version)/candara/Math time pro 2
- Lucida bright/Lucida sans/Lucida math (new OT version)
- Palatino/optima/PAmath
Most fonts I use are commercial. Just those listed here will set you back by about $2000. So you may consider some free alternatives. I won't recommend the TeX Gyre fonts like Pagella. Their small caps, text figures are crap. Especially Termes and Hero. The only free fonts that I would you are Latin Modern and Euler math
If possible, I recommend get one set of good commercial fonts. The Minion and Times combo above are most versatile ones. You can use them in almost any technical documents. The former is a humanist design while the later is transitional. If a modern font is suitable for your documents, Latin modern is a good choice.
Scala/Palatino combos are a little bit too lively, calligraphic, for some purpose.
Lucida is good when you need to set in small size, with wide measure. It's highly readable.
This is useful, but it doesn't actually answer this question which specified freely available fonts.
– cfr
May 30 '16 at 3:42
add a comment |
I usually use TheSansMono condensed for code listing. Otherwise I use Consolas for Mono font.
For serif and sans fonts, and math fonts, below are some pairings I use frequently,
- Minion/Cronos/Minion math
- Minion/Syntax/Minion math
- Scala/Scala sans/Minion math
- Times (Linotype version)/candara/Math time pro 2
- Lucida bright/Lucida sans/Lucida math (new OT version)
- Palatino/optima/PAmath
Most fonts I use are commercial. Just those listed here will set you back by about $2000. So you may consider some free alternatives. I won't recommend the TeX Gyre fonts like Pagella. Their small caps, text figures are crap. Especially Termes and Hero. The only free fonts that I would you are Latin Modern and Euler math
If possible, I recommend get one set of good commercial fonts. The Minion and Times combo above are most versatile ones. You can use them in almost any technical documents. The former is a humanist design while the later is transitional. If a modern font is suitable for your documents, Latin modern is a good choice.
Scala/Palatino combos are a little bit too lively, calligraphic, for some purpose.
Lucida is good when you need to set in small size, with wide measure. It's highly readable.
I usually use TheSansMono condensed for code listing. Otherwise I use Consolas for Mono font.
For serif and sans fonts, and math fonts, below are some pairings I use frequently,
- Minion/Cronos/Minion math
- Minion/Syntax/Minion math
- Scala/Scala sans/Minion math
- Times (Linotype version)/candara/Math time pro 2
- Lucida bright/Lucida sans/Lucida math (new OT version)
- Palatino/optima/PAmath
Most fonts I use are commercial. Just those listed here will set you back by about $2000. So you may consider some free alternatives. I won't recommend the TeX Gyre fonts like Pagella. Their small caps, text figures are crap. Especially Termes and Hero. The only free fonts that I would you are Latin Modern and Euler math
If possible, I recommend get one set of good commercial fonts. The Minion and Times combo above are most versatile ones. You can use them in almost any technical documents. The former is a humanist design while the later is transitional. If a modern font is suitable for your documents, Latin modern is a good choice.
Scala/Palatino combos are a little bit too lively, calligraphic, for some purpose.
Lucida is good when you need to set in small size, with wide measure. It's highly readable.
answered May 30 '16 at 3:18
community wiki
Yan Zhou
This is useful, but it doesn't actually answer this question which specified freely available fonts.
– cfr
May 30 '16 at 3:42
add a comment |
This is useful, but it doesn't actually answer this question which specified freely available fonts.
– cfr
May 30 '16 at 3:42
This is useful, but it doesn't actually answer this question which specified freely available fonts.
– cfr
May 30 '16 at 3:42
This is useful, but it doesn't actually answer this question which specified freely available fonts.
– cfr
May 30 '16 at 3:42
add a comment |
The recent acmart
class (from ACM, see https://ctan.org/pkg/acmart) combines Libertine, Biolinum and Inconsolata using the following pdflatex-compatible setup (I hope I'm not forgetting anything font-relevant from the class) — I just switched my thesis to using it and it seems to be looking extremely good. I'm posting the code because there's a million possible choices (texdoc newtxmath
seems especially daunting), but the result looks pretty good.
usepackage[tt=false]{libertine}
usepackage[varqu]{zi4}
usepackage[libertine]{newtxmath}
Only concern I run into: I feel Biolinum bold is not bold enough for the book title on the title page, even though it seems no less bold than Latin Modern Sans—I'd like a bolder or black variant, like Myriad Pro Black or Optima ExtraBlack. But since that's the only exception, I'd consider using a clearly distinct font just for the title (which is unique anyway).
I'm not sure why I'd like a Biolinum Black, but I suspect I'm reminded of Optima ExtraBlack, which I use often and which like Biolinum is a rare sans serif with visibly varying stroke width (more like common serif fonts).
– Blaisorblade
Aug 24 '17 at 12:19
add a comment |
The recent acmart
class (from ACM, see https://ctan.org/pkg/acmart) combines Libertine, Biolinum and Inconsolata using the following pdflatex-compatible setup (I hope I'm not forgetting anything font-relevant from the class) — I just switched my thesis to using it and it seems to be looking extremely good. I'm posting the code because there's a million possible choices (texdoc newtxmath
seems especially daunting), but the result looks pretty good.
usepackage[tt=false]{libertine}
usepackage[varqu]{zi4}
usepackage[libertine]{newtxmath}
Only concern I run into: I feel Biolinum bold is not bold enough for the book title on the title page, even though it seems no less bold than Latin Modern Sans—I'd like a bolder or black variant, like Myriad Pro Black or Optima ExtraBlack. But since that's the only exception, I'd consider using a clearly distinct font just for the title (which is unique anyway).
I'm not sure why I'd like a Biolinum Black, but I suspect I'm reminded of Optima ExtraBlack, which I use often and which like Biolinum is a rare sans serif with visibly varying stroke width (more like common serif fonts).
– Blaisorblade
Aug 24 '17 at 12:19
add a comment |
The recent acmart
class (from ACM, see https://ctan.org/pkg/acmart) combines Libertine, Biolinum and Inconsolata using the following pdflatex-compatible setup (I hope I'm not forgetting anything font-relevant from the class) — I just switched my thesis to using it and it seems to be looking extremely good. I'm posting the code because there's a million possible choices (texdoc newtxmath
seems especially daunting), but the result looks pretty good.
usepackage[tt=false]{libertine}
usepackage[varqu]{zi4}
usepackage[libertine]{newtxmath}
Only concern I run into: I feel Biolinum bold is not bold enough for the book title on the title page, even though it seems no less bold than Latin Modern Sans—I'd like a bolder or black variant, like Myriad Pro Black or Optima ExtraBlack. But since that's the only exception, I'd consider using a clearly distinct font just for the title (which is unique anyway).
The recent acmart
class (from ACM, see https://ctan.org/pkg/acmart) combines Libertine, Biolinum and Inconsolata using the following pdflatex-compatible setup (I hope I'm not forgetting anything font-relevant from the class) — I just switched my thesis to using it and it seems to be looking extremely good. I'm posting the code because there's a million possible choices (texdoc newtxmath
seems especially daunting), but the result looks pretty good.
usepackage[tt=false]{libertine}
usepackage[varqu]{zi4}
usepackage[libertine]{newtxmath}
Only concern I run into: I feel Biolinum bold is not bold enough for the book title on the title page, even though it seems no less bold than Latin Modern Sans—I'd like a bolder or black variant, like Myriad Pro Black or Optima ExtraBlack. But since that's the only exception, I'd consider using a clearly distinct font just for the title (which is unique anyway).
answered Aug 24 '17 at 12:18
community wiki
Blaisorblade
I'm not sure why I'd like a Biolinum Black, but I suspect I'm reminded of Optima ExtraBlack, which I use often and which like Biolinum is a rare sans serif with visibly varying stroke width (more like common serif fonts).
– Blaisorblade
Aug 24 '17 at 12:19
add a comment |
I'm not sure why I'd like a Biolinum Black, but I suspect I'm reminded of Optima ExtraBlack, which I use often and which like Biolinum is a rare sans serif with visibly varying stroke width (more like common serif fonts).
– Blaisorblade
Aug 24 '17 at 12:19
I'm not sure why I'd like a Biolinum Black, but I suspect I'm reminded of Optima ExtraBlack, which I use often and which like Biolinum is a rare sans serif with visibly varying stroke width (more like common serif fonts).
– Blaisorblade
Aug 24 '17 at 12:19
I'm not sure why I'd like a Biolinum Black, but I suspect I'm reminded of Optima ExtraBlack, which I use often and which like Biolinum is a rare sans serif with visibly varying stroke width (more like common serif fonts).
– Blaisorblade
Aug 24 '17 at 12:19
add a comment |
Arkandis Digital Foundry offers a range of free font families. Some have LaTeX support packages for type1 and/or opentype versions; others could be used in the same way as other truetype/opentype fonts.
add a comment |
Arkandis Digital Foundry offers a range of free font families. Some have LaTeX support packages for type1 and/or opentype versions; others could be used in the same way as other truetype/opentype fonts.
add a comment |
Arkandis Digital Foundry offers a range of free font families. Some have LaTeX support packages for type1 and/or opentype versions; others could be used in the same way as other truetype/opentype fonts.
Arkandis Digital Foundry offers a range of free font families. Some have LaTeX support packages for type1 and/or opentype versions; others could be used in the same way as other truetype/opentype fonts.
answered Jan 25 '15 at 23:10
community wiki
cfr
add a comment |
add a comment |
For anyone coming here and seeing that the often mentioned Font Inconsolata is not available with usepackage{inconsolata}
. The package was renamed and you can use it now with usepackage{zi4}
.
See also this question.
add a comment |
For anyone coming here and seeing that the often mentioned Font Inconsolata is not available with usepackage{inconsolata}
. The package was renamed and you can use it now with usepackage{zi4}
.
See also this question.
add a comment |
For anyone coming here and seeing that the often mentioned Font Inconsolata is not available with usepackage{inconsolata}
. The package was renamed and you can use it now with usepackage{zi4}
.
See also this question.
For anyone coming here and seeing that the often mentioned Font Inconsolata is not available with usepackage{inconsolata}
. The package was renamed and you can use it now with usepackage{zi4}
.
See also this question.
edited Apr 13 '17 at 12:35
community wiki
2 revs
bugybunny
add a comment |
add a comment |
Times + Helvetica + Courier
This combination probably is the most widely used one (except for Knuth's Computer Modern). Although someone may dislike it, I still think it's rather formal and "scientific".
Here, I use the open-source version: XITS (Math) + TeX Gyre Heros + TeX Gyre Cursor.
EB Garamond
EB Garamond is a high-quality open-source humanist serif font. I use Libertinus Sans (a fork of Linux Biolinum) and Latin Modern Mono Light (maybe you can find a better one?) to match with it. EB Garamond has a fork for unicode-math: Garamond-Math.
add a comment |
Times + Helvetica + Courier
This combination probably is the most widely used one (except for Knuth's Computer Modern). Although someone may dislike it, I still think it's rather formal and "scientific".
Here, I use the open-source version: XITS (Math) + TeX Gyre Heros + TeX Gyre Cursor.
EB Garamond
EB Garamond is a high-quality open-source humanist serif font. I use Libertinus Sans (a fork of Linux Biolinum) and Latin Modern Mono Light (maybe you can find a better one?) to match with it. EB Garamond has a fork for unicode-math: Garamond-Math.
add a comment |
Times + Helvetica + Courier
This combination probably is the most widely used one (except for Knuth's Computer Modern). Although someone may dislike it, I still think it's rather formal and "scientific".
Here, I use the open-source version: XITS (Math) + TeX Gyre Heros + TeX Gyre Cursor.
EB Garamond
EB Garamond is a high-quality open-source humanist serif font. I use Libertinus Sans (a fork of Linux Biolinum) and Latin Modern Mono Light (maybe you can find a better one?) to match with it. EB Garamond has a fork for unicode-math: Garamond-Math.
Times + Helvetica + Courier
This combination probably is the most widely used one (except for Knuth's Computer Modern). Although someone may dislike it, I still think it's rather formal and "scientific".
Here, I use the open-source version: XITS (Math) + TeX Gyre Heros + TeX Gyre Cursor.
EB Garamond
EB Garamond is a high-quality open-source humanist serif font. I use Libertinus Sans (a fork of Linux Biolinum) and Latin Modern Mono Light (maybe you can find a better one?) to match with it. EB Garamond has a fork for unicode-math: Garamond-Math.
answered 3 mins ago
community wiki
Stone-Zeng
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f9533%2fwhat-best-combination-of-fonts-for-serif-sans-and-mono-do-you-recommend%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Unfortunately, most of the fonts you mentioned are kind of expensive and don’t ship with typical software. For example, while Baskerville is available on a lot of systems, ITC New Baskerville is not, and is substantially better. Among others, Baskerville is missing small caps and lining figures.
– Konrad Rudolph
Jan 23 '11 at 11:11
@Konrad Ah, but except for ITC Baskerville, Pragmata (might be replaced by Inconsolata), and fonts shipped with Apple OSs, other fonts are circulating on font-dedicated websites, aren't they? Anyway, the idea is just to see if anyone has experienced a good rendering with any three kind of font families, on any platform (I'm on a Mac, but it doesn't matter so much).
– chl
Jan 23 '11 at 11:56
@chl: what do you mean by “circulate on font-dedicated websites”? Not for free, surely (at least, not legally). For example, the whole Minion Pro font pack sells for $800 at Paratype.com, and FF Scala costs €490,00 at Fontshop.com.
– Konrad Rudolph
Jan 23 '11 at 13:26
5
@Konrad, chl: there is also the Minion/Myriad Pro that comes with Adobe Reader. It seems to support many of the features of the pro versions (but no optical sizes), and there is also a professional math font based on Minion Pro (unfortunately without OpenType math support yet).
– Philipp
Jan 23 '11 at 21:54
2
@Konrad: Look into the directory
Adobe Reader.app/Contents/Resources/Resource/Font
or similar (or search theAdobe Reader.app
directory for*.otf
files). You have to add the fonts manually to Font Book to use them, but the font files are there and usable.– Philipp
Jan 24 '11 at 13:21