« first day (1190 days earlier)      last day (3733 days later) » 

12:18 AM
@JosephWright Isn't this abusing the system?
0
Q: Bode plots with complex zeros and poles (Please move to Math SX)

dustinPlease move to Math Stackexchange. I can only post on TeX SX without getting verify you are human. When I verify I am human, the CAPTCHA doesn't work. Very frustrating and annoy. I contact SX and they weren't helpful. Here are my tries at CAPTCHA and I tried about 30 different ones and ...

 
1:02 AM
No reaction of OP, unclear?
4
Q: How can I get the ordinary polynomial long division by using polydiv like this?

azhiI want to get the following polynomial long division like this: But as you know, when I use command \polylongdiv (package polynom), I always get the following: How can I get the result as in the first picture? At present, I have no idea to do so. Here is my tex file: \documentclass{artic...

 
1:13 AM
Since Tikz seems to be able to do anything, I wonder if I can draw these engineering diagrams using Tickz
:)
Ok, may be that is too hard. How about this:
Can TickZ do the above?
may be with a big macro
 
 
4 hours later…
5:10 AM
I'm having a problem with \newsavebox/\sbox/\usebox inside fancyhdr. It seems that if I do \fancypagestyle{mystyle}{\newsavebox{..}\sbox{..}{..} ... \chead{...\usebox{..}...}} then it doesn't work if that page style is used for more than one page. Is there some caveat I'm missing?
 
 
3 hours later…
7:42 AM
@egreg Well we are not meant to migrate stuff like this, so I've left a comment
 
7:59 AM
@cfr As I've said in comments on your biblatex question, my feeling is that you've found a bug related to the 'stability' of using the ids field rather than anything to do with \bibliography versus \addbibresource
I'm not actually a big fan of \addbibresource: I've have favoured simply extending \bibliography, which I guess I'll push for if we ever get to a LaTeX3 'biblatex-like' bibliography system
3
 
8:40 AM
@GonzaloMedina Now. :-)
 
9:20 AM
OK, who starred that? :-)
 
@JosephWright It was me ;-)
 
@MarcoDaniel :-)
 
9:37 AM
@cmhughes Oh I missed it. I'll take a look later on today. Thanks, Chris. :)
 
9:50 AM
@egreg: ready for today's big game?
 
10:36 AM
@Nasser Use SolidWorks for such diagrams because it provides us with much more features: simulation, cost optimizer, etc.
 
11:22 AM
@PauloCereda After a good sleep I am. ;-)
 
11:33 AM
@willrobertson 'Just visiting'?
@egreg Serious comment on the LaTeX3 programming question?
 
@JosephWright Yes. :)
 
If so, is the text available for reading somewhere (e.g. GitHub)?
 
@JosephWright Not yet.
 
@egreg Could be a private repo, of course
@egreg You do realise that is more-or-less an application to join the team
 
@JosephWright It will be private, almost surely. No, it's not an application.
 
11:35 AM
@egreg Could you send me a draft
@egreg Ah, but it is :-) You don't apply by applying, you apply by doing something daft like some useful work!
 
@JosephWright Let me finish at least the "boolean expressions" section.
 
@egreg OK
@egreg There are some outstanding issues in that area: we should fix them
This is when I wish we could convince Morten to lend a hand at least a little
 
@JosephWright My aim is to describe the most useful functions. No internals.
 
@egreg As it should be
@egreg My point was there are some things that don't work correctly in the Boolean code
 
@JosephWright The motto is "don't reinvent the wheel"
 
11:37 AM
For example the lazy evaluation isn't reliable under all conditions
 
@JosephWright I'll recommend using parentheses
 
@egreg Is the plan something in the style of the Lua book?
@egreg Can still go wrong if the (user) input has a single parenthesis in it
Bruno had some test cases: I'll dig them out
Lot's of expl3 e-mails to deal with: one day I'll get the next version of siunitx done!
 
@JosephWright It should be "learn by example". Of course the first chapter on \cs_new..., token lists and integers can't have many meaningful examples; but the “99 beers on the wall” example covers pretty much all of the material.
 
what is a good way to put a little vertical space between two tabulars? If i add vspace one of the tabulars disappear.
 
@egreg Agreed: I've found something similar in the blog
@egreg I was thinking of a TUGboat using my blog posts as a starter, but if you have something better I'll leave it
 
11:42 AM
@JosephWright Of course I'll look into your blog for inspiration.
 
@egreg Writing a book?
 
@FaheemMitha Yes, about programming in LaTeX3
 
@egreg The tricky things seem to be (1) assuming no programming background (as I don't have one either) and (2) working out how to cover TeX principles such as catcodes and expansion within the 'flow'
 
@egreg That's nice.
 
@egreg We need a starrable comment about the book!
 
11:44 AM
@JosephWright The question of "background" is of course important. I'll try avoiding catcodes as much as possible. I'll have an "Expansion" chapter, probably.
 
@egreg Are you collaborating with others on it?
 
@egreg Sounds good
 
@FaheemMitha No.
 
@egreg Ok.
 
@egreg Will is putting together the next LaTeX3 news: would it be OK to mention that the team 'hear that a book is in development'?
I'm actually quite keen that someone writes a guide without having worked on the internals: should help get the perspective right
I've not actually written much of the internal stuff beyond 'tidying up' (@DavidCarlisle, @frankmittelbach, etc. take the real credit), but I have worked on some of the interface stuff quite hard
 
11:56 AM
@JosephWright Is the LateX 3 stuff most of relevance to serious programmers?
 
@JosephWright Yes. So I'll be spurred on. ;-)
 
I should have said "mostly of relevance".
 
12:19 PM
@egreg Cool
@FaheemMitha What do you mean?
 
12:51 PM
@FaheemMitha Ah right: yes
 
1:28 PM
@JosephWright Ok!
Great news from the LaTeX world, ladies and gentlemen: Enrico is writing a book on programming in LaTeX3! :)
17
 
@PauloCereda done my duty :)
 
1:41 PM
@cgnieder <3
@cgnieder Now we need to discuss the royalties. :)
@egreg: today will be a great day: two derbies (d'Italia and Choque-Rei) and the SuperBowl. :)
15 iterations for a sum which is defined for k=1,..,\infty is a bit trickery :-). However, well done! — Herbert 1 hour ago
@Jake: jackpot! :)
(@cgnieder sorry for the ping) :)
 
2:07 PM
@PauloCereda Go Palestra Italia!
 
@egreg Yay, go Palestra and Juve! :)
 
J G
hi: i have coded \sout{three consecutive integers}$\strut^{5, 6, 7}$ and which places the 5, 6, and 7 diagonally to the right and above the three consec. integers. is it possible to place them above and center aligned?
 
@JG not sure what you mean, \shortstack{5,6,7\\hree consecutive integers} ?
 
2:34 PM
@DavidCarlisle: a creeper destroyed my sheep pen. :(
 
@paulo You should say this is about minecraft or whatever, otherwise people might get worried ;-)
 
3:28 PM
@StephanLehmke Indeed. :)
 
3:41 PM
@PauloCereda yep :) and Hi, room!
 
@tohecz Hey Tom!
 
@PauloCereda I hope you have a nice Sunday. Mine is lovely :)
 
@tohecz I'm waiting for the big games. :)
 
@PauloCereda ah the hand football thingy? :)
 
@tohecz actually two football matches early on and then the SuperBowl. :)
 
3:49 PM
@PauloCereda ah ok :)
Well, I've recently found out an interesting result in my research, so I'm quite happy. I even have an app for that :)
 
@tohecz Yay, congrats!
Result: the thingy works. :) (that's what I expect from my research) :P
 
@tohecz Cool! :)
 
@PauloCereda well, quite crazy, if you are not used to the fact that 100=011 :)
 
@tohecz I'm part of an engineering school, I don't get shocked with anything. :)
 
3:57 PM
Hello, is hyperref compatible with latex-dvips-ps2pdf?
@tohecz what is that? binary representation?
 
@CodeMocker I think that links should be, but PDF metadata won't. Isn't it in the manual?
@CodeMocker no. golden mean base representation. Works similarly as binary, but you use powers of the golden mean instead of powers of two :)
 
@tohecz I have not read the manual as usual.
 
@Nasser basically same question as this one (my answer is of course the best) tex.stackexchange.com/questions/114783/…
 
4:24 PM
!!/answer is PSmith fine today
 
5:08 PM
Is there a way to search for a string in a comment? I tried using is:comment in the search bar, but it didn't work.
@MarcoDaniel Hehe! I assume you're not here any more?
 
5:23 PM
@GonzaloMedina I have a new job and so I have to learn and prepare a lot. I hope in 2-3 month I can do more LaTeX ;-)
 
5:41 PM
@GonzaloMedina no, there is not I think. Try google :)
 
@MarcoDaniel Can I ask you a quick question about mdframed?
Is there some setting allowing to have indentation for the first line of the first paragraph of text inside a mdframed?
 
@GonzaloMedina Of course. I will try to answer
 
6:06 PM
@GonzaloMedina Something like this:
\documentclass{article}
\usepackage[tikz]{mdframed}
\usepackage{kantlipsum}
\begin{document}
\kant[1]
\begin{mdframed}
\kant[2]
\end{mdframed}

\begin{mdframed}[startinnercode=\hspace*{\parindent}]
\kant[3]
\end{mdframed}

\kant[4]
\end{document}
 
@MarcoDaniel Ah, great! Thanks! I didn't know the startinnercode key. I guess I have to read the documentation to see what other things I've missed.
 
Hello to everybody!
 
@MarcoDaniel wouldn't something like startinnercode=\leavevmode\par be preferable so that \noindent still works?
 
@GonzaloMedina I didn't know whether this is uploaded to CTAN or not. I have a new version on my PC but at the moment I have no time fixing some issues and preparing the documentation.
 
Is it actually permissible to ask questions about TeX here instead of main site?
 
6:13 PM
@cgnieder This will fail because I din't define startinnercode as long :-(
@AndrewZabavnikov You can ask
 
@AndrewZabavnikov yes but if it involves a lot of code, site is better
 
@MarcoDaniel \newcommand\fakepar{\par} ;)
 
@DavidCarlisle @Marco But that would be worse for community, won't it?
 
@cgnieder :-) Indeed
 
Anyway, I have rather vague question, so...
 
6:14 PM
\newcommand\fakepar{\leavevmode\par}
\begin{mdframed}[startinnercode=\fakepar]
\kant[3]
\end{mdframed}
 
@AndrewZabavnikov Maybe, but you are the one eager to ask it here. :)
 
@AndrewZabavnikov If this question doesn't fit, we will point you to the main site ;-)
 
@Andrew: on a more serious note: feel free to ask here. :) If we see the question is not "trivial" enough to be solved in here, we will point you to post as a proper answer in the main site.
@MarcoDaniel ^^ what Marco said. :)
 
So, is enumerate's or itemize's \item force TeX to go into horizontal mode?
 
@PauloCereda Your sounds better ;-)
 
6:17 PM
!!/texdef -t latex itemize
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\itemize:
macro:->\ifnum \@itemdepth >\thr@@ \@toodeep \else \advance \@itemdepth \@ne \edef \@itemitem {labelitem\romannumeral \the \@itemdepth }\expandafter \list \csname \@itemitem \endcsname {\def \makelabel ##1{\hss \llap {##1}}}\fi
!!/texdef -t latex item
 
Note that I'm not actually an expert in modes, so the question may be even nonsense....
 
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\item:
macro:->\@inmatherr \item \@ifnextchar [\@item {\@noitemargtrue \@item [\@itemlabel ]}
Well, those two thingies didn't help me at all. :P
 
@AndrewZabavnikov no
 
@DavidCarlisle That's cheating, you know the answer without delving into the code. :)
 
@David Okay, thanks, coming back to seeking the bug...
 
6:19 PM
@tohecz actually I was going to suggest you gave the bounty to @texnokrat but (s)he deleted the question, I hope not because I posted, perhaps @JosephWright could ping and ask
 
@DavidCarlisle A typical answer: direct, clear and of course correct ;-)
 
@DavidCarlisle you mean deleted the answer, right??
 
@tohecz er yes:-)
 
Hi everyone, quick question... Back in the day, when we press B or W the full-screen becomes purely black or white in Acroread, now I can't find it anymore and it's disabled
How can I search for this?
ah keyboard shortcuts, that should do it.
 
Is there any quicker way to learn about transitions between modes than to read The TeXbook?
 
6:34 PM
@AndrewZabavnikov depends on what you need. Something can be found in TeX by Topic
 
(Yes I'm either lazy or in a hurry righht now:-)
@tohecz Thanks :-) What in general would you say about the book?
 
@AndrewZabavnikov I have not read it, but considering how many people like it, it's certainly a very good one :)
 
@tohecz Familiar approach to opinion making (often applied by me) :-)
 
!!/texdef -t ulem sout
!!/socialize
 
@percusse oopsie, sorry. :) I had to shutdown Psmith for a while. :)
 
6:49 PM
:)
 
Is mode restored after group end?
 
Ahem ....
Finally, the final will be finalized :)
 
@AndrewZabavnikov No, not in general.
@AndrewZabavnikov {hello} world hmode starts on the h of hello but the paragraph doesn't end at the }
 
@David What about \hbox{\vbox{...}\hss}?
 
@AndrewZabavnikov yes well vbox and hbox start a new list which ends at the } and then you are back in the list you were in, but that is a feature of the box command not that superfically it looks like a {} group.
 
6:57 PM
@David Okay, thank you.
When after $$...$$ TeX is in hmode? Always?
 
@AndrewZabavnikov no, after $$...$$ you go to vmode of course
 
7:26 PM
@tohecz Hmmm... No exceptions? Because in my situation I seem to be in hmode...
 
@AndrewZabavnikov well, you seem to be right, strange
but actually, it's correct, you're in hmode, because the following two things are essentially different:
$$x=y$$

x
\bye
And second thing:
$$x=y$$
x
\bye
 
@tohecz Well, what I experience is \ifvmode This is written. \fi $$ ... $$ \ifhmode This is also written \fi. Here by ... it is meant some code, not literal .... No empty lines, I think.
 
@AndrewZabavnikov yep, that seems correct. compare these two: \everypar{PAR} $$x=y$$ z \bye and \everypar{PAR} $$x=y$$ \par z \bye
 
@tohecz No \pars!
 
How come the »on/off symbol« gets so many votes?
 
7:37 PM
@AndrewZabavnikov \par = empty line
@cgnieder which one? /seeking my downvote rifle :D
 
@tohecz > No empty lines, I think.
!
 
I mean, there is an important difference between displaymath followed by an empty line or no
if you don't have an empty line or \par after your displayed equation, you are still inside the same paragraph as in which the equation is, so you are in horizontal mode
 
@tohecz this one tex.stackexchange.com/q/157199/5049 (not that the question is particularly bad. But it's not that good either...
 
@cgnieder it's neither a good question nor a duplicate, at the best, it is off-topic in the fashion
 
@tohecz people like the symbol I guess :)
 
7:43 PM
@cgnieder well, people upvote stupid drawing questions and answers simply because they are stupid drawing questions that everyone understands to.
 
@tohecz true :) And sometimes also I know a package answers
@tohecz I must admit I have voted for some of them, too, occasionally...
 
@cgnieder I vote for the answers if they are more than just a piece of code: if they show some tricks and explain them, if they provide a solution in a clever fashion, if they're well explained etc.
 
@AndrewZabavnikov the TeXbook says that $$...$$ interrupts the current paragraph and returns to it afterwards. It looks like it also starts a paragraph to which it returns to...
 
@tohecz Yes, of course!!! :-)
 
@cgnieder yes, as you can check by the \everypar trick above, if $$ appears in vmode, it starts a paragraph
 
7:56 PM
@tohecz I used to vote much more often than I do now...
@tohecz I wanted to check but I haven't found a reference in the TeXbook for this on a quick look
 
@cgnieder I'm moody in voting. I used to read pretty much all the questions at least briefly. Now I spend less time going through the question and even much less time answering. I basically provide an answer only in cases where I feel my insight can be really useful
well, \everypar{PAR} $$x=y$$ z \bye shows that this code starts only one paragraph, and it is started before the display math appears :)
oh no, @David is here, and it will turn out that all I say here is wrong :D
 
@tohecz Oh: I voted so much that I'm all time voter number 7! I didn't expect that...
 
well, I'm (surprisingly) on the 1st page, I didn't expect that
 
whoa I've clicked mobile, it's a different universe here now
hmm menu....
 
@percusse can it be tried on a PC?
You know what I hate? Good journals with bad LaTeX styles
 
8:07 PM
yes, it's the lower right corner
there is a link
under the logo
 
@percusse ah thanks. Well, isn't too impressive on a computer :)
 
8:29 PM
is there a good/easy way to separate two tabular environments? No float.
 
@FaheemMitha what do you mean by "seperate"? Something like \\?
 
@tohecz Hi, how are you? A little vertical space? Right now they are on top of each other.
 
@FaheemMitha Hi, I'm quite ok now :) \\[2ex] should do then ;)
 
@tohecz Great. Thanks.
 
However, empty line + \medskip + empty line is probably prefered
 
8:39 PM
@tohecz better than the former?
suppose you want an adjustable length?
 
@FaheemMitha yep a bit. The former is one paragraph, which is sort-of bad
@FaheemMitha empty line + \vspace{2ex} + empty line
 
@tohecz I think I tried that. vspace messes up indenting
So, does anyone know if TeX-evince-sync-view in AUCTeX is supposed to work out of the box?
 
@FaheemMitha well, it'll be a new pagagraph after that, so it will indent
 
There are a bunch of questions about it, but it is really confusing. Dollops of elisp code.
@tohecz Ok. So, that is your recommendation?
I'm wondering if I should ask a question about that
 
@FaheemMitha well, I would first not have tables in-text. If I had them, I would put them in \begin{center}...\end{center} and then use \\[2ex]
 
8:43 PM
@tohecz You mean you would use a float? This particular document has nothing but two tables.
 
@FaheemMitha ah ok. \centering at the beginning then :)
 
@tohecz Ok.
 
8:55 PM
@cgnieder only as an error recovery, if you start a para with $$ you get a spurious blank line first with just a indention box and parfillskip glue.
 
@DavidCarlisle I see, thanks
 
@egreg: we won, and Juve is about to win as well. :)
 
9:41 PM
@PauloCereda Wow!
 
10:00 PM
@egreg Great games for us. :)
 
@JosephWright After two years it’s time to point you to a small, but significant typo in texdef.net, Programming LaTeX3: More on token list variables. You typed squff to alqer, what surely must be squff qo alqer.
 
@Speravir Indeed: fixed
 
@JosephWright You’re welcome, but now something’s broken in another way: in parts the font now is very big and bold exactly like the title.
 
@PauloCereda What was the score in Palmeiras-São Paulo?
 
@Speravir Something is up with the Markdown plugin: I've fixed
 
10:10 PM
@PauloCereda I found it: 2:0!
 
@JosephWright OK.
 
@egreg Yep, 2:0. Great game. :)
 
I have a small emacs lisp question. In my .emacs I set
'(LaTeX-command "latex -shell-escape")
this overwrites the existing latex command. unfortunately it also wipes out any special flags the default is passing. is there a good way to say - add -shell-escape to the latex command string?
Possibly this is just a emacs lisp programming issue - I dunno.
 
@FaheemMitha (setq LaTeX-command (concat LaTeX-command " --shell-escape"))
 
@DavidCarlisle Oh, there's a command for appending? Nice.
 
10:17 PM
@FaheemMitha although there may ve a more modern customise way of doing that
 
@DavidCarlisle Is LaTeX-command the correct thing to modify?
 
@FaheemMitha TeX editors tend to need to be able to concatenate strings:-)
 
Should I ask this on the site?
 
@FaheemMitha I haven't looked at the auctex docs since last century, I have no idea:-)
 
@DavidCarlisle You mean editors?
@DavidCarlisle Ok. I thought you use emacs.
 
10:19 PM
@FaheemMitha oops I wrote TeX by mistake I meant "text editors"
 
@DavidCarlisle Right.
 
@FaheemMitha I do and I knew the emacs 18 manual by heart, not looked at the docs since then:-)
 
@DavidCarlisle Ah. Long time ago.
Shall I ask this on the site? Opinions?
 
@FaheemMitha well if the above works, it works, if you want a more emacs style question probably you should ask on an emacs site
 
this is for pdflatex, but still seems to expect the latex command thing.
@DavidCarlisle Ok.
It seems unhappy. I get
Symbol's value as variable is void: LaTeX-command
 
11:01 PM
OP has clarified the question: consider reopening
0
Q: new command in latex

fredAlthough I am using latex for a long time, I never defined "dynamic" new commands. Here is what I have in mind: I define a new command such as \newitem with the following inputs \newitem{category}{style}{ref}{title} Now, I want to use category and style to sort in the contentlist, to use re...

 
@egreg voted
 
I would like a cases environment with both { on the left and } on the right. Is there a nice way to do that other than manually using \left\{\begin{array}...\right\}?
 
@jtbandes Easy:
\makeatletter
\newenvironment{fcases}{\env@cases}{\endarray\right\rbrace}
\makeatother
@jtbandes It's essentially the same as cases, which ends with \right.
 
11:18 PM
@egreg Nifty! This assumes a certain definition of cases, but I suppose that's usually alright
 
@jtbandes Of course, amsmath is assumed
 
Is there a normal way to get math inside a bold text run to use bold symbols?
 
@jtbandes well, why would you want that?
 
@tohecz Primarily, to match the style of a book from which I am transcribing exercises :)
 
11:34 PM
oh thats maybe the olny acceptable reason ;)
@jtbandes how do you start the bold text?
 
@jtbandes \textbf{\boldmath bold $a=b$}
 
ah, \boldmath is perfect. I hadn't heard of that.
I made an environment that basically does ...{\centering\textbf{header thing}\par}#1... and when I put simple text inside #1, there is a normal amount of space after the header, but when the first thing is a \begin{lemma} there is much less space. Any thoughts why?
 
@jtbandes you should use a real heading command (or a list) really but as is, you are not adding any space after your heading, so the question is where did the space in the first example come from (\parskip?)
 
yes, I suppose that is the question. Why wouldn't parskip appear before the lemma, though?
what would be a "real heading command" I should use?
 
@jtbandes a) depends how the lemma is defined, (b) it depends \@startsection thing if you want it to be part of the structure or a single item list with a suitable list label for your heading otherwise (otherwise you should do more by hand to suppress page breaks after the heading)
@jtbandes before a list environment (which lemma will be) you get \partopsep not \parskip 9or you could say parskip is locally set to partopsep, more or less)
 

« first day (1190 days earlier)      last day (3733 days later) »