« first day (1542 days earlier)      last day (3395 days later) » 
00:00 - 19:0019:00 - 00:00

12:06 AM
@AlanMunn The OP has EPS files and PDF versions are automatically generated by epstopdf.
 
12:19 AM
@egreg Ah, ok. I thought there was some TeXShop magic that I was unaware of. So the question is majorly incomplete...
 
@egreg taking bets on There is nothing wrong with my latex, = I have a syntax error ?
 
@DavidCarlisle Or gigantic tables/paragraphs.
 
@egreg or all floats and running out of floats...
 
 
2 hours later…
1:56 AM
10
A: font-not-found error: font "HoeflerText" cannot be found -- LuaLaTex error!

egregHoefler Text is distributed with Mac OS X; I don't know if it can be used on a Windows system, as it is not an OpenType font. Just change the line \setromanfont[Mapping=tex-text]{Hoefler Text} to \setmainfont[Mapping=tex-text]{Times New Roman} or any other system font you have. Notice that...

@egreg Should this be updated to nix Mapping=tex-text?
 
2:54 AM
I have a quick question -- what is the command that provides the width of the body of a document? I am making a minipage and would like to call this value to reduce it by 2in.
 
 
4 hours later…
 
1 hour later…
7:57 AM
Does anyone know why this site is telling me I need to put my first argument of \def in square brackets?
 
yo'
@Alex either \dimexpr\textwidth-2in\relax or \dimexpr\linewidth-2in\relax
@Anthony because it's wrong?
 
@yo' whyyyyyy
Why would people put up false information );
 
yo'
@Anthony ask Josselin Noirel: en.wikibooks.org/w/…
 
@Anthony That's just an example, not really the one I'd use as the starting one. But ptobably the author is not really expert with \def
 
yo'
@egreg feel free to edit it ;)
 
8:02 AM
@yo' That site? It would need months.
 
Does that code work though?
 
yo'
@egreg that's not so much :D
@Anthony yes, it's part of the internal definition of a macro with optional argument
 
I don't know what those words mean when put together like that...
 
hooray for #3. @Johannes_B is correct -- much of the "recommended" stuff out there is just plain wrong, as well as outmoded (and this includes stuff that i've written). but as for an "intermediate" manual, i'd like to recommend guide to latex by kopak & daly; it's not up-to-the minute (especially with respect to packages), but it covers the basics in a way that someone with not much experience can cope with, while providing a reliable reference for more advanced users when the need arises. — barbara beeton Jan 10 at 13:31
 
I mean, why does that site have the first argument in square brackets when you don't need it...
 
yo'
8:04 AM
@Anthony when you use \newcommand\foo[2][1], then internally, more than just \foo is created.
 
@Anthony Look at the first few points.
 
Is there a good place to learn TeX, rather than LaTeX? I was flipping through the TeXbook, but I was really trying to avoid things like \newcommand as of now
.
 
yo'
@Anthony TeX by Topic, included in your distribution probably, try to run texdoc texbytopic or look for texbytopic.pdf. The only problem is that it does not cover e-TeX
 
@Johannes_B I mean, I guess I can believe it, but I still want to know what compelled them to write that in the first place.
Oh fun!
Thanks.
@yo' But can you re-explain what you were saying up above real quick? Why did that person think that you needed to put the first argument in square brackets?
 
@Anthony They/he didn't know better?
 
yo'
8:08 AM
however, I'm not sure if it's really the good thing to do. You should better learn pure LaTeX3 (interface3)
 
Oh, so it's just wrong?
Like it -won't work-?
@yo' But I feel like TeX is puuuuure.
 
yo'
@Anthony The code will work, but it's far from being the only way to go. You can have \def\foo#1[#2]!#3#4#5\foo#6\foo\bar[#7]]]]]]#8{bla}
 
Do you mean the code will work, or the code is wrong?
 
yo'
or simply \def\foo{bar} as well as \def\foo#1{Hello, #1}
sorry, better? :)
 
Ah.
So what do the square brackets mean?
 
yo'
8:11 AM
@Anthony they prescribe how the arguments to the macro have to look like. If they don't, TeX throws an error
Try putting \section[My section{My section}<newline><newline> into your document and you'll see
 
Due to my lack of ability, I'm not sure that that will prove illuminating.
 
@Anthony It doesn't, it says with that definition of \foo the first argument then has to be in square brackets
 
oh!
Thanks everyone
 
8:38 AM
Isn't it really bad to break a fraction in complete over multiple lines? latex-community.org/forum/…
Hm, one could split the numerator and the denominator separately, so the equation will itself is still one line.
 
yo'
8:56 AM
@Johannes_B it's a criminal act
the right thing is: \bigl( foo \bigr) \big/ \bigl( bar \bigr)
 
@yo' I think the whole thing in the link above is somehow criminal
 
@yo' :-D
 
yo'
hey it's -1C outside, ouch
 
it could snow a bit more
 
yo'
9:12 AM
@binaryBigInt it will here, tomorrow :)
well, gotta go, see you soon
 
9:36 AM
@yo' that's 3 warmer than here
@Anthony It isn't telling you that. It is giving an example that does that and explains in the text underneath what that means.
@Anthony no, it's right:-)
 
@DavidCarlisle What's the status on the current test failures?
 
10:11 AM
@JosephWright good timing, I just this second ran tlb-fltrace002 with a further kludge in fltrace to clear the includeinrelease flags as well as ver@flafter so that flafter package can be reloaded and now only get trivial diffs (different line numbers) so I'll run the whole suite and if the only diffs are the tracing of the new OR I'll check them in then we should be all passed
 
@DavidCarlisle Good
@DavidCarlisle We just need to see if the current plan is OK
 
@JosephWright yes...
 
yo'
10:23 AM
@DavidCarlisle but cold enough to cause my fingers and toes to freeze a bit on the bike.
 
@yo' Ah yes the car probably has more efficient aircon than a bike
 
yo'
@DavidCarlisle my gloves, hiking shoes and thermalwear work as a good air conditioning, too. Just the regulation is a bit more complicated, most people need to stop in order to do it :)
 
Do we have a generic 'how to trim spaces' question? I'm wondering if I should ask one then answer it with the expl3 code (recoded, of course, for plain). It comes up occasionally and the version we have is a bit cleverer than the \catcode`\Q=3 approach one sees sometimes.
@DavidCarlisle So currently 7 test failures?
 
yo'
@JosephWright trim you mean the ones at the beginning and end of a string?
 
@yo' Yes
 
yo'
10:32 AM
this one?
10
Q: Trimming whitespace around text (like LTRIM, RTRIM and TRIM)

WernerWhen working in Excel with text strings, it is convenient to use the LTRIM, RTRIM and TRIM functions which removes white space around text string. What would be an efficient way of duplicating this in LaTeX? For example, say you programmatically produce variables \def\firstname{FirstName}% Firs...

there's actually an answer by you using L3 ;)
 
@yo' Ah, I'd forgotten about that one!
 
yo'
@JosephWright your answer should get a better explanation of the L3 function, though, and then it'll be just ok I think :)
 
@yo' Will perhaps look at that over lunch
 
yo'
@JosephWright ok
 
@JosephWright yes but really two, I wanted to check that latexrelease really did revert the old behaviour so I wanted tlb-fltrace-002 and tlb-fltrace-004 to pass, the tlg for tech "new" 2015 output routine are just stubs (the word check) so if the output from them looks plausible I'll just check them in. half way through a full run now....
 
11:22 AM
I'm drowning with work, help!
 
yo'
@PauloCereda I'm being drowned to death by my work, help!
Quack
 
@yo' Quack!
 
@PauloCereda ducks can hold their breath for a long time, don't worry.
 
@DavidCarlisle Do they? Ooh! :)
I was reading a Sherlock Holmes story yesterday during my trip back home and there was a goose involved!
 
@yo' I've tried to explain the plan
 
yo'
11:32 AM
@JosephWright it would use a "TL;DR Just use LaTeX3, which provides \tl_trim_spaces:n"
@JosephWright btw, this reveals that a specific person made a downvote: tex.stackexchange.com/review/first-posts/60865
 
11:48 AM
@JosephWright All checks passed
 
@DavidCarlisle Cool
 
 
1 hour later…
12:58 PM
Good maen
 
yo'
@ChristianHupfer hi
 
@egreg tex.stackexchange.com/a/224024 thanks, done.
 
@yo' Hello
@yo': I replied to pops yesterday ...
 
yo'
@ChristianHupfer I replied him like 5 minutes after the message came here :) and I was actually quite surprised: I've always thought that Pops is she ;)
 
@yo' : Prejudices :-P
 
yo'
1:11 PM
@ChristianHupfer more of a false judgement :)
 
@yo': For sure ;-)
 
@LaRiFaRi Comment removed
 
@yo': The OP in the question about excursions does not know \begin{texcursion}...\end{texcursion}? ;-)
 
yo'
Please tell me that this is not for real:
2
Q: How to make LaTeX do auto punctuation like Word

user1064929Something is bothering me while I use LaTeX. If using, for example, Word, it will automatically capitalize the first letter of the beginning of each sentence and also suggesting to make some other punctuation etc. At this point, is there any tool or package available for this matter for LaTeX?

And tell me what to do to kill the urge to comment: "Go back to the primary school" :(
 
1:27 PM
@JosephWright I think I was going to grab \tracingall from etex.sty wasn't I?
 
1:47 PM
@DavidCarlisle Yes
 
@JosephWright will do that sometime today
 
@DavidCarlisle You'll handle this?
@DavidCarlisle Ah, cool
 
2:33 PM
@yo' Next on the list: How to make LaTeX auto type my document? ;-)
 
@HarishKumar better yet: Why is getting LaTeX to auto-type my document so complicated? ;-)
 
yo'
@Harish @Paul :)
 
@JosephWright done, was a bit surprised it didn't affect any tests
 
@yo' It pinged me. :)
 
@DavidCarlisle Running tests here :-)
 
2:44 PM
@JosephWright forgot the checksum...
@JosephWright fixed
 
@DavidCarlisle I'm checking everything (build.lua ctan)
 
Hi
 
@barznjy Hello
 
In the two column paper, if I have a long equation that I want to cover both columns, I use the following form, I would like to know if it is the correct way to do this:
\begin{figure*}[!t]
\normalsize
\begin{eqnarray} \label{eq:er12}
F = xxxxxxxx + xxxxx + ...
\end{eqnarray}
\hrulefill
\vspace*{2pt}
\end{figure*}
 
@barznjy it's as correct as there is (it isn't really supported) the main possible problem with that is that the floating equation can float past normal ones but the numbering stays as it was
 
2:58 PM
@DavidCarlisle so, do you prefer to use "align" instead of "eqnarray"?
 
@barznjy oh didn't notice you'd used eqnarray, don't use that use align (or for a single line just equation (but don't use eqnarray anywhere not just in this float use)
 
@DavidCarlisle OK, Thanks
@DavidCarlisle the problem is when I use align, the equation needs more space than eqnarray
 
yo'
@JosephWright Is there an L3 equivalent of \usepackage{environ}\NewEnviron ?
 
@barznjy it does?
 
@DavidCarlisle Yes, I just checked it.
 
3:05 PM
@yo' don't think so
 
yo'
@DavidCarlisle ok, thanks. Well, @egreg could know the answer if David is not sure: Is there an L3 equivalent of \usepackage{environ}\NewEnviron ?
 
@barznjy oh I believe you I'm just a bit surprised. where is teh extra space above below the display or between the lines
@yo' not really done top level document syntax at all perhaps a latex3 document will have a proper syntax like <section>....</section> and won't need special kludges for environment parsing..
 
yo'
@DavidCarlisle ok, thanks
 
@DavidCarlisle for align the equation number comes to the new line, but when using eqnarray it will fit within one line only.
 
yo'
@barznjy well, in that case you can \mkern-6mu at the end of the equation, but it all just means that the equation is too long to fit in the line
 
3:10 PM
@barznjy ah is the equation too wide, align can cope with wide equations by moving the number, but eqnarray can't so it just squeezes everything into an overfull box and can overprint in bad cases
 
This longtable package is really good.
 
yo'
@PauloCereda shhhhh don't tell @David
 
@yo' Not at present
 
@yo' \mkern-12mu is equivalent to eqnarray !!!!!!
 
yo'
@JosephWright ok, I'll stick to Environ and experiment with \cs_gset_eq:NN
thanks
 
3:14 PM
@DavidCarlisle @yo' Thanks a lot ...
 
yo'
@barznjy in which sense? In overprinting the number over the equation text? Yes. Please use it with caution (and at your own risk).
 
@yo' Yes, its a good trick for squeezing equations.
 
yo'
@JosephWright or I will simply make abstract a command rather than a macro :)
@barznjy no. It's a last resort dirty trick. The default behaviour was chosen for a good reason.
 
3:27 PM
@DavidCarlisle base builds all the way to a zip file :-) With the TDS inclusion turned on the total is about 20.4 MB
 
@yo' No.
 
@egreg We've established that :-)
 
@JosephWright I was lecturing, so I couldn't answer.
 
yo'
@egreg ok, seems that \NewEnviron{myenv}{\tl_set:No \l_mypackage_myenv {\BODY}} does the job nicely :)
 
@yo' \tl_set:NV \l_mypackage_myenv_tl \BODY is even better
 
3:36 PM
@egreg this is the bestest way! :P
 
yo'
@egreg ah V, however (just to make sure), are the two equivalent?
 
@yo' Not completely
*\cs_show:N \exp_args:No
> \exp_args:No=\long macro:
#1#2->\exp_after:wN #1\exp_after:wN {#2}.

*\cs_show:N \exp_args:NV
> \exp_args:NV=\long macro:
#1#2->\exp_after:wN #1\exp_after:wN {\tex_romannumeral:D \__exp_eval_register:N #2}.
@yo' But it's better to use V instead of o whenever possible.
@yo' I'm sure @JosephWright will agree
 
yo'
@egreg I've never understood the \romannumeral business, so I'll trust you :)
 
3:53 PM
@LaRiFaRi This is annoying, really annoying.
 
@Johannes_B huh, what? Done something wrong?
 
@LaRiFaRi Not you, don't worry. You were just the first one i could scream to. Sorry.
 
@Johannes_B ah ok. I did not have so much trouble with that guy... just seen it is a DropBox and commented it out. Thanks for your effort.
 
@LaRiFaRi I just spent 45 minutes to look at users questions and posted answers and right before i got to that guy, i sow the crospost. Das regt mich auf.
 
@Johannes_B verständlich, verständlich. Just do Feierabend like me in two minutes
Or Fyrobig, as they say here
 
3:59 PM
@LaRiFaRi Noo, i cannot do that right now.
 
well, gonna go. Have a nice evening all of you and a good night/day for those not on my Breitengrad
 
@LaRiFaRi Sounds like a nordic language :-D
@LaRiFaRi Same to you, see you. Schönen Feierabend.
 
north of the Alps, yes
@Johannes_B Thank you
 
yo'
@egreg Do I understand it correctly that \l_ stands for "local" and \g_ for "global", i.e., that I should have \tl_gset_eq:NN \g_... rather than \tl_gset_eq:NN \l_... ?
 
@yo' Yes
 
4:06 PM
@yo' In that case it's used for grabbing the variable type: V works for token lists, clists, integers and other “unique value” variables.
 
yo'
@JosephWright ok thanks
it'll take me a long time to get used to this all :)
 
@DavidCarlisle Five failures in tools
  Check failed with difference files
  - ../../build/test/sx121692.etex.fc
  - ../../build/test/sx138783.etex.fc
  - ../../build/test/tlb2563.etex.fc
  - ../../build/test/tlb2968.etex.fc
  - ../../build/test/tlb4173.etex.fc
@DavidCarlisle I think this is all the \addvspace business
 
@yo' After \tl_gset_eq:NN the first variable should be \g_..., the second one can be either local or global; the important thing is that you globally assign a value to the first named variable, so it must be a global variable.
 
\begin{titlepage}
\maketiitle
\end{titlepage}
 
yo'
@egreg yeah I see
 
4:22 PM
@JosephWright yep got same here, will sort out this evening
 
4:52 PM
Is this a comment, or an answer? @joseph
0
A: \newcommand{\name}{Name} to change a keyword in different versions

Guilherme@Werner That solved my problem. Thank you. =] I wasn't puting a {} at the end of the command.

 
@Johannes_B Comment
 
@JosephWright Ok :-) I beat you are taking care of it. Thanks.
 
@Johannes_B Question is surely a dupe
 
43
Q: \newcommand and spacing

BenHow can I define my own shorthand command, but making sure that the spacing afterwards is correct? \newcommand{\abc}{\textsc{abc}} produces 'ABC,' but has the problem 'ABCmoretexthere' (i.e. no space before the next word). Vice versa \newcommand{\abc}{\textsc{abc} } produces 'ABC moretexthere...

162
Q: Space after LaTeX commands

KaarelI have a definition \newcommand{\arnold}{Arnold Schwarzenegger} when I refer to it by \arnold is a it is rendered as Arnold Schwarzeneggeris a In order to have a space in front of "is" I would need to write \arnold\ is a Is there another and shorter way?

 
@Johannes_B Duped
 
yo'
5:01 PM
Is there a \seq_set_from_clist:NN (or Nn) ?
 
@yo' Yes. Page 108
 
yo'
@egreg Ok, seems that I need TL2014, which will make the class compatible only with TL2014+
@egreg Please, what does "taken over" mean here?
If you want the selection of schemes/collections and various options being taken over press `y', otherwise anything else.
(trying to install 2014 along with 2013)
ah I get it now, sorry.
 
@yo' Press y
 
yo'
@egreg yeah, I got it.
ETA 16 minutes. Incredible :)
 
5:20 PM
@yo' Estimated time of arara. :)
 
yo'
@PauloCereda well, you don't predict it a long life then ;)
just I don't at all remember how this /opt/texbin works
 
@yo' You create a symbolic link:
[paulo@cambridge ~] $ ls /opt/texbin -l
lrwxrwxrwx. 1 root root 40 Dez 30 06:57 /opt/texbin -> /usr/local/texlive/2014/bin/x86_64-linux
 
yo'
@PauloCereda ah, that's what I have :D
I did ll /opt/texbin instead of ll -d /opt/texbin
so I just and simply chhange 2013 to 2014 and that's it it seems ;)
Is this OT?
0
Q: Find and replace in MathType

AtasIs there a way to search across all the formulas for a given expression in MathType? I wordified my latex paper and I need all greek capital letters to be in italics, changing them one by one is hell.

 
@yo' yes
 
yo'
@DavidCarlisle can I redirect the OP somewhere? SO?
 
5:31 PM
@yo' it's commercial supported software he could ask design science
 
yo'
@DavidCarlisle well, I don't know what it is
 
@yo' it's a math plug in for Word (by the people who make the basic equation editor that comes with Word)
 
yo'
@DavidCarlisle ah ok. Well, I cast a close vote just now, I don't think we can do much for the OP.
 
5:56 PM
Hello, to re-open a closed question, is it enough to edit it or should I notify one of the higher up who closed it? (if yes, how?) I asked it a while back, tried the ~solution of the related question which doesn't solve it. I pinpointed the problem and found a fix, so I'd like to format the thread to answer future identical problems, possibly have it noticed by the package author.
 
yo'
@luneart Hello there! Have you got a link, please? :)
 
1
Q: fancyhdr's and accentuated letters

luneartI am writing my thesis, in french. I also use fancyhdr. In the head of the page I have the chapter title. I had no problems for the first chapters, but the third include accentuation. I then had error messages telling me to increase headheight. The package fancyhdr is supposed to figure out that ...

@yo' the problem actually comes from fancyhdr which does not measure the necessary headheight correctly
 
yo'
@luneart I don't understand what is your problem here. If you use \setlength{\headheight}{16pt}, everythihng is fine?
 
yes, but fancyhdr is supposed to figure that height on its own
 
yo'
@luneart it does, but it prints a warning
 
6:02 PM
@yo' latex does
 
yo'
It doesn't have a crystal ball to know in advance what you are putting in the head
 
@yo' not in advance, on next run
actually what fancyhdr does with non-accentuated letters
 
yo'
@luneart sorry, that's bullshit
just set the headheight properly and be happy. I don't see anything wrong with that.
You surely can use the multi-pass feature to do this, but why on earth would you do that?!
 
@yo' then I don't understand why in one case (english) when fancyhdr does find out needed headheight and it's "normal", and in the other case (french) when it doesn't it's bullshit
 
Ayo.
 
6:06 PM
@yo' if you prefer, it's a babel setting that fancyhdr does not reflect
 
yo'
@luneart I don't see what do you mean by "finds needed headheight" -- fancyhdr does not modify headheight.
 
@yo' What is the name of the thing that goes in square brackets to a function? The thing in curly braces is the argument, right?
 
yo'
@Anthony optional argument you mean?
 
@yo' tex.stackexchange.com/questions/117804/… : "Package fancyhdr already updates \headheight or \footskip, if the header or footer is too large."
 
Duh. Thanks.
How come for something like \begin{Theorem} the optional argument goes after?
 
yo'
6:08 PM
@luneart That's presumably a typo, it should be "if ... is too small". When it's too large, fancyhdr is happy
@Anthony because \begin{...} doesn't allow the optional argument to go before the environment name.
 
But whyyyyyy.
Why not just have it be like the other commands...
 
yo'
@Anthony you mean e.g. like \newtheorem that has optional arguments at all possible places?
 
@yo' yes, different reference frame but same thing
 
I thought the general format of commands (Is that the right word?) was \command[optional argument]{argument}.
 
@yo' to clarify:
 
yo'
6:12 PM
@Anthony really? like with \newcommand\foo[4][defolt]{The arguments are: #1, #2, #3, #4}
:)
@luneart I'm yet to see a document where the value which fancyhdr prints in the warning is wrong. And if it is, then just use a larger one. Problem solved. Don't ask LaTeX to automate things that shouldn't be automated.
 
@yo' if the content is too large, fancyhdr adjusts headheight ; if headheight is already larger, as you said, no complains from fancyhdr
@yo' I just ask that treatment of all languages be equal...
 
yo'
sorry, I don't have so much time. If you post a MWE for which the answer by Heiko doesn't work, I'm willing to consider casting a reopen vote. Without that, I'm not. The current MWE in your question doesn't seem to qualify.
 
@yo' Wait wait wait, that's a definition- I meant like in general commands have a name, optional arguments, and arguments. Like in a lot of \usepackage usages they have it in the format I mentioned.
 
yo'
@Anthony No, the command \newcommand itself is the example of a command that has more than one optional argument. And there's many such. I can create a command that has 9 optional arguments and no mandatory ones ;)
 
I see.
But the order of such arguments? Can they be scrambled?
 
6:16 PM
@yo' Just noticed in meta.tex.stackexchange.com/a/5940/37907 an type, it's Henri Menke ;-)
 
yo'
@Anthony from the left
@Johannes_B thanks :)
 
Hmmm.
The flow is still different from \begin{Theorem}[Theorem] then, right?
 
yo'
@Anthony well, you get one optional argument, that's all :) Is it any problem? You can actually do that with \newcommand \foo [1][defolt]{The optional argument's value is: #1.}
 
@yo' I don't ask for time, I found out how to do it using calc's heightof. and it's not the same problem Heiko is addressing, mine should be the default behaviour of fancyhdr.
 
@yo' I'm sorry, I think I'm missing something obvious. I understand that you can have multiple optional arguments, my question was why they're placed at the end with \begin. It seems that they're still placed before the required arguments in the \newcommand function. You said that it just doesn't accept them before the argument, but why did whoever designed this command make it work like that?
 
yo'
6:20 PM
@luneart no. The default beaviour of fancyhdr is: Do not change the page geometry unless necessary.
@Anthony I'm looking for a good reference for you
 
Thanks, @yo'.
 
yo'
@Anthony damn, the search doesn't work
 
Uhm.... what? lol
 
yo'
@Anthony ok it works, it's just ridiculously set up
 
@luneart If you have a header with the height of a ex and later a multiline header with the height of 4ex fancyhdr notices that and adjusts the headheight. But it is too late for pages already typeset. It issues a warning and you can do it by hand. Writing it and reading it with the next run will lead to dancing pages, believe me.
 
yo'
6:23 PM
11
Q: How does LaTeX implement environments?

digital-InkDo you know how LaTeX implements environments? To be more precise, what does \newenvironment{<env-name>}[<n-args>][<default>]{<begin-code>}{<end-code>} in terms of TeX commands (i.e., how is the LaTeX command \newenvironment defined in TeX)?

 
@Johannes_B yes, I am aware of that, because first accent in chapter's title was on 3rd chapter. But fancyhdr should have set up the headheight including accents to begin with when in a document of accentuated language
 
yo'
@Anthony simply said: \begin{Theorem}[BLA] blabla \end{Theorem} is moreorless the same as \begingroup\Theorem[BLA] blabla \endTheorem\endgroup
@luneart I will repeat myself: fancyhdr does not modify the page geometry unless it has to. Hoever, when it has to, it's a mistake of the user. Howgh.
 
@yo' thanks for your time and answering yo', but I guess I can't explain -_-
 
@luneart No. Just no. There is no reasonable argument to do that. People stuff all kinds of crap in their headers. There is no use in matching the headheight to that of an accented letter.
 
Ugh still trying to understand your answer, I still don't know TeX. I suppose that makes sense, but I still don't understand why the normal style of command/n-args optional/n-args is broken in this case.
 
6:27 PM
@Johannes_B so, nothing to do when writing english, but a hassle to figure out when in other languages?
 
@Anthony Which case?
 
@Johannes_B not very fair...
 
@JosephWright for \begin{Theorem}, I think I'm misunderstanding yo'.
 
@luneart Come on, it isn't a hassle. You get a warning, use the value and that's it. There is no magic involved ;-)
 
yo'
@JosephWright I'm just unable to explain why it is \begin{Theorem}[Bla] and not \begin[Bla]{Theorem} ;)
 
6:29 PM
@yo' The optional argument belongs to the environment (Theorem) here, not to the \begin command, which takes exactly one mandatory argument, the name of the environment.
 
yo'
@Anthony ^^ is @Joseph's explanation better? :)
 
@Johannes_B well, a very simple one-liner checking loaded language and setting headheight to provide for accent is even less of a hassle for the user...
 
@Anthony \begin[Bla]{Theorem} would imply that the option was for \begin
 
@Johannes_B clearly I won't get you to change your minds, but I think packages should be (all) users oriented
 
@luneart You are forget a very important thing. This is dependant of the font in use. This font can change as well during the document.
 
6:30 PM
@luneart No: the default isn't necessarily right for any language, it just is set to some value to start with. In any design it should be checked
 
Oh I mean I can understand why it might make sense to the user, but it seems to break the standard format for functions, which was confusing me. Like someone had to take the time to make sure that TeX knows that in this case to read it this certain way- or is it that TeX actually expands the command before even looking at the arguments?
 
@luneart All packages are user-oriented. The question is, do users read the manual accordingly? :)
6
 
@Anthony TeX's a macro language, it inserts the grabbed arguments into the appropriate places when doing replacement. Watch that LaTeX is built on TeX but is not TeX! Also note that optional arguments are actually grabbed by a chain of macros involving a look-ahead phase.
 
@PauloCereda yes, and that particular topic is not evoked, believe me looked all over when I first tried not setting it the hard way ;)
 
@JosephWright I'm afraid that confused me- is it the case that someone had to specifically encode the formating of \begin{Theorem} is this the functionality one would expect from the language?
 
yo'
6:38 PM
@luneart however, the message is self-explanatory: Package Fancyhdr Warning: \headheight is too small (12.0pt): Make it at least 15.71667pt. We now make it that large for the rest of the document. This may cause the page layout to be inconsistent, however.
 
@Anthony \begin always looks for one argument, a mandatory one, here Theorem. The implementation of this environment can then look for optional or mandatory arguments, e.g. \begin{thebibliography}{10}.
 
yo'
@luneart If you follow this particular hint, you are fine. That's all.
 
well, thank you for your inputs @yo', @Johannes_B, and @JosephWright at least now I have a better reason that just "because", even if I'm not that convinced!
 
Oh I guess that actually makes perfect sense.
D'oh!
 
yo'
@JosephWright Is there something like a \keys_set_groups/filter_with_error:nnn? I would really use it. I'll probably have to stick to \keys_set_filter:nnnN and check the 4th argument for contents, right?
 
6:40 PM
Thanks for putting up with my ignorance @yo', @JosephWright.
 
yo'
@Anthony don't worry
 
One more, quick quick question.
 
yo'
@luneart you're welcome
 
How do I change the font to a different cmr?
 
yo'
@Anthony what do you mean? cmr is a specific font ;)
 
6:41 PM
I'm on cmr10 by default, but I want to shop around a bit...
 
yo'
@Anthony most fonts are "packaged", for instance: \usepackage{anttor}
 
Wait, aren't there multiple cmr's?
 
yo'
@Anthony yeah, for instance cmr12, but that's just another size of the same font ;)
 
Oh I thought they had actually differences.
 
yo'
@Anthony see tug.dk/FontCatalogue
(not all of them work out-of-the-box, however)
 
6:44 PM
I see. Which font is your favorite?
I'm considering typing notes for my classes this semester, and I want something pretty to look at...
 
@JosephWright one can define a new command emulating this behaviour, no? something along the lines of \newcommand{\beginOpt}[1][]{\def\optarg#1\beginOptInner} and \newcommand{\beginOptInner}[1]{\begin{#1}{\optarg}}, and always use \beginOpt instead of simply \begin I think...?
 
yo'
@Anthony Computer Modern is pretty pretty :) I actually use Latin Modern (\usepackage{lmodern}) which is almost the same as Computer Modern
 
I'll check it out.
Hmm. Also @JosephWright or @yo' why does it seem that {} are optional for arguments?
 
00:00 - 19:0019:00 - 00:00

« first day (1542 days earlier)      last day (3395 days later) »