@egreg I did never use Xe(La)TeX, but Herbert telles again and again, that it can be used with fontenc, as well. Do you know this. Then you could write an answer to the kerkis question.
@egreg I did not search for, but is the Opentype version on CTAN? If not, this could be the reason, why Kerkis is not in TL. It is also not included in MiKTeX, what is more liberal with the licences.
I'm writing some lecture notes on representation of posets (lots of maths and diagrams), and I don't want to use CM or Latin Modern. I was wondering what fonts would you (anyone who reads this question) suggest? Basically I'm looking for a sober nice font (it could even be commercial).
@GonzaloMedina No,as I’m have no experience at all. Generally I love the Garamond versions, but maybe they are too small for your needs. Perhaps @tohecz could say something.
@Gonzalo hi Gonzalo! I'm so sorry, I didn't see your ping. :-(
Guys, something fishy is going on right now: I'm in the bus and this cute girl in the seat on my left just opened her notebook and started playing WoW.
@CodeMocker You know, there's a captioned picture that compare people liking your own FCB posts with a kangaroo doing auto-fellatio
@GonzaloMedina Hi! Well, given the quite limited choice of well-made math fonts, you can always choose a math font, and then try to match it with text fonts. And if the one math font doesn't work for you, you can try another one
@GonzaloMedina I think the better the font becomes the terrible it's math part is. It's not that the font designer is bad or they don't know math. It's just suddenly the math becomes too pronounced. As if we are rewriting Principia or something. I think a tone down math font is much more effective than the fancy curvy gammas or f's. But that's a matter of taste of course.
@GonzaloMedina Like you I'm also still searching for a lucid math font that goes well enough with well-known superb fonts without stealing the thunder of the text
@egreg I see. After trying several alternatives, fourier seems to me like the best choice. Do you know if there's a nice math font matching Baskerville for text?
The commath package use the TeX command \ifinner to select between inline math mode and display math mode. Because of this, it fail to work properly with some display math environments.
In the breqn package, we find:
The test \ifinner is unreliable for distinguishing whether we are in a disp...
The definition of \Dif in commath.sty is
\DeclareMathOperator{\Dif}{D \!}
which is simply wrong. The \! backspace is the cause of your problem. It's not the only part in commath that I consider wrong, so I can't recommend using the package.
A more correct definition would be
\newcommand{\Dif...
The problem you face is due to commath. I can't recommend using this package under any circumstance. Examples:
\documentclass{article}
\usepackage[charter]{mathdesign}
\usepackage{amsmath}
\usepackage{commath}
\begin{document}
With \texttt{commath}
\begin{gather}
\dif(f\wedge g) \\
\left(\pd{f}{...
@egreg: The following is what I did so far. Any comment is welcome.
\documentclass[preview,border=12pt,12pt]{standalone}
\usepackage{palatino}
\usepackage{amsmath}
\newcommand\der[2][x]{\frac{\mathrm{d}#2}{\mathrm{d}#1}}
\newcommand\derr[2][x]{\frac{\mathrm{d}^2#2}{\mathrm{d}#1^2}}
\newcommand\Der[2][x]{\frac{\mathrm{d}}{\mathrm{d}#1}\left(#2\right)}
\newcommand\Dif[1]{\mathop{}\!\mathrm{d}\left(#1\right)}
\newcommand\dif[1]{\mathop{}\!\mathrm{d}#1}
\begin{document}
Let
\[
k=\frac{qN_D}{\epsilon \epsilon_0}
\]
so we have
\begin{gather*}
\derr{\phi}=-k\\
\Der{\der\phi}=-k\\
@JosephWright yes, not followed all the details but it seems about right, agree you should stick to the simple 1-1 character map version (and the list could be shorter for pdftex) I'd not noticed Uchar before, being expandable sounds useful, I suppose a few thousand long \ifcase test for xetex wouldn't count as an expandable version there?
@DavidCarlisle The XeTeX version uses \str_case:nn, which is why it's too slow with LuaTeX
@DavidCarlisle It's a shame there is no \Uchar in XeTeX as you could then use ranges and basic maths
@DavidCarlisle Bruno will likely write a 'proper' higher level mapping for the title casing later, I guess: at present I want the case-folding and really 1-1. (I note the Unicode doc itself is upper case, so I'd naturally upper case to compare to it, not lower case!)
@DavidCarlisle BTW, \str_case:nn comes down to \ifnum\pdfstrcmp{\unexpanded{#1}}{\unexpanded{#2}}=\z@
@JosephWright is there an easy expandable way to write a number in hex, or do I have to code it up by hand with \numexpr and an ifcase for the hex digits?
@JosephWright same as classic TeX "A0 requires uppercase and ^^a0 requires lowercase which is annoying if you want to generate the former to pass to the latter in \scantokens
@JosephWright Oh, I should read more carefully. The OP noticed the same already. But so the question cannot be answered, or am I wrong here? Note, that a bounty is set, too.
@JosephWright Another one: MikTex Download Failure - toptesi.tar.lzma See my CW answer. I would initiate closing as off-topic. but what happens then (because it was migrated)?
@JosephWright Yes. So what happens, when a migrated question gets closed? This one counts a answered, but no one can give auseful answer anymore. In general I think, such question should be closed, when the bug was fixed.
Does anyone here know if it is even possible to apply a label to a TikZ edge via style? It doesn't really make sense from a language-study perspective, but if anyone knows an analog I'd be grateful to open a Q and get an answer :-)