@JasperHabicht so annoying when people delete questions mid-answer:
\documentclass{article}
\usepackage{amsmath}
\usepackage{stackengine}
\begin{document}
\[
\xrightarrow
[
\substack
{
\def\stackalignment{l}
\stackunder{This is some text.}{This is some more text.}
}
]
{}
\]
\end{document}
@cfr I bought Kopka and Daly and TLC2 when I first started LaTeX (~2004) - I was a research assistant so on a reasonable but not great amount - but yes I was not a student
@cfr Partly mindset - I bought a book on Lua to learn, and I'm currently re-reading one on Python - I expect to learn stuff from books :)
@cfr I mean that I'd not even consider trying to learn LaTeX or any other programming language without at least using one book - maybe from a library, but certainly would want something on dead trees
Since each department at my university has different guidelines regarding margin settings and line spacing, I would like to execute different commands based on the department specified in the preamble.
So Herbert provided a super fast fix for dejavu-otf, though for my class I can have users on OverLeaf. Is there a way to hook into a package in order to execute code if the version date is younger than a certain date?
@daleif Depending on the package and the patch, you can simply patch a package within a project. In particular, if only the .sty file needs a patch, you can simply upload the new file into the project, and it will be used instead of the installed version.
@yo' I'm providing a class for other employees to use (and they can use OverLeaf, this rewrite is specifically to make it easier for them), I just do not like distributing a copy of someone elses package. Or ask uses to manually update a package in OverLeaf because overleaf does not update pacdkages (for good reason).
Though here dejavu-otf with the usefilenames options will not work on OL currently either.
BTW: when can a Type 1 font safely be loaded by lualatex? Do we need a TU reencoding?
Again regarding dejavu-otf, I can see that Herbert sets \mathversion{normal} and if I test using \blindmathpaper (from blindtext), I keep getting errors on \mathrm. MWE in 2min
@UlrikeFischer You said in a comment that that header setup of mine is "quite curious". Would you mind elaborating a bit? Would setting up "a suitable header definition" avoid that equality test, or just move it somewhere else?
@JosephWright Well, if you think it might be useful for that use case, please keep me posted.
Btw, I'm still in the process, but regression tests are already passing. And I think I'll be able to simply ditch a sizeable chunk of the package, and one of the parts which had originally been most difficult to get working right, with a simple straightforward application of ltmarks. And functionality is not only not compromised but improved. I'm not sure if he appreciates this kind of comment but, if someone here thinks he does, please send a big hat tip for FMi on that account. :-)