@AlanMunn odd I only landed on linguex by doing a binary chop with \show to narrow down the issue, but perhaps I hadn't quite the right issue at that time:-) \automath seems like a particularly useless definition really, do people really want the base in text mode then switch to math for the subscript??, shouldn't it be using \textsubscript and \textsuperscript in text mode?
@DavidCarlisle Hmm, tracing it over I guess they do much the same, though with more structured data for the fonts and so on (and built-in tagging available)
@JosephWright well it depends a bit what you want x_{a\textsubscript{b}} to do: currently it uses same font size always but the down shift depends on the mathstyle could do that of course without math _ but a pain, especially for somthing that shouldn't be done anyway
@JosephWright If a user does \newcommand{\mix}{50} and then \color{red!\mix}, \detokenize is to no avail. One might do \scantokens, but some category code juggling is necessary anyway to cope with babel-french. Maybe with LuaTeX it's simpler.
@egreg or maybe better just make the punctuation always active everywhere (\let to catcode12 ones) then can turn on special behaviours without catcode changes.
I am trying to remove a separator line for footnotes in mdframed environment. I tried using \renewcommand\footnoterule{} inside the mdframed environment, but this doesn't seem to work.
When I had to change the footnote symbol I had to use some temp values like this:
\renewcommand{\thempfootno...
@DavidCarlisle The subscripting is mainly used for adding indices, e.g. NP_{i} ... t_{i} and so the math mode version of these is appropriate. Of course it also leads to people misusing it and you get plenty of things done wrong (like [_{NP} ) which should not be in math mode.
Hi, when I define a new environment in my tex document it works, but if I copy paste it to my package collection "mypackages.sty" and include it via "\usepackage{mypackages.sty}" the environment no longer works. Is this normal behaviour?
@s.harp impossible to debug code we can't see:-) \usepackage just inputs the file so any declarations that work in the preamble will work in the package if loaded at the same point, assuming that that file is input not some other file of the same name, the log will show that.
also what does "doesn't work" mean? error on loading the package or on using the environment, which error exactly
@PauloCereda that's actual day job work, giving some internal github demo and if you try to fork one of your own repos the UI is different (basically it pops up a dialog saying you've already got this, what should I do now:-) so I needed to be someone else....
@s.harp impossible to debug code we can't see:-) \usepackage just inputs the file so any declarations that work in the preamble will work in the package if loaded at the same point, assuming that that file is input not some other file of the same name, the log will show that.
@DavidCarlisle Unbeliveable... You We should throw a party once you get this badge! Haha
@DavidCarlisle But I once received a message which stated "We trust you on other sites here's 100 rep" (this other site was TeX.SX) you mean to say that they're lying????
@GuilhermeZ.Santos That's a different story: when you have some amount of rep on one site, you're awarded 100 points when you join another one, so you can freely comment answers and questions. The first time you join another site, you get 100 additional rep on the first site.
This LaTeX template is for typesetting a novel. It will be most useful to folks new to LaTeX, not the regular academics or scientists who already use it regularly. Those who catch this answer after googling for solutions should notice the structure and the input statements which direct LaTeX to...
@Johannes_B I think it would be a pretty cool document class that looks in the current directory for a bunch of appropriately named files and makes a book out of it. The instructions would be something like copy this file into the directory and then run arara makebook.tex
@StrongBad I would never recommend a naming scheme like that. I also don't recommmend to use labels lke figure1 and figure2 and figure3 or cite keys like ref1 and ref2 and ref3.
@DavidCarlisle There still needs to be a little bit of latex. At some point you need a file with a \documentclass and an \include. I could imagine some people being perfectly happy if there was a magic way to take a bunch of chapter1.txt chapter2.txt files and make a pretty book out of it.
@StrongBad whatever, in a file or just type it straight in makes not a lot of difference really, I typed that straight into an xterm and it made a pdf. but either way you'd only type it once and stick it in your editor build setup, my point was it doesn't need any latex class programming
@DavidCarlisle if you are happy without a title page and using the report class. You might want chapter titles and a dedication page ...
@Johannes_B I am okay with a little magic in my life. I have no idea how arara does what it does, but I like it a lot better than make files (which I also have no idea how work).
@Johannes_B I have seen those beginner LaTeX files, where the person is indignant about how tough this LaTeX thing is. Then you look at the file and find everything hardwired and manually spaced... no attempt to take advantage of any sectioning commands, etc.
@StrongBad no c0.tex can be your title page the report is part of the calling sequence so can obviously be memoir or whatever. arara doesn't work on my platform (until @PauloCereda finishes his thesis and releases next version:-) but arara or make or a bash loop all come to the same thing, some external program collecting the resources into a latex document.
@DavidCarlisle for my wife's book the publisher wanted each chapter in a word document with no formatting (1 inch margins and courier 10pt). If there was an icon my wife could have double-click that would have converted those "ugly" word documents into a less ugly pdf, she would have done it. Anything more than that and she makes me do it.
@yo' My problem is not forcing students to use block capitals, but to write legibly their student number. Sometimes I can't decide whether a 3 is actually a 9, or a 5 is a 6 and so on. Note: we have to publish grades only with student numbers. In tough cases I have to resort to checking the electronic list and then it's not relevant how the name was written down.
@yo' My dream is that they carry stickers with their name and number printed.
@egreg LOL, we actually check that the name on the exam is the one on their student card, so there is space to check for name legibility... But it's tough when you have 100 students in a 120-seat lecture hall. I fortunately have 48 students in a 49 classroom with desks by 2--3, so it's easily doable.
Hey, I've been searching all over tex.stackexchange.com but I can't find a post asking how to change biblatex 'alphabetic' labels so that instead of a year, a sequential number is added only(!) if there are several publifications of the same authors. Like [Paul], [Peter1], [Peter2], [Hans], [BHT], [AVR1], [AVR2], [AVR3], [BT]. Is this not a common thing?
I still get a year printed when using the alphabetic style. Can I just replace the two year digits in the label of the alphabetic style with a number in case the label is not unique?
You are a prison captain and you have got 4 groups of detainees, let's call them Red, Blue, Green and Yellow. You have got 12 of each. The prison is a square grid 7x7 fields. You need to place the 48 detainees into the 49 cells (so 1 cell will remain empty). The catch is that you can't place two ...