« first day (1645 days earlier)      last day (3280 days later) » 
07:00 - 23:0023:00 - 00:00

 
1 hour later…
8:57 AM
Morning
@ChristianHupfer wipet still trying to convert people I see... :-)
 
@1010011010: Yes, apparently ;-) But in my opinion his rants against LaTeX are getting more and more tedious. I assume, he uses a punch card to program in TeX and a matrix printer ;-) And his car still has an output arm to start the engine ;-)
 
9:12 AM
@ChristianHupfer To think of it, why doesn't he just go analog with a typewriter...
 
@1010011010: Ways too modern... He should use a stick and a block of clay ;-)
 
haha
 
@ChristianHupfer classes.dtx
Morning guys
 
9:28 AM
@Johannes_B Good morning!
 
@Johannes_B: Good morning
 
@egreg I am sorry that you were the only one working on our list. I was tired.
 
@Johannes_B hy
 
@Johannes_B I needed some badges, you know. ;-)
 
Potato-Spinach-Gratin for dinner last night.
 
9:29 AM
@egreg: I had no time unfortunately yesterday evening for the answering run ...
 
I got an upvote for a answer where i misread the question and the answer doesn't even fit. Never came around to delete it and today, after 13 months, i get an upvote.
 
@Johannes_B: Lucky fellow :D
 
@Johannes_B I always get votes for my wrong answers, @DavidCarlisle would say.
 
Is there a way to influence the max point size of a font at document level? I guess not right?
 
@1010011010 in what way influence? If you don't want 3cm high fonts don't use \fontsize{4cm}{5cm}\selectfont
 
9:37 AM
@DavidCarlisle Coding a lettrine command, max font size exceeded for the CMR fonts so I can't post a question on the site. The letter isn't even big enough for a lettrine with height of two lines
 
@1010011010 Use fix-cm
 
@1010011010 FAQ
@1010011010 such an easy question, even @egreg knew the answer:-)
 
@DavidCarlisle :PPPPPP
 
@1010011010 why could you not have asked on site? (it would have been a duplicate but you could have asked)
@egreg good morning!
 
@DavidCarlisle How are West Indies behaving?
 
9:40 AM
@egreg the world is round and the west indies are out of the sun
 
\documentclass[ngerman]{scrreprt}
\usepackage{babel}
\usepackage{xcolor}
\usepackage{pdfpages}% lädt auch graphicx

\usepackage{blindtext}% für Fülltext
\begin{document}
\Blindtext[9]

\begin{table}[h!tbp]
\centering
\setlength\fboxsep{2cm}
\colorbox{orange!20}{\textcolor{purple}{\Huge\bfseries Eine Tabelle}}
\end{table}%

Und noch etwas Text

\includepdf[landscape]{example-image}

\Blindtext
\end{document}
 
@DavidCarlisle If others can only reproduce the result in the theoretical case where they'd have to install an entire font to do so, the problem gets vastly overcomplicated.
 
@1010011010 no one using tex has to install computer modern, they have it.
 
@DavidCarlisle If the font scaling is fixed to a width too small to show the problem (and assuming fix-cm wasn't around), they'd have to install a new font.
 
@1010011010 ah I thought you meant asking about the small cm, but if you want to ask about a font that is available at any size by default, any other font that is scalable, latin-modern, times, whatever...
 
9:51 AM
Did anybody try out the example above? The ! always does monkey business, but is this a known feature?
 
@Johannes_B I could try it, what does it do...
 
@DavidCarlisle The table overprints the included pdf
 
@Johannes_B so it does, why?
@Johannes_B bug in includepdf presumably...
 
@DavidCarlisle It was a bit unexpected for the user.
 
@Johannes_B always expect the unexpected
@Johannes_B OP should put \clearpage before \includepdf and report a bug to that package maintainer
 
10:07 AM
@DavidCarlisle It goes away when the ! is gone. According to @esdd, i haven't tested properly.
 
@Johannes_B that can only be luck
 
@DavidCarlisle "I keep myself in a constant state of utter confusion."
 
@Johannes_B ah OK so it's not exactly luck. [t] does not overprint but [!t] does as pdfpages tries to suppress normal floats by setting the counter totalnumber to zero which prevents floats on a text page, except the meaning of ! is to ignore the numeric constraints on floats in text pages.....
@Johannes_B is this from a question here?
 
@DavidCarlisle Now, who's to blame? The user, for using !? That is never a good idea.
@DavidCarlisle No, golatex.de/…
 
@Johannes_B yes but pdfpages could try harder to suppress floats
@Johannes_B oh the german one. I'll let you answer then:-)
 
10:14 AM
@DavidCarlisle esdd already did :-)
@DavidCarlisle I simply linked your explanation.
 
@Johannes_B so i saw:-) someone should ping the package maintainer though:-)
 
@DavidCarlisle I'll do it in a bit. Need to take care of golatex posts right now.
 
10:37 AM
@JosephWright: I uploaded a new package on CTAN and Petra asked me to provide a follow-maintainer if I should disappear from the community such as Philipp Lehman. I just realized that you took over the maintenance of etoolbox -- what happened to Philipp?
 
What's the relation between the first argument of \fontsize and e.g. the total height on the line?
If I do this:
\documentclass{article}
\begin{document}
\setbox0=\hbox{\fontsize{15pt}{0pt}\selectfont fg}
\dimen0=\ht0
\advance \dimen0 by \dp0
\the\dimen0
\end{document}
I get something that is not 15 pt (?)
And:
\dimen0=\ht\strutbox
\advance \dimen0 by \dp\strutbox
\the\dimen0
same thing
 
@1010011010 The font size is not max height of ascenders + max depth of descenders, generally.
 
@ChristianHupfer Who knows?
 
@Johannes_B: Will you maintain my package if I should leave this world/life/universe or just the community (which is in fact the same as world/life/universe ;-)?
 
@ChristianHupfer Well, ähm, not sure if i have the skills for that.
 
10:48 AM
@Johannes_B: Well, I need you help anyway. It's some strange issue that my package works with book.cls and memoir.cls, but it fails with scrbook.cls. I think you could maintain it!
 
@ChristianHupfer Oy, we
@ChristianHupfer I'll be happy to, but promise me you won't get run over by a bus, or kidnapped by cannibals or ...
 
@Johannes_B Don't be silly... run over by a bus ... that's quite unlikely here in Germany
 
@ChristianHupfer What if an owl attackss you in the woods?
 
@Johannes_B: I've always some printed copies of @DavidCarlisle's drawings in my pockets, that will expell the owls if I wave those papers around ;-)
 
@ChristianHupfer Glad to hear that. :-)
@ChristianHupfer The KOMA-classes have gone insane within the last half year. The code gets more complicated every day.
 
11:03 AM
@Johannes_B: Well, I tried to dig into it. I will add a link to the question which led to the package
8
Q: How to count the total number of sections within a chapter?

gslHow can one count the total number of sections within each chapter? I am trying to use the totcount package, but it returns the total number of sections of the last chapter, not total number of sections of the current chapter. In the following MWE, the desired behaviour would be to report 3 sec...

@Johannes_B: I extended the solution (scroll down to the end of it) I provided there to the case for 'any' counter to be stored in between and shown in 'advance' or at any position later on. But I struggle with the wrong \tableofcontents (or \listoffigures etc.) which seems to use \chapter*` as usual in book.cls etc, but they there seems to be an additional \chapter* which I could not track
 
@ChristianHupfer Within KOMA, those elements can use \chapter*, \addchap, section* or addsec* according to the options given by the user.
 
@Johannes_B: Well, which one is used if I apply no option at all? \chapter*?
 
@ChristianHupfer yes
 
@Johannes_B I will upload the preliminary package to my website in a few minutes. \chapter* seems to be hidden somewhere, since I can't patch it
 
@ChristianHupfer You need to look at tocbasic i think.
The magic is going on in there.
 
11:15 AM
@Johannes_B: magic? Rather confusion :-P
 
@ChristianHupfer let/magic/confusion
 
@Johannes_B: Here's the link to download it, if you want to have a look into it: wordpress-spielwiese.siebenfelsen.de/?page_id=852
Too broad/opinion based
0
Q: File structure/organization for book

m franI need to write a short book divided in 3 big chapters and about 40 short sections (for a maximum of a couple of pages each). Dividing the book in 3 files seems very messy, but dividing it into 40 little files seems messy too. What is a possible good division of the book in separate files? (I ...

 
@ChristianHupfer Downloaded, i'll get ready to go to the library and have a look at it.
 
@Johannes_B: Thanks... by the way, what about your 'koma' manual plans?
 
@ChristianHupfer Got a bit distracted, have to look into that again. As you may remember, it was the tocbasic chapter.
 
11:24 AM
@Johannes_B: Da schließt sich der Teufelskreis :-P
 
@egreg Is it a set ratio, or how can I extract all the dimensions... I want to make LaTeX do the calculations for me but I need to know which dimensions I need :p
 
Hallo @ChristianHupfer Wie geht es dir?
 
@MaryStar: Ganz gut und selbst? Kennen wir uns? :D
 
11:40 AM
Auch ganz gut. Nein, ich habe gesehen dass du einen deutschen Namen hast. :-) @ChristianHupfer
 
@MaryStar: @PaulGessler hat auch einen deutschen Namen, aber er ist Amerikaner ;-)
 
Du hast eben auch was deutsches geschrieben @ChristianHupfer
 
@MaryStar: Touché ;-)
@MaryStar: Ziemlich neu hier bei TeX.SX, nicht wahr?
 
Ja, ich schreibe eine Arbeit in Latex und brauche manchmal etwas Hilfe dabei.

Bist du schon länger hier? @ChristianHupfer
I want to write a report and there are some numbered sections. In each sections there are lemmas, definitions or theorems that are numbered. Is there a command so that the definitions for example of section 5 are numbered 5.1 , 5.2 and so on??
 
@MaryStar If you are interested, there is a similar site to this on in german, texwelt.de/wissen
 
11:49 AM
@MaryStar: Knapp zwei Jahre, aber richtig aktiv erst seit Januar 2014
 
@1010011010 the "font size" is an arbitrary number assigned by the font designer it doesn't have to correspond to any measurable feature of the font.
 
@DavidCarlisle Grand. Got any tips to get a particular height of a single letter? For instance: set it to have the height of one inch? (random example)
 
@1010011010 texdoc etex top of page 8 :-)
@1010011010 or simply \resizebox{!}{1in}{A}
 
@DavidCarlisle But that is not evil.:-)
 
@1010011010 of course not
 
11:55 AM
@MaryStar: The numbering style can be given usually when the theorem-like-environment is defined. If this is not the case, try \renewcommand{\thetheorem}{\thesection.\arabic{theorem}} (This will use chapter counter values in front of section counter values, though)
@MaryStar Wir brauchen alle Hilfe hier... Wir stecken hier fest :-P
 
12:25 PM
@1010011010 It's basically arbitrary.
 
1:17 PM
@ChristianHupfer ! LaTeX Error: \do undefined.?
 
Ok... Thanks!! @ChristianHupfer
Something else...
I have written the following formula:
$A(m,n)=\left\{\begin{matrix}
n+1 & , \ m=0 \\
A(m-1, 1) & , \ m>0, n=0\\
A(m-1, A(m, n-1)) & , \ m>0, n>0
\end{matrix}\right.$
and the result is the following:
 
@ChristianHupfer The doc says the package is called cntpersec, but the file in your zip is called cntperchap ;-)
 
@MaryStar I bet you want to have a display environment there. Please try \[ <math> \] instead of $ <math> $
@MaryStar I think you would be more satisfied with the cases environment from amsmath.
 
Do you mean the following:

$A(m,n)=\begin{cases}
n+1 & , \ m=0 \\
A(m-1, 1) & , \ m>0, n=0\\
A(m-1, A(m, n-1)) & , \ m>0, n>0
\end{cases}$

or with \[ \] instead of $ $ ? @Johannes_B
 
1:28 PM
:21436351 \documentclass{article}
\usepackage{mathtools}
\usepackage{showframe}
\begin{document}
$A(m,n)=\begin{cases}
	n+1 & , \ m=0 \\
	A(m-1, 1) & , \ m>0, n=0\\
	A(m-1, A(m, n-1)) & , \ m>0, n>0
\end{cases}$

\[A(m,n)=\begin{cases}
	n+1 & , \ m=0 \\
	A(m-1, 1) & , \ m>0, n=0\\
	A(m-1, A(m, n-1)) & , \ m>0, n>0
\end{cases}\]
\end{document}
@MaryStar ^^^^^
 
@egreg fix-cm is another very curious LaTeX "feature" :) Need we such complications today?
 
@wipet People like that their old document still typeset the same without having to modify them.
@wipet Making fix-cm a default would change the typesetting of thousands of documents.
 
So, the difference between [ ] and $ $ is that at [ ] the expression appears in the middle of the page and at $ $ the expression appears at the beginning(left side) of the page, right?? @Johannes_B
 
@MaryStar The dollar variant is for inline math (in between text), the other is for displayed environments. The equation environent is also for displayed math, but numbers your equation. Try adding some text.
 
@egreg We can guess how many people will be confused versus how many people need to process such very old documents.
 
1:39 PM
@MaryStar vvvvvvvvvv
\documentclass{article}
\usepackage{mathtools}
\usepackage{showframe}
\begin{document}
this is a test, containing a penguin, a duck and a platypus, in
sum, this is almost a zoo $\sum_{i=1}^k n_i$.
\[\sum_{i=1}^k n_i\]
\end{document}
 
@wipet that's the price you pay for having users, I realise that isn't a problem you face and you are far more free to change your format.
@MaryStar not only the position, but the style of the layout is different $ uses a more compressed layout so it does not disturb the linespacing in a paragraph, compare $\sum_0^n$ and \[\sum_0^n\]
 
Ok... I see... @Johannes_B @DavidCarlisle
Thanks for the clarification!!
I have also an other question... The command for the set of natural numbers in latex is $\mathbb{N}$, isn't it??

I wrote this command but I get the following result:
Should N have two lines??
 
@MaryStar didn't you get an error message (don't ignore errors!) you need \usepackage{amsfonts}
 
I got an error but I didn't know what I have to change... @DavidCarlisle
 
@MaryStar yes but my point is, if you get the error you should look at (or post) that, the typeset result after any error is essentially arbitrary nonsense resulting from whatever recovery action tex takes to get past the error.
 
1:58 PM
An other error is the following:

LaTex Error: Command \proof main.tex, line 17
already defined.

I have written the following:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{graphicx,babel,titling}
\usepackage[margin = 3cm]{geometry}
\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{mathdots}
\usepackage{enumerate}
\newtheorem{mylemma}{Λήμμα}[section]
\newtheorem{mytheorem}{Θεώρημα}[section]
 
@MaryStar amsthm package defines a proof environment, so you need \rewenewenvironment (or use the standard one)
@MaryStar If you just want to change the word Proof to greek then \renewcommand\proofname{....}
 
So, do you mean that instead of "\newenvironment{proof}{Απόδειξη} " I should write "\renewenvironment{proof}{Απόδειξη}" or "\renewcommand\proofname{Απόδειξη}" ?? @DavidCarlisle
 
@MaryStar if that was your whole \newenvironment command it is in error anyway \newenvironment has three arguments, \newenvironment{name}{begin-code}{end-code} I meant what I wrote. \renewcommand\proofname{Απόδειξη}
 
2:16 PM
@MaryStar Just use the standard proof environment; the tag Απόδειξη will be used automatically.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{amsthm}

\begin{document}

\begin{proof}
...
\end{proof}

\end{document}
 
Ok... Thanks a lot!! :-) @DavidCarlisle @egreg
Now there aren't any errors.. but there is still the following message at some lines:

"Underfull \hbox (badness 10000) in paragraph at lines 63-64"

What does this mean??
 
2:31 PM
@MaryStar Are you using \\ anywhere that's not in a table?
 
Yes, for example:

\begin{itemize}
\item Το 1926 ο \foreignlanguage{english}{David Hilbert} ισχυρίζεται ότι κάθε υπολογίσιμη συνάρτηση είναι πρωταρχικά αναδρομική. \\
\item Το 1928 ο \foreignlanguage{english}{Wilhelm Ackermann} δημοσιεύει ένα αντιπαράδειγμα, μια συνάρτηση η οποία αυξάνεται πολύ γρήγορα. Ο ρυθμός αύξησής της είναι μεγαλύτερος από εκείνον οποιασδήποτε πρωταρχικά αναδρομικής συνάρτησης. \\
\item Το 1955 η \foreignlanguage{english}{Rózsa Péter} κατασκευάζει μια απλοποιημένη μορφή της συνάρτησης αυτής, η οποία έχει τις ίδιες ιδιότητες.
 
@MaryStar There is no need to use \\ at the end of each \item :)
@MaryStar You're telling TeX to immediately break the line there. Not only do you completely mar the spacing, but if the line isn't 'finished' in TeX's opinion, it will show the warning you saw above.
repeated \items already Do The Right Thing™
 
Ok!! @SeanAllred
I used \\ also at the following part:

\begin{proof}
$ \\ $
Επαγωγή στο $x$. $ \\ $


Do I have to replace it with "\vspace{2mm}" or something else?? @SeanAllred
 
@MaryStar Absolutely not – you can just get rid of it where ever you see it. In this case, don't forget to remove those $ tokens as well (which frankly weren't necessary to begin with).
 
@egreg -- thanks for comment on question about avoiding % etc. when writing definitions. i got thrown off by the existing answer. although i'm used to avoiding spaces when making definitions that are intended for verbatim application, it never occurred to me to do that in general -- there are so many places where they're required to get proper results.
 
2:45 PM
@barbarabeeton From a developer's perspective: It tends to be a lot easier to follow certain patterns absolutely rather than remember when exactly they're necessary. Especially with TeX, it's hard to keep track of what you're dealing with. I find it easier to simply use % all the time no matter the application (unless I'm ending a line with a control sequence). I consider it a 'TeX Style Guide' :)
 
But how could I write at the next line?? For example if I want that "Επαγωγή στο $x$." is appeared under "Proof" which command should I use?? @SeanAllred
 
@MaryStar You can actually alter the environment to do that for you. I've never needed/wanted to do this so I'm not sure of the 'correct' way, but you can always ask a question on the main site :) This would be a good one.
 
@MaryStar -- it looks here like you want to make sure that the text of the proof begins on a new line. the recommended method with amsthm is to start with \begin{proof} \leavevmode. the amsthm documentation has just been completely overhauled, and the new version is on ctan. go to ctan.org/package/amsthm and select one of the "usage guides".
 
@barbarabeeton @MaryStar If this style is to be applied to all {proof} environments, is it at all detrimental to use \AtBeginEnvironment{proof}{\leavevmode}? (from the etoolbox package, for reference)
 
@SeanAllred -- that's generally okay, if overkill. one place where you really do need to leave a space is after something that is checking or evaluating an integer, to terminate the search for another digit. (\relax also works in that situation, but it does require thinking about in either case.)
 
2:50 PM
@barbarabeeton Ahh, that's a good point. (Ticks off another reason for why I love expl3.)
 
@SeanAllred -- i haven't actually tried that, but i suspect it would work. have to make sure that it doesn't pre-empt the optional replacement header text. (didn't, and won't, cover patching or etoolbox in the amsthm documentation; when authors get too "experimental", it really wreaks havoc with production. you might want to take a look at the new documentation too; i'd welcome constructive criticism.)
 
@barbarabeeton Of course – patching is best left to those who have an inkling of what's going on. The majority of AMSTeX users are mathematicians who couldn't care less and that's ok :) I'll give the CTAN documentation a look-over sometime today.
Hmmm… since when did CTAN need login credentials? That seems…counterintuitive.
 
And in general how can I change the line?? For example, if I want to write after "Επαγωγή στο $x$." at the next line, what command should I use?? @SeanAllred @barbarabeeton
 
@MaryStar If you're changing the line, you ought to be thinking 'new paragraph'.
 
@SeanAllred -- i hope you mean "ams-latex". while it's true that ams-tex users are almost exclusively "senior" mathematicians, ams-latex (and in particular amsmath) has been around for over 20 years, and it's not recommended for a new tex user to take the older route.
 
2:58 PM
@barbarabeeton Heheh of course :) I've fallen into the bad habit of using 'TeX' as a catch-all for TeX-implemented formats
Though it's unfortunate that in many of the sources I've seen, you can hardly tell the difference :(
 
@SeanAllred -- counterintuitive? i agree! if that doesn't get you where you're going, go to the main ctan search page, ctan.search, and search by package name. (never seen what you've encountered though.)
 
@barbarabeeton ^ and yes, searching the package name worked wonderfully. I imagine you linked to page with the 'https' protocol
…just checked…that's not the case…weird.
 
@SeanAllred -- nope, i cut and pasted the url ctan.org/pkg/amsthm from the page i got to by following the route i described as an alternative. (was just trying to make things quicker.) i don't understand what happened either, but you've clearly found a way to do it.
 
@barbarabeeton Just seems odd that it happened in the first place.
And that it doesn't happen with the link you just posted.
 
Any obvious syntax error here - vpaste.net/tHwdN , I'm getting the error 'Package keyval Error: text undefined.'
 
3:11 PM
@SeanAllred -- most peculiar. i just tried the link i posted first, and i too got the login request. sigh. i sometimes think that i'm a "lightning rod" -- or at least a prime target of murphy's law. (there are times that the systems folks here hate me, since i'm often the first to report a glitch; but when they figure out that within a day or two the other 100+ people using the system would have been hit by the same thing, they're glad it was reported by someone who can report accurately.)
 
@baxx seems that text is not a vallid option for minted.
 
@Johannes_B, hmm, I thought it was. If I put tex into that minted section (instead of text) I get the same error, and tex is definitely valid... ah, think it's the square brackets at the end
@Johannes_B yeah, should have been {minted}{text} not {minted}[text], whoops
 
@baxx Best always to post a minimal example if you have any doubt. I never used minted, but having an MWE, solutions are found faster.
 
3:25 PM
@MaryStar eek don't do that:-) just removing all \\ that are not in tabular and similar alignment environments is always a good start.
 
3:39 PM
@DavidCarlisle IMHO the documents where users wrote \fontsize{5cm} and expected cmr17 are not lots. So it seems to be more usable for many current users to remove this obstacle. But I know, LaTeX fundamentalist never say that there is bad design or bad decision in LaTeX. I know that there is many more problems with old documents: The sauater-extrapolated metafont-generated fonts, the pictures in PK format with special curious DPI etc. The fix-cm (on-off) is only detail.
 
@Johannes_B: Perhaps I had the older doc before I renamed the package. That \do error is due to \tableofcontents from KOMA, the counter value is wrong and it runs into the wrong direction
 
@ChristianHupfer I am still sitting over your code trying to figure out what the hell is going on there. :-)
 
@Johannes_B: The \whiledo is from ifthen, everything else is etoolbox. I have to figure out whether I have accidentally provided the wrong version
 
@ChristianHupfer But why is \do suddenly undefined? etoolbox and the \do stuff works fine with a little test.
@ChristianHupfer \do should be etoolbox, but as i have said on FB, etoolbox should be able handle all the functionality of ifthen.
 
@Johannes_B: The whole stuff works if not using KOMA scrbook.cls (or scrreprt.cls). There's one \chapter* or \chapter command too much which writes to \jobname.aux when using scrbook. I don't fiddle around with \@starttoc any longer, as in the very first version
 
3:53 PM
@wipet there are lots of bad design decisions in latex, and lots more that would be different if it was being designed now rather than when it was, as the memory constraints are rather different, but that isn't the same as saying they should be changed.
 
@ChristianHupfer Hm, is it really one chap too much?
 
@Johannes_B \do is used in multiple placed in latex, but is only locally defined
 
@DavidCarlisle @ChristianHupfer ^^^^^
@ChristianHupfer Ich muss erst mal los, bibo macht jetzt zu. Du hast ne Mail. Bis später.
 
@Johannes_B: If you run the example with book.cls there are 5 chapters, but with scrbook.cls the package tries to write 6 chapter entries to the individual foo.cps* files. I don't understand why. The counters get out of sync
@Johannes_B: Got the mail, thanks
 
@ChristianHupfer Nonsense, i am tired. Just tested with book and everything ran fine. I'll have a look at later again.
@ChristianHupfer try \setuptoc{toc}{leveldown}, see what happens. Should use sectionnow
 
4:06 PM
@DavidCarlisle So \fontcharht extracts the value, but how can I specify a value for the height of my character? I know resizebox is your brain child but it still feels awkward. Is there any way around resizebox?
 
@1010011010 \fontsize{3cm}{4cm}\selectfont A}
 
@Johannes_B: Your modification did not improve the situation
 
@DavidCarlisle Didn't you just say that point size didn't relate to height?
Should I calculate a ratio of font height versus baselineskip or something?
If that's possible... I don't know
 
@1010011010 yes but you can work out what value to put. \f@size is the last selected size so if \fontcharht is half what you want, select twice \f'size
 
@DavidCarlisle So e.g. \catcode``@=11 \dimen0=\fontcharht\font``A \advance\dimen0 by \fontchardp\fontA \f@size\dimen0 \catcode@=12
I can't figure out those back ticks... whatever
I think the idea is pretty obvious
or include the baselineskip, \advance\dimen0 by \baselineskip (would make more sense0
 
4:14 PM
@1010011010 baselineskip not relevant I'd guess but your above doesn't include your "target" height (if I understand correctly what you want)
@1010011010 have a look at scalefnt.sty (an old one of mine)
 
@ChristianHupfer That's why the subject was wtf, since the diffdidn't show any important difference. :-)
 
​
West Indies
First innings 189 all out
Second innings 4 - for 0 wickets (1.0 overs)


England
First innings 257 all out
Second innings 123 all out

West Indies need to score 188 more runs.
 
4:55 PM
@ChristianHupfer No-one knows!
@ChristianHupfer Did you put your package down as author-maintained or just maintained?
 
5:27 PM
@JosephWright: author-maintained
 
5:40 PM
@ChristianHupfer Ah: don't do that (please)
 
@DavidCarlisle The idea is as follows... I wish to make a lettrine which stretches n lines.... so I figured, let's measure the height of the first line and n times the baselineskip... Then set a single letter (the lettrine) so that it has the height of n*\baselineskip + \fontcharht + \fontchardp.
The issue is that \fontchar<something> extracts the dimension but there's nothing where I can just set the <something> to a dimension of my liking, it's all just point sizes, well that or resizebox which I've never really liked (yeah, sorry).
What is known is the height and depth of the character, and the baselineskip of course (user specified) and based on that you can set a single letter with the appropriate dimensions, then \hangindent according to the width of the single letter, etc., that's all pretty trivial. Just don't see a command anywhere to set a letter in a specified height in TeX dimensions.
 
6:21 PM
@DavidCarlisle At the one proof of a lemma I have to use double induction. Removing all \\ the code is the following:

\begin{mylemma}
$A(x,y)>y$
\begin{proof}
Επαγωγή στο $x$.
Βάση επαγωγής: Για $x=0$ έχουμε $A(0,y)=y+1>y, \forall y$.
Επαγωγική υπόθεση: Υποθέτουμε ότι ισχύει για $x=n$, δηλαδή $A(n,y)>y$. (Ε.Υ.1)
Επαγωγικό βήμα: Θα δείξουμε ότι $\forall y \ \ A(n+1, y)>y$
Επαγωγή στο $y$.
Βάση επαγωγής: Για $y=0$ έχουμε $A(n+1, 0)=A(n,1)\overset{ \text{ (Ε.Υ.1) } }{>}1>0 \Rightarrow A(n+1, 0)>0$.
 
yo'
Can someone explain me why this is on meta?
4
Q: The Joy of TeX ...

Guido JorgI didn't know where to put this question, so I put it in Meta. For those that know this book by M. SPIVAK, which edition, 1982, 1983, 1986, 1990 does the E, Eir, Em first appear in? Just interested :) The question is for those that actually had (have?) the physical copies of these editions.

 
@yo' No: I've been wondering the same :-)
 
yo'
@JosephWright I'll VTC+migrate
@JosephWright I can't vote to migrate from meta?
Yes, I can't
 
@yo' But I can ;-)
 
yo'
@JosephWright but it's wrong
 
6:28 PM
@yo' What's wrong?
 
yo'
@JosephWright I used to be allowed to vote to migrate.
 
@yo' The network dropped most user migration paths deliberately: the argument was that the total number of migrations was small so it was best to keep (most) migration as mod-only
 
yo'
@JosephWright that's stupid
 
@DavidCarlisle
 
@yo' Most suggested migrations get turned down (questions are usually poor) so I do see the reasoning
 
yo'
6:33 PM
@JosephWright but the main <-> meta thing is different.
 
@MaryStar your induction steps should probably start new paragraphs (blank line)
 
@yo' Yes: we could ask for a migration path to be added, but like I say the mod load is not too bad :-)
@DavidCarlisle Any news on XeTeX?
 
yo'
@JosephWright yeah, I know.
 
@MaryStar and the overset EY1 should never be set with inline ($) as it disturbs the line spacing as your image shows
@JosephWright nothing today but basically Jonathan's pushing a change into master and texlive 2015 that avoids some issues with unpaired utf16 surrogates (that can cause xetex to hang currently) fixing \string and some other things still seems delicate (and not done) and won't make it into tl2015
 
@DavidCarlisle Which command could I use so that the base case (Βάση επαγωγής) is in an other line as the inductive hypothesis (Επαγωγική υπόθεση) and the inductive step (Επαγωγικό βήμα) is in a new line?? Also the second induction on y (Επαγωγή στο $y$) is a part of the "Επαγωγικό βήμα: Θα δείξουμε ότι $\forall y \ \ A(n+1, y)>y$". As it is now we don't see that it is a part of that. Is there a command so that it is written more in the middle and not at the beginning??
 
6:39 PM
@DavidCarlisle But it is happening?
 
@MaryStar blank line
 
@DavidCarlisle Will we get \Uchar?
 
@JosephWright nope
 
@DavidCarlisle schade
@DavidCarlisle I want \(pdf)mdfivesum too: need to explain the plan to the team first :-)
 
@JosephWright well haven't raised it yet, the utf16 stuff raised more issues the more anyone looked at it, so just getting a version that didn't crash into tl2015 seemed reasonable, but promising to see two people with active commits looking at this, but I think it's too close to tl2015
 
6:44 PM
@DavidCarlisle The existing test version doesn't crash :-)
@DavidCarlisle Agreed on the people looking point
 
@JosephWright it did with some combinations of (utf8 encodings of) utf16 surrogates
 
@DavidCarlisle Probably crashed with TL'14/3/2/1/0/...
 
@JosephWright yes
 
0
Q: Why don't the packages titlesec and framed work with XeLaTeX?

Randy RandersonI'm new to XeLaTeX, and my code won't compile when I use the packages titlesec and framed. Am I doing something wrong, or are these packages just incompatible with XeLaTeX? If they are incompatible, what is a good alternative? There's nothing to say as far as an MWE: I just get an emergency sto...

Thoughts on my answer (and comments thereon)?
 
@JosephWright as I say it is encouraging we got people looking, less encouraging that problems everywhere:-)
@MaryStar probably I'd set the induction proof as some kind of list perhaps \begin{description}\item[Induction hypothesis] bla bal...\item[induction step] ...
@1010011010 something like {\fontsize{\dimexpr 4\baselineskip +\fontcharht\fontA}{\dimexpr 4\baselineskip +\fontcharht\font`A}\selectfont Q}` will make a big Q that's the size of 4 baselines plus the height of a normal A in the current font
 
6:55 PM
@DavidCarlisle Wait... what did you mean then with "the "font size" is an arbitrary number assigned by the font designer it doesn't have to correspond to any measurable feature of the font"
 
yo'
@1010011010 a 10pt font can have the true x-height equal to 1000pt
 
I thought that kind of implied that \fontsize{10pt}{8pt} had nothing to do with a char height of 10pt, or baselineskip of 10pt, or, or ... or ...
 
@1010011010 oh yes well you can factor in the height of Q, just need to make the dimexpr a bit bigger but actually doing this automatically is doomed, you should just pick a size that looks right, some letters just need to be a bit bigger or smaller, depending
 
yo'
@1010011010 it can happen that you set up \fontsize{10}{12}, you print only one letter, let's say "A", and this letter is really huge (or really small)
 
I was hoping I could automate it by saying e.g.
\dimen0=\fontcharht`f \advance\dimen0 by 4\baselineskip \printnextcharwithheight{\dimen0}{Q} or whatever, for a lettrine spanning four lines
 
7:00 PM
@1010011010 you can automate it but just as italic correction or hanging punctuation sometimes needs a bit of help same is true of the drop cap, you might want to make an A a bit bigger than you'd make a T as the pointy bit at the top doesn't visually fill the space so much...
 
@DavidCarlisle Couldn't that be automated with \setbox0=\hbox{some stuff containing the big letter} then use \wd0 as hangindent, multiply it by a set amount, e.g. add 5% of the width of the box...
 
@1010011010 but the amount might depend on the letter, but I'd just use the version I suggested above unless you have evidence that the character heights of the font you are using are unsuitable.
 
@DavidCarlisle Actually, I just thought of an idea. It should be possible to calculate the ratio of two dimensions, right? Of course that number would be dimensionless...
 
@1010011010 yes that's what I suggested initially
 
@DavidCarlisle How do I go about it? Yeah, sorry, I hadn't much success by simply dividing one dimen by another
 
yo'
7:08 PM
@1010011010 well, you can only get an integer ratio this way, that's the problem
 
@yo' Yup, I noticed....
 
@1010011010 graphics package has a macro to do that (but there are others) it's tricky with fixed point arithmetic, and as I say I doubt you need it
 
@DavidCarlisle Dividing fontcharht by the baselineskip is a really good idea, no? Then I have the ratio, so that I have a link between the values specified by me in the \fontsize command and the actual height of the character that is printed...
 
7:31 PM
@DavidCarlisle Ok... Thank you!! :-)
 
7:44 PM
My mind seems to be tired once more. Can anybody see where i made a mistake?
\documentclass{article}
\usepackage[american]{babel}
\usepackage[style=apa]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
%\NewBibliographyString{retrieved}
%defined in american-apa.lbx and hence loaded at this point
%shoudln't that be available for definition below?
\DefineBibliographyStrings{american}{
retrieved={some string}
}
\addbibresource{biblatex-examples.bib}
\begin{document}
\fullcite{ctan}
\end{document}
 
@Johannes_B No mistake by you, but of style=apa.
 
@egreg Oooohh
 
@JosephWright: Well, I'll change to maintained then... Do I have to name a possible future maintainer then, in advance?
 
@egreg Still, when is knowing the string exists lost?
 
@ChristianHupfer I suspect not, although this sounds like a new thing from CTAN (perhaps to avoid issues)
 
7:50 PM
@ChristianHupfer no godfather then? Puh. :-)
 
@Johannes_B I don't know and I'm not curious at all. I consider everything TeX related to APA as bad as I can.
 
@egreg :-) I know the feeling.
 
@Johannes_B Their class is the worst I can imagine. Of course I don't consider worth bothering the vast majority of academic institution provided classes.
 
Mar 20 at 19:21, by Johannes_B
Pretty girl in the library asking for assistence in finding a book: The Concise Rules of APA Style. My comment: Schei\ss{} APA
 
hi
 
7:54 PM
@Johannes_B I'd star it, but it's better not to. :)
@Lembik Hi!
 
@egreg :-)
 
I would like to produce grade 1/2 worksheets automatically for addition and substraction
can anyone suggest a way to do this? I would write python code to produce latex if there isn't a nicer way
or could the whole thing be done in latex? That is also produce the random numbers in the right range?
hmm... it looks like it can all be done in latex .... by an expert :)
 
@Lembik It depends on what you mean; something like column addition or subtraction schemes?
 
@Johannes_B: I consider to replace the \dolistloop by ` \forlistloop, however, this means that I've to process the full list and can't stop in between with \listbreak` (at least I do believe so). I'll report in a few minutes ;-)
@Johannes_B No chance: You will be the named maintainer :-P
 
@ChristianHupfer I really have never had the need to work with lists.
 
8:03 PM
@Johannes_B: If you don't know how many values there are, lists are the clue (or hashs, but that's quite difficult with TeX)
 
@JosephWright On the Mac there's TeX Live Utility, better than using tlmgr from the command line.
 
@DavidCarlisle I have written in \begin{description} the following:

"Σύμφωνα με το Λήμμα $1$ $A(x, 2m)>2m \Rightarrow A(x,2m) \geq 2m+1$ ή ισοδύναμα $A(x, 2m)+1 \geq 2m+2=2(m+1)$. "

and it appears as followed:
 
@egreg I know there is: like I said, I would still use tlmgr
 
Is it possible that the last expression isn't seperated in that way?? @DavidCarlisle
 
@MaryStar And how would you typeset it? It doesn't fit in the line, so it must be broken.
@MaryStar It's perfectly normal.
 
8:12 PM
Ok!! @egreg
 
8:28 PM
@Johannes_B: \forlistloop is quite promising. And \listbreak works too ;-)
 
yo'
From what I know, Paulo should be on his way back home. We should prepare for him a good welcome! :)
5
 
@ChristianHupfer Your code is a little bit messy, i was looking at it but i didn't saw any specific reason for breaking stuff. Redefining chapter might not be best idea, but it could't have been broken there. Need to look into it once more.
@yo' We need cake. And balloons, and confetti and ....
 
@Johannes_B: I believe, that I do not really need that redefinition of \chapter any longer. And remember: It's just the work of a few hours, not much time involved so far
 
yo'
@Johannes_B 🍪🍪🍪 <--- (should be cookies)
3
 
@yo' I see squares with 01F36A
 
8:33 PM
@Lembik -- you might be interested in this paper that was presented at the 2010 tug meeting by pavneet arora: Using LaTeX to generate dynamic mathematics worksheets for the web. the web site it points to, bansisworld.org, isn't reachable at the moment, but there are indications that it's been working recently. (if you have problems, ask, and i'll get in touch with the author.)
 
yo'
@Johannes_B well, so do I, but I'm sure that such a geek as Paulo sees COOKIES everywhere :D
 
@yo' Works for me :-)
 
@yo' :-) KEKSE!!
 
yo'
@JosephWright :-)
 
@yo': @PauloCereda only eats true Black Forest cookies ;-)
 
yo'
8:38 PM
@Johannes_B keks is the Czech word for a cookie!
 
@yo' And the german ;-)
 
@ChristianHupfer -- i betcha he'd eat lebkuchen!
2
 
yo'
@Johannes_B impossible. The Czech language never adopts any German words.
 
@yo' German word 'Keks' has its origin from cake(s), rather phonetically. The other word would be Plätzchen
@barbarabeeton: Possibly, yes ;-)
@Johannes_B: I kicked out the redefinition of the \chapter and all that KOMA specific switches... and it works ... I'll try to produce an MWE which will reproduce the error with the \dolistloop way, perhaps I will post a question then
 
@egreg -- nice praise for joy. i think i should tell mike. (he did get the steele prize for mathematical exposition in 1985, for five volumes on differential geometry.) i find it much easier going than the latex manual; i'm trying to persuade ams they should "open it up" and put it on the web as has been done with "math into type".
 
8:46 PM
@barbarabeeton That would be great! Unfortunately I don't own a copy of it. I read one that was at the computer room: a professor bought it and the TeXbook when in the US and left them at disposal. First edition, IIRC.
@barbarabeeton He has never learnt TeX, by the way. :) He's now a (retired) colleague of mine at Verona: his lecture notes are terribly written with you know what.
 
@egreg -- i assume you mean that your colleague has never learned tex, not mike. ;)
 
@barbarabeeton My colleague, of course. He bought the books and never read them.
 
\strip@pt\dimen0 how to store the value in a count or whatever?
Since \strip@pt implicitly uses \the, which is a print command...
 
9:05 PM
@JosephWright mail:-)
 
@1010011010 You want to store the result?
 
@JosephWright Yeah... I guess it's tough huh? I mean, the result is dimensionless, but counts can't do anything for me since they're limited to integers....
@JosephWright Increment by 65536 and cross fingers?
 
@1010011010 just store the factor as a macro,
 
@1010011010 \edef\foo{\strip@pt\dimen0 }?
 
@1010011010 as I said ^^^
 
9:09 PM
@JosephWright How did I not think of that........
 
9:29 PM
@egreg https://github.com/plk/biblatex-apa/issues/9 and a comment by @UlrikeFischer:
> Die Dokumentation zu \NewBibliographyString sagt "When used in an lbx,the key is initialized only for the language specified by the name of the lbx file. The keys listed in § 4.9.2 are defined by default."
@UlrikeFischer Initializing the string once again cannot correct, right? Though i read this part of the doc, it wasn't apparent to me that this would be the expected behaviour.
 
9:51 PM
@JosephWright @egreg Uchar is always catcode 12? :(
 
@DavidCarlisle Seems so.
 
@egreg bad news: that's a rubbish definition, Good news, got it working in xetex same as luatex, including non bmp characters
 
@DavidCarlisle :)
@DavidCarlisle We could still ask Taco to issue the right catcode.
 
@egreg yes but @JosephWright was rather hoping I'd (a) get it working and (b) get it accepted for xetex in time for tl2015, not much chance of that if it means a change in luatex as well, I guess.
@yo' we had duck for evening meal, does that count as preparing a welcome?
@egreg: West Indies won by 5 wickets.
 
@Johannes_B: I uploaded the corrected version (with your recommendations) on CTAN
 
10:15 PM
@JosephWright when you have a moment, take a look here. Is my suspicion (see comment) correct or am I misusing something? The \ignorespaces is required even when leaving out beamerposter.
Nevermind the above; my mistake. :-D
 
@PaulGessler I added a better version as a comment (seemed unfriendly to steal your MWE and make an answer:-)
 
@DavidCarlisle yes, I see. That's actually what I tried first. Can you guess my error with that?
Forgot \makeatletter... xD
Epic fail
 
@PaulGessler it does help:-)
 
@DavidCarlisle Not difficult to guess from the score you showed earlier. :)
 
@egreg it could have rained all day and forced a draw....
 
10:25 PM
@DavidCarlisle only time I've ever needed those bad boys was in class files, and I just copied it into my attempt without trying. :-) All fixed now.
 
@DavidCarlisle Does it ever rain in the West Indies in this season? It's not England. :P
 
@egreg compared to England, I hear they have cold miserable weather all year
 
@PaulGessler: As long as you are not trying to use pgflatex foo.tex (as I did yesterday on command line :D)
 
@DavidCarlisle Yes, their summer lasts for at least eight months.
 
@ChristianHupfer don't give anyone any ideas with that! LOL
 
10:27 PM
@ChristianHupfer It could be an idea: pgf already loaded in the format!
 
@ChristianHupfer I catch myself typing PDF for PDG and vice versa all the time; my initials are PDG and F/G are very nearby on the keyboard. :-D
 
@PaulGessler: Portable Data Gessler? :-P
 
@ChristianHupfer Pseudorandom Document Guesser
 
@PaulGessler: Probability Distribution G(u)ess(l)er :-P
 
07:00 - 23:0023:00 - 00:00

« first day (1645 days earlier)      last day (3280 days later) »