With siunitx say I have a table column S[table-format=-1.4] and a cell contains (.123), I know there is an option to have it ignore the ()'s anyone remember the name of that option?
ahh, parse-numbers=false also gives me what I wanted (just alignment on the .)
What the F did I just press? In a breif moment my emacs had the text set with a straight right edge (by adding spaces) and then it went away. Never seen that before.
@Skillmonlikestopanswers.xyz \disable@package@load{definitely-not-abntex}{\errmessage{This package is evil and thus banned from the realms of the rightous TeXnicians!}}
@yo' probably we shouldn't use the approach to create all those packages with the banned message, but utilize LaTeX's hook mechanisms then. Would be cleaner. Can we call the package nag++? Because it does the same as nag, but more efficient?
@Skillmonlikestopanswers.xyz or keep a list of packages the user called, and inject "I'm a sinner as I use \LaTeX\@ packages \commaseparatedlistofusedbannedpackages\@ in my document!" at random places in their text.
@samcarter_is_at_topanswers.xyz well you can, but we explicitly defined only a command with @ and not some user interface, because one should use it with great care. If a class silently removes packages you can get quite angry users.
@daleif well if you emulate all the functionality they probably don't remark that something is missing -- until the package extends its code and the emulation doesn't follow.
@samcarter_is_at_topanswers.xyz After \disable@package@load{<pkg>}{<action>}, an attempt to \usepackage{<pkg>} will: 1) check if <pkg> is already loaded and if so do the usual option-clash test; otherwise 2) check if <pkg> exists (file substitutions taken into account), and issue an error if missing; otherwise 3) check if <pkg> was disabled, and if so it executes <action> instead of loading <pkg>.sty.
@samcarter_is_at_topanswers.xyz So answering your second question, yes, you can do \disable@package@load{bad-package}{<code>}, then any attempt to load a bad-package will execute the <code> instead, which may be an error message, or loading a replacement package, or even loading the package with patches applied before and/or after (though for that you also have hooks)
@samcarter_is_at_topanswers.xyz Glad you like it :-)
@samcarter_is_at_topanswers.xyz Prediction: The next beamer release will include a beamer-conflicts.tex file which is full of \disable@package@load{enumitem}{\ClassError...}\disable@package@load...
@Skillmonlikestopanswers.xyz "teach the users": I can't even count how often I have written "don't load zzz with beamer" - I bet if one would measure, these keys on my keyboard would be much thinner than the others :)
@samcarter_is_at_topanswers.xyz Hm... I just noticed that you get a loop (obviously) if you do \usepackage{bad-package} within the alternative code... Better find a way to trap that...
@samcarter_is_at_topanswers.xyz nag++ it is. We should write some database with dependencies of evil packages, so that we can find them all and destroy them!
In Star Trek a replicator is a machine that can create (and recycle) things. Replicators were originally seen to simply synthesize meals on demand, but in later series much larger non-food items appear. The technical aspects of replicated versus "real" things is sometimes a plot element.
== Origins and limitations ==
Although previous sci-fi writers had speculated about the development of "replicating" or "duplicating" technology, the term "replicator" was not itself used until Star Trek: The Next Generation. In simple terms, it was described as a 24th century advancement from the 23rd century...
@samcarter_is_at_topanswers.xyz ^^ Star Trek to the rescue!
The Hitchhiker's Guide to the Galaxy is a comic science fiction series created by Douglas Adams that has become popular among fans of the genre and members of the scientific community. Phrases from it are widely recognised and often used in reference to, but outside the context of, the source material. Many writers on popular science, such as Fred Alan Wolf, Paul Davies, and Michio Kaku, have used quotations in their books to illustrate facts about cosmology or philosophy.
== The Answer to the Ultimate Question of Life, the Universe, and Everything is 42 ==
In the radio series and the first novel...
@samcarter_is_at_topanswers.xyz I'm now a URL expert, after trying to write a generator for "Open in Overleaf" URLs for example documents :) (I was actually successful to do that, but it took a while)
@Skillmonlikestopanswers.xyz I think it was done in LaTeX, although I don't know if the original text was or whether this is DeGruyter generated TeX from Word source. But it's bad in two ways: most of the the trees are labelled as tables, but in linguistics they're usually numbered like equations, and in fact many of the trees are numbered like that. So I suspect this is badly proof read by the author, but not their source.
@PauloCereda That's because it has been. (It shows something that is not pronounced in that position.)
@yo' -- Granted, the \@ is LaTeX, but how do you explain to a newbie (in a way that's easy to remember) that when it is placed before a period, it indicates the end of a sentence, but when it occers before a space, it's an ordinary space? (Before a period, for basic TeX a \null gives the desired result. Slash-space works the same in both basic TeX and LaTeX.)
and then, this is my personal preference. It probably comes from the fact that I worked in environments that required a lot of automation, and \@ is quite fool-proof. What would I teach? I dunno, I never needed to really think about this :)
@barbarabeeton point taken :) but really, I only need to care about LaTeX coding at the moment...
@yo' -- Well, TUGboat gets submissions in plain, LaTeX, and ConTeXt. (Even occasional items in pandoc or mp4.) So it's important to be able to tell the difference and "do the right thing". Fortunately, I've got Karl to keep me honest.
@AlanMunn -- Eek! But table captions are usually (traditionally?) placed at the top. So here, it's tough to figure out what's wrong without looking at the code. (But, indeed, not good!)
@barbarabeeton Don't be scared, but my bachelor's and master's thesis both use captions placed below tables (stupid template provided by the chair, looks horrific tbh. -- and I had to recreate it in LaTeX, it was only a Word template)
@barbarabeeton Well it's been immortalized in book form, so no looking at the code. In fact they shouldn't have been figures at all since normally such things are numbered like regular examples. If it had been my book I would have been screaming at the production people...
@daleif -- A little bird told me that you've managed to survive your position as "problem solver" for 18 years. Good for you! Keep it up! I hope your victims (er, subjects?) appreciate it.
@barbarabeeton well, next year I've been in our yellow buildings for 25 years, started as a student and never left. Never even applied for a job just got asked to help with some stuff the rest is history. Even though I don't work as much with latex as I used to.
@PhelypeOleinik did they decide not to install revtex4-1 in texlive? I still have an old version, and this isn't really good, a missing style would be better than getting an \endgroup error.
@PhelypeOleinik when I run on a command line pdflatex \relax \input test it compiles fine, when I do latex \relax \input test nothing happen. Can you reproduce this?