« first day (4229 days earlier)      last day (710 days later) » 

5:57 AM
@barbarabeeton Oh, they know things much better than I do (and I'm just thinking out loud). Equation numbers to the left is probably the smallest problem in the question. I am also hesitant to the logical structure in ending proofs with a square in a displayed formula, flush right. It looks a bit like tagging the equation. Maybe the real problem there is ending proofs with displayed formulas.
 
 
2 hours later…
yo'
7:44 AM
@mickep but that's entirely fine (ending proofs with a formula). Mathematicians tend not to write more than necessary :)
 
@yo' Good point.
 
I expect the answer to the following is no, but I'll ask anyway. Suppose I defined something like \newcommand{\dd}{\ensuremath{\delta}} as I use this symbol often, both in formulas and in isolation. Now if I write foo \dd bar, then it will be typeset without a space in front of "bar", i.e. "δbar" instead of "δ bar".
At the moment I use foo \dd\ bar. Is there a simple way to define \dd in a way so that this is not necessary in text mode, yet it still works fine in math mode?
Never mind
22
Q: No space present after ensuremath

Bill CheathamWhen I insert a short maths section in a sentence, it renders fine with a space each side as expected: ...returned $\mathcal{P}$ from... If I define a command to do the same thing, it also renders with a space each side: \newcommand{\pc}{\mathcal{P}} ... ...returned $\pc$ from... However, i...

Should have searched more
 
@Szabolcs somebody will nag at me, but something like \ifmmode\delta\else $\delta$\xspace\fi? (with the xspace package?)
 
Indeed that works. Why do people seem to be saying that xspace should be avoided?
 
8:05 AM
@Szabolcs With people you mean especially the package author?
 
8:28 AM
175
Q: Drawbacks of xspace

MohanI'm certain I have read that xspace can cause more problems than it solves. But I cannot find anything to that effect either on this site or the web. Are there any drawbacks or risks associated with it?

13
Q: Acceptable use cases for xspace; When will it fail?

cslstrI have used xspace for a long time to take care of adding space after usage of some macros. Usually, it is with a macro to format a word consistently, as in: \documentclass[]{article} \usepackage{xspace} \begin{document} \newcommand{\matlab}{\textsc{matlab}\xspace} \newcommand{\enterprise}{\emp...

 
8:43 AM
@Szabolcs I would avoid xspace and ensuremath then the problem doesn't arise.
 
Then there's another problem: typing too much :D
I need to get a better editor with better autocompletion.
 
@Szabolcs $\dd$ this space is fine is only one character more.
@Szabolcs there is no other editor than emacs
 
One day maybe I'll give in :-)
 
(In context \dd is the differential d.)
 
@mickep as in HTML ⅆ
 
8:56 AM
@DavidCarlisle Oh, isn't that great? :)
 
Templates are coming ...
 
@JosephWright Is that a bit like css?
 
@mickep Nope, that's LDB and is on the to-do list
@mickep Templates are 'prototype document commands'
 
@JosephWright LDB, LaTeX Done Brutallyright? :P
@JosephWright Not sure that I understand what that is supposed to mean, but I could probably read on it somewhere.
 
@mickep 'LaTeX DataBase'
@mickep For example, a list can be seen as needing two templates: a generic block object and a generic item one, and the way the list looks depends on the settings that are applied to those two objects
 
9:01 AM
@JosephWright OK, thanks.
 
@mickep texdoc.net/pkg/xtemplate, but my point was really that after about 25 years of working on them, we are now looking at getting the ideas moved into the LaTeX kernel
@mickep I expect a 'stable' version to be in the Fall 2022 LaTeX release - I'm working on the agreed changes now
 
@JosephWright Looks a bit like the \setup* in context.
@JosephWright Very good!
 
@mickep Sort-of - ConTeXt doesn't try to pre-evaluate keys as far as I know (taking 'key = val' and converting to \def\foo{val} for speed at point-of-use), and I've not seen anything like objects (e.g. 'generic block')
 
@JosephWright I simply don't know about that. (I did not mean they were exactly the same)
 
@mickep There are only a certain number of ways of doing things, so I'd agree that it's generally in the same direction as ConTeXt
 
9:11 AM
@JosephWright Being able to setup things more conveniently cannot be a bad thing, so this will be good! :)
 
Is there a way to put an empty subfigure in a figure?

For example, in a 3x4 grid of subplots, I would like to not show anything at grid 2,1?

Visual representation:
'x x x x'
' x x x'
'x x x x'
 
Quick question: we have an issue with biblatex (aythoryear) where for certain entries initials are added to a citation, but not others. Why?
 
@RogUE I guess you could put an empty box there.
 
My ASCII art doesn't seem to be clear, I'm attaching an image to better show what I want.
@mickep Do you mean an image file that is blank or something else?
 
@RogUE I was thinking merely of some \hbox (or maybe some latex variant) or just to skip. Difficult to say without seeing what you do, though.
 
9:30 AM
[This](https://chat.stackexchange.com/transcript/message/61248416#61248416) is what I want to do.
Right now, subplots are centered in the figure env. Would it be possible to right align all the subplots?
 
@daleif something to do with uniquename?
 
@samcarter same person, but both alone and with co-authors
 
@daleif my crystal ball says a mwe is the key to solve this riddle :)
 
@samcarter it is very strange, if we only cite this article the initial is gone.
 
10:25 AM
@samcarter The idea was correct. Same author with and without middle name
 
10:45 AM
@daleif :P
 
@UlrikeFischer That's odd - @MarcelKrüger will you look or should I?
 
11:01 AM
I'll take a look.
 
@MarcelKrüger Cool
 
@JosephWright I can't say if it is new, I forgot to check the old version on ctan (it should be in the doc folder). But I uploaded then a version where I exchange the files manually.
 
11:59 AM
@UlrikeFischer Trying to reproduce I encountered some issues running the tests locally. (Mostly getting \marks1` instead of \marks4 in various places.) Do I need some special package versions to run these?
 
@MarcelKrüger that sounds like latex-dev version problem. But I can't check now what I have on my laptop, we are visiting Trient currently. You could simply update the tests locally.
 
@PauloCereda ;)
 
12:30 PM
@UlrikeFischer Right, I'll probably do that. Enjoy Trient!
 
@MarcelKrüger Probably the new ltmarks module, currently in the -dev formats only. I'm getting some of those too.
 
I managed to avoid these failures by removing all local latex-dev/latex3 installations so I now only have failures due to Windows line endings which are ... more interesting to deal with. But that's an issue for another day.
 
1:00 PM
@MarcelKrüger you could delete the testfile folders
 
1:32 PM
@UlrikeFischer I think the issue is that PNG files have to be marked as binary data, I send a PR for tagpdf.
@JosephWright @UlrikeFischer That also poses the question if the default for binaryfiles in l3build should be extended. Currently we have .pdf and .zip. I guess we might want to add most image and font formats used in LaTeX.
 
@MarcelKrüger Sure: it's just not come up before
 
Hello. How can I reproduce the following in Latex?
 
@Later the tabularray package is your friend
 
How?
 
@Later there is an example in the user guide
 
1:45 PM
There is no other simple ways without loading packages? For example, using math environment, or something else within the core
 
2:18 PM
I think I found a solution. Forget my question.
 
@MarcelKrüger quite probably. And as it is wrong in texlive too, I guess it was wrong for quite some time. ctan seems to have improved their tests that they now complained about it (they complained about duplicated files as both png had the same content).
@MarcelKrüger imho that would be good.
 
2:37 PM
@Later What is wrong with loading packages, if they solve the task?
 
2:55 PM
@mickep I generally do not understand these users "solve problem, but with no packages". It might be for some mathjax solution, but they know we tend to close mathjax questions.
 
@daleif Well we don't like the documents with monster preambles where for every problem another package has been loaded either.
 
@daleif Ah, that could indeed be the case.
@UlrikeFischer Only the optimal number of packages are good enough. :)
 
3:18 PM
@mickep -- Actually, it's exceedingly rare to have a proof ending with a numbered display (and it's quite a nasty problem when it does), but I've seen some proofs where it would have weakened the effect by artificially adding text at the end. It's not frequent, but also not unknown.
@yo' -- Oh, I answered before I read your comment. (Hi.)
 
@barbarabeeton Good morning! I trust you on that.
 
3:41 PM
@barbarabeeton (and @yo') I think I support the suggestion from Knuth - Mathematical writing: "Paul Halmos introduced the handy convention of placing a box at the end of a proof; this box serves the same function as the initials ‘Q.E.D.’. If you use such a box, it seems best to leave a space between it and the final period."
(that is, not flushed to the margin)
 
3:59 PM
@mickep -- That's a valid point of view, but what if the last line of a proof is so filled with text that there's not enough space for the box or "Q.E.D."? It gets lost visually if it just starts the next line. In that case, the end of the next line seems the appropriate location. Just something to think about.
 
@barbarabeeton Yes. I was thinking about the box (not "Q.E.D."). I wrote an analysis book with a colleague, and we used this. There were one or two occations where the situation you describe happened, and then we reformulated slightly.
 
 
2 hours later…
5:38 PM
@mickep Indeed, Halmos used a black rectangle a quad or so after the final period. A bit awkward when a display ends the proof, but such situations are best avoided. The main problem with this style is when paragraphing sends just one word or, worse, a word part to the next line (not just the box, of course). Rewording is needed in order to get a good typographical result.
@barbarabeeton Ending a proof with a numbered equation is one of the worst things I can imagine: what purpose does the number serve? It possibly happens when all displayed equations are numbered, which is a bit silly by itself anyway.
 
@egreg Indeed, here called \tombstone.
 
@egreg -- Yes, I think that the "number all displays" is the usual situation when a numbered display ends a proof. Why referees don't suggest improvement is beyond me, but the current editorial policy at AMS doesn't encourage rewriting. And I don't anticipate improvements any time soon ("too expensive"). Some of us old-timers find this very discouraging.
 
6:31 PM
@barbarabeeton, @DavidCarlisle: The cm kerning between d and f is a bit too much, isn't it? They look a bit too close to me.
 
7:29 PM
@mickep You could use an upright d and make @egreg happy
2
 
@DavidCarlisle Oh no (in fact I have nothing against the upright d)!
 
7:44 PM
@DavidCarlisle -- I'm determined to get to the bottom of that decision. It appears to be older than the ISO diktat, but I've got a lot of library/historical research in front of me. (@mickep has already helped with that.)
 
@barbarabeeton I will be interested to read about your conclusions. (As far as I remember, Lansburgh merely writes that the upright d is a "förfinat skrivsätt".)
 
8:00 PM
@mickep -- in the current AMS style guide, it's shown as acceptable if the author used is consistently, which rather points at it being considered an individual choice. I still have to dig into Chaundy and the first edition of Ellen Swanson's Math into Type to see what, if anything, is specified. (I suspect it may not even be mentioned.) When I do get to the bottom of the matter, it'll be published in TUGboat. (But I'll let you read it before it goes to press.)
 
@barbarabeeton Thanks! :)
 
8:28 PM
@MarcelKrüger it worked now, but I had to add PNG to (as for some reason one of the files uses uppercase).
 

« first day (4229 days earlier)      last day (710 days later) »