Just had a look at some TeX code from 1999 and found \newboolean{zzz}\setboolean{zzz}{false}. I wonder whether it was influenced by some z loving person :D
I seem to be unlucky with text length, and more than once I ended up with just the first line a theorem or definition as the last line of a page. This is ugly. I used `\clearpage` on a case-by-case basis to improve it, but of course one must revise these `\clearpage`s every time the document changes enough to affect the line count.
Is there a better way, an automatic way?
I found questions asking about how to completely avoid a page break in a theorem, but that's not what I want. I just want to avoid a page break immediately after the first line.
@Szabolcs I am personally not familiar enough with the theorem environment but usually I find that the easiest solution to these kinds of things is a rephrase of the surrounding text to make the offending environment stay on the right same page or go completely to the nest.
@Szabolcs still a case-by-case solution, but one which is better than \clearpage: Make a paragraph on the current page a line longer or shorter with \looseness Just put \looseness=1 at the start of a paragraph and TeX will try to make it a line longer, or use \looseness=-1 to make it a line shorter.
@Szabolcs I would have expected the theorem heading to have set the clubpenalty so it doesn't break after the heading line??, but otherwise you could use \needspace from package of that name to ensure there is room for two or three lines, or (for a one off document) adjust the wording to fit or ,...
@Skillmon it is functional but doesn't have the function that you expect; landscape switches round \textheight and \textwidth so the text block is typeset in landscape format but dvi has no notion of the external page size on which that text block is printed. pdftex does and some dvi dvrivers (including dvips) have \special{pagesize ... specials to specify that but pure latex doesn't know which back end is in use so can't do anything.
@Skillmon that was the argument in 1993, in 2020 when pure latex secretly loads expl3 which loads l3backend which decides you are using dvips in this case, the argument is weaker than it was, but changing the layout of a large proportion of existing documnts comes with the usual fears
@Skillmon note it's wrong even without landscape, the default behaviour is to typeset a block with textwidth and margins set for US Letter but (for most people) printed on A4.
@DavidCarlisle Thanks for the response! It is possible that there are issues with the LaTeX class I am using (iopart). It certainly does have several other bugs ...
@Skillmon Thanks for the tip! I went with the nowidow package
@samcarter_preparing_for_xmas I was chatting with a friend of mine and she said her 4-yo daughter was in love with LotR... I was like, "OH MY", but before I had the chance to say anything, she corrected herself, "oh I am sorry, I meant Harry Potter". I was, "oh..."
Spectreman (スペクトルマン, Supekutoruman) is a science fiction tokusatsu kaiju kyodai hero TV series produced by P Productions and Krantz Films and created by producer Souji Ushio. The series aired on Fuji TV from January 2, 1971 to March 25, 1972 with a total of 63 episodes (divided into three segments), not counting the pre-series pilot episode. This was the first major superhero show of the 1970s.
== Plot ==
Banished from the peaceful and highly advanced simian Planet E, the mutant mad scientist Dr. Gori and his brutish gorilla-like assistant Karras (Ra in the Japanese version) search for a new world...
Meister Eder und sein Pumuckl (English: Master Eder and his Pumuckl) is a German children's series created by Ellis Kaut. Originally a radio play series of the Bavarian Radio in 1961, the stories were later adapted into books, a successful TV series of the same name, three films and a musical.
Pumuckl is a red-haired Kobold and descendant of the Klabautermänner. He is invisible to people around him except for the master carpenter Eder with whom Pumuckl lives. He's also known in some parts of the world, especially in Asia as Adib. Pumuckl is one of the most popular characters in children's e...
@PauloCereda Like my 15yo one --- HP & Queen right now. Could be (a lot) worse, like adolescent vampire novels and Justin Bieber, so I declare myself ok with that.
@samcarter_preparing_for_xmas When I was really young I loved this: en.wikipedia.org/wiki/Perry_Rhodan and Goldrake. Then I discovered LotR and the "real" sf...
^^^ who are these people? The book is intended to be the first annual edition of a publication dedicated to all things text, and contains essays by 183 contributors including Vint Cerf, Leslie Lamport, Barbara Beeton, and Peter Flynn.
@PolineSandra I'm sorry but your question isn't very clear. The sample code doesn't seem very minimal and it doesn't load hyperref but you're asking about hyperref. Also, you're using fancychap which I don't think works with titlesec, and you're loading titleps, but you should be loading titlesec with the [pagestyles] option instead.
@barbarabeeton Probably. But Arnold Rimmer didn't know how to eat it he probably couldn't spell it either. :p (that's my excuse and I'm sticking with it. :p)
@Skillmon -- I suppose one could heat up gazpacho, but if I'm looking for something warm and tomatoey, tomato bisque is "souper", especially if it has inclusions of crushed (not cut!) tomato. (And there are also other really nice cold soups. vichysoisse, for instance.)
@Skillmon -- both of those sound good. (Sadly, my ability to tolerate hot/spicy is diminishing as I age. I've had to give up a lot of Indian dishes because they give me "pizza mouth" that persists for several days and prevents me from eating anything even more than lukewarm. I don't know how people can survive, and even seek out, incendiary barbecue sauces.)
@barbarabeeton I don't eat as hot as I used to as well :( My stomach hurts if I eat too spicy now (and I'm not even 30, I guess I'll have to eat bland when I'm older...), but I still enjoy it while I eat it.
@Skillmon ouch, I don't think that the acidic component of gazpacho will do well if hot (well, if not really cold, as it should be). The same for salmorejo. Hot gazpacho for spaniards == pizza with pineapple for italians ;-P
@JosephWright My formulas tend to be rather complicated, since organometallics. So lots of manually specifying if the hapto should have a hype or not, etc etc.
Weird question: Is there a way to reverse normal indent rules for a paragraph? I.e. no indent on the first line, and indents on all the rest?
@samcarter_preparing_for_xmas It is on the todo list, I'm going to have to ask @JosephWright how to get siunitx to use one type in tables and the other in text
Right now siunitx is using lining figures everywhere, but I want it to use old style/proportional in text, and lining/tabular in tables
@samcarter_preparing_for_xmas When they are all osf its not bad, right now its just a mix since ones that use \SI are one type and ones that aren't are the other. But if I turn that off, nothing lines up in tables that use the S column type (ie all of them)
@Canageek Maybe it is just because I'm not used to see osf figures in such a context, but the combination with a unit, e.g. the 611 nm, just looks odd to me.
@samcarter_preparing_for_xmas Could be? siunitx is using math font I think, whereas everything else is text font. I'll fix that all at once, once I've made my current deadline for sending a draft of this chapter to my comittee
Also: There shouldn't have been a unit after that string of numbers, so thanks, fixed that.
Downside of merging a bunch of papers which I formatted SLIGHTLY diffrently
@AlanMunn I delete hyperref because it does not work, and I need an alternative if I delete fancy I will not get the style that want if you have idea to change please let me know
I found a temporary workaround if I set \setchemnum{compress=false}
It breaks some labels, but I can work with the spectra I need and put in the cross references for later, without having to wait several minutes each compile
Miserable system! It just made me certify that I'm not a robot! I went to add an extra sentence to an answer (tex.stackexchange.com/a/571323/579) and it wouldn't take it, so I ended up with near-duplicates. Fie!
@PolineSandra that is not a useful way to post the question. The example should be an example of the problem. You just say "hyperref don't work" but you do not say what is wrong, do you get an error, do the links not work? what? And since the example you post does not use hyperref no one can find out what the error is or offer any help. Post a simpler example, that shows the problem.