« first day (1187 days earlier)      last day (2634 days later) » 

12:08 AM
@FaheemMitha the theory is you shouldn't caption non floating things but not everyone likes the theory so you can either use [H] from float package (which makes the table environment a non-float) or you can use caption or (one line) capt-of package which defines \captionof{table}{my caption} that you can use anywhere
 
@DavidCarlisle Thanks. longtable doesn' t float, right?
 
@FaheemMitha No but using it just to get a caption would be excessively weird
 
Up late? It's gone midnight in the UK. :-)
@DavidCarlisle why?
 
@FaheemMitha because capt-of pacakge is in its entirety \newcommand\captionof[1]{\def\@captype{#1}\caption} and longtable is hundreds of lines of delicate code interfacing to latex's output routine
 
@DavidCarlisle Ok.
 
12:12 AM
anyway as you commented, it's bed time:-)
 
the capt-of documentation is pretty minimal. Can i call it immediately after declaring the tabular environment?
 
@FaheemMitha anywhere
 
@DavidCarlisle Ok, thanks.
Good night.
 
12:49 AM
@PauloCereda I had something forgotten:
C:\Users\Steffen>kpsewhich --help
Usage: kpsewhich [OPTION]... [FILENAME]...

Standalone path lookup and expansion for Kpathsea.
The default is to look up each FILENAME in turn and report its
first match (if any) to standard output.

When looking up format (.fmt/.base/.mem) files, it is usually necessary
to also use -engine, or nothing will be returned; in particular,
-engine=/ will return matching format files for any engine.

-all                   output all matches, one per line.
-debug=NUM             set debugging flags.
 
 
5 hours later…
5:32 AM
!!/answer is Paulo sleeping
slashbox does not exist in TeX Live, damn it!
 
 
2 hours later…
7:14 AM
Wikibooks' coding style seems too complicated. See...
\documentclass[preview,border=12pt,12pt]{standalone}
\usepackage{array,multirow,graphicx}
\def\mre#1{\multirow{#1}{*}{}}% multirow empty
\begin{document}

\section{Wikibooks' style}%en.wikibooks.org/wiki/LaTeX/Tables#Spanning
\begin{tabular}{cc|c|c|c|c|l}
\cline{3-6}
& & \multicolumn{4}{ c| }{Primes} \\ \cline{3-6}
& & 2 & 3 & 5 & 7 \\ \cline{1-6}
\multicolumn{1}{ |c| }{\multirow{2}{*}{Powers} } &
\multicolumn{1}{ |c| }{504} & 3 & 2 & 0 & 1 &     \\ \cline{2-6}
\multicolumn{1}{ |c  }{}                        &
Should I edit the wikibooks to be simpler?
 
 
1 hour later…
8:18 AM
@CodeMocker Is this deliberately horrible?
 
8:57 AM
@dan Re your flag: the question is 'unclear' as it lacks a MWE and one is really needed. There is a comment to the effect that one will be supplied but it never was.
 
9:40 AM
@JosephWright: the x in siunitx stands for extreme!!!!!, right? :)
 
10:21 AM
@JosephWright v4.4 reached TeXlive today. Now \ch{A - B} gives a minus like \ch{A + B} gives a plus
 
@PauloCereda no he was just following the brilliant naming scheme pioneered by earlier packages.
 
@DavidCarlisle graphicx, xcolor? :)
 
@PauloCereda the former:-)
 
@DavidCarlisle ooh! :)
 
10:40 AM
Heya! Is there any way to get custom counters to work with cref ? I tried a few approaches but alas, nothing
\crefname{question}{oppgave}{oppgaver}
\creflabelformat{question}{#2(\textcolor{blue}{#1})#3}
Did not work
 
10:55 AM
@N3buchadnezzar There is nothing special:
\documentclass{article}

\usepackage{cleveref}
\newcounter{exercise}
\crefname{exercise}{exercise}{exercises}

\begin{document}
\refstepcounter{exercise}\label{foo}
\Cref{foo} \cref{foo}
\end{document}
 
11:27 AM
@cgnieder Cool
@cgnieder Will update student
 
 
1 hour later…
12:39 PM
@JosephWright my approach is much less horrible.
 
1:13 PM
!!/answer who is Andrew Robert
 
@CodeMocker Psmith only shows up when Paulo is here
 
@DavidCarlisle Does it means when Paulo is not blurred?
Paulo is the fourth item from the left, he should be here but blurred.
 
1:30 PM
@DavidCarlisle Or Psmith didn't crash.
 
1:43 PM
@HarishKumar: I think the example in en.wikibooks.org/wiki/LaTeX/Tables#Spanning is too complicated compared to mine above. Do you want to update the wiki site?
 
1:59 PM
What should be done about this one? It is still a dupe, but it's certainly not a dupe of the one it's marked as. If memory serves, once a question is reopened, it cannot be closed again.
But it's certainly not a duplicate as marked...
 
@CodeMocker we could try to invoke his master:
 
@CodeMocker Code Mocker, I am not that good in html. Please feel free to go ahead. :)
 
@HarishKumar So do I, I think we have to escape some code. :-)
 
2:43 PM
Hmm
Haha, I just encountered a very peculiar problem when working with a document. Managed to solve it though
I have a masterfile, which includes 6 sections, each in their own tex file. However when inputing one of those sections, say A. The document would ignore all the sections after A. It would also stop the toc at that poit.
 
@N3buchadnezzar Let me guess, there was an \end{document} at the end of this file?
 
3:03 PM
@Johannes_B Yeah!
Took me ages to spot it as I am looking over this document for a friend
 
 
2 hours later…
5:10 PM
\num{80 658 175 170 943 878 571 660 636 856 403 766 975 289 505 440 883 277 824 000 000 000 000} Number runs outside page, any tips?
 
@N3buchadnezzar Don't use siunitx for this :-)
 
5:30 PM
What are rules for subscripts positioning?
 
@AndrewZabavnikov In what sense?
 
And - hello to everybody!
@JosephWright Rules in the sense of laws... (if you mean that:) Otherwise, I just have the problem of having them too high.
 
@AndrewZabavnikov Do you mean 'How does TeX decide where they go?' or 'What do people think should happen for placement?'
 
Yet again - what TeX does when selects place for subscript.
Sorry :-)
 
@AndrewZabavnikov Ah right
 
5:34 PM
@JosephWright So, if there is a TeXbook page for that....
 
@AndrewZabavnikov Appendix G is the usual candidate
 
@Joseph Thanks!
 
Rules 16-18 look like what you want
 
Joseph Wright has added an event to this room's schedule.
 
@JosephWright Laol
 
5:57 PM
Okay, that seems now to be the wrong question. The right question is the tex.stackexchange.com/q/64176/37049, but despite the egreg's answer, I need to ask for additional info - if derivative is of form (for example) \frac{\partial \mathcal{H}}{\partial x}, then what is the best automated way to place several coordinates of a point in which it is taken?
 
6:21 PM
ciao ragazzis
 
@AbhimanyuArora Ciao!
@AbhimanyuArora Was the problem in the index due to some _ character?
 
6:39 PM
@egreg, if you can please tell me what you refer to and where to find out, i can think about it
and solve the problem
 
Can someone test this please?

`\listfiles
\documentclass{scrartcl}
\begin{document}
\pagestyle{headings}
\section{something}
\end{document}
`
 
@AbhimanyuArora Sorry, I wrongly assumed that you were the one who asked the question! You only asked about how to add -file-line-error to the calls.
@Johannes_B It doesn't work.
 
si @egreg, thanks for kindly remembering. indeed i had requested you to elaborate on what to do when one encounters error
 
@egreg Thanks, am i missing something, or is this a bug?
 
thanks again
:-)
 
6:42 PM
@Johannes_B It's caused by \pagestyle{headings}. I'd say it's a bug.
 
@egreg Thanks again, i am going to send Markus a mail.
 
@Johannes_B \pagestyle{headings} is mentioned in the documentation, so it should work.
 
6:59 PM
@egreg It's a known thing and fixed in the experimental repository komascript.de/current
 
7:28 PM
@Johannes_B which is why I added Markus' komascript repository to my TeX Live sources
 
Is there a reason that sometimes I see experienced contributors post a comment instead of an answer? Recent example.
 
55
Q: Why do people answer in comments?

fbmdBrowsing TeX.SE, I have noticed that very frequently people provide answers to a question in the question's comments. See for example BibTeX error "inputenc Error: Unicode char \u8: not set up for use with LaTeX" Is there any package for LaTeX dealing with a database? How to correctly set up ...

 
@cgnieder Great info, thanks for this and sorry I missed it on meta.
 
@PaulGessler there are so many posts... impossible to have read them all :)
 
8:14 PM
Do we need ticks tag?
1
Q: PGFPlots: semilogxaxis and y axis tick marks

dustinI am trying to set up a semilogxaxis in pgfplots. The image I am trying to generate is but my code below is generating \documentclass[tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat = 1.9} \begin{document} \begin{tikzpicture} \begin{semilogxaxis}[ ylabel = Gain db, xlab...

 
@percusse Er, no
 
@percusse keep that one and get rid of the tikz-pgf tag:-)
 
@DavidCarlisle
@JosephWright It turns out that I don't know what to do in this case. Time for the mod axe?
 
@percusse I see what you did there. :)
 
@percusse Done
 
8:18 PM
@JosephWright We are grateful to ye all-deleting mod !
:P
 
@percusse I do very little deleting, actually
 
@JosephWright Emphasis on the axe :)
hmmm questions have piled up. Aan de slag....
 
8:43 PM
Offline for maintenance.
 
@egreg Oh no!
 
9:01 PM
@egreg You're getting upgraded?
 
9:18 PM
@AlanMunn Yes: egreg 2.0
5
@AlanMunn There has been some beta testing in January, now the release has been deployed.
 
10:01 PM
So, getting rep points for TeX answers or another sites :)
1
A: Hello world! with limited character repetition

toheczPlain TeX - 23 chars Hello wor\char108d!\bye Remark: TeX terminates the paragraph before shipping it, so the "newline" is actually included.

 
10:27 PM
@tohecz Hello wor^^,d\bye
@tohecz Add the missing !
 
@tohecz @tohecz what about the page number at the bottom? :p
 
10:49 PM
@egreg now I feel stupid...
 
@cgnieder Don't. ;-)
 
@egreg Now that I know the explanation I don't understand how I could get it wrong in the first place...
 
@tohecz Remembers me on this famous one: 99 Bottles of Beer.
 
11:00 PM
Is it possible to define a command with one argument if the definition involves patching another command which already uses #1 in its definition?
 
@GonzaloMedina Can you complete the example like this \def\a#1{\patchcmd{#1}{...} .....}?
 
@percusse BTW it’s too well readable: Too many comments. ;-)
 
@GonzaloMedina Not with etoolbox. Can you make an example?
@Speravir Here's another, compile with Plain TeX
\let~\catcode~`x13~`q~`x~`z~`q~`H~`q~`B~`H~`j0~`jA009
jlet~jlet~Hjpar ~Bjmscount~~jdef~x{q bottlez of beer}
~jw{x on the wall}~jt{jadvanceAB-1ATake one down Aand
pass it around,H}B99~ji{jifnumB}~q{ji=0Nojelsejnumber
Bjfi}~z{ji>1sjfiA }jloop jifnumB>0 jw, x,Hjtjw.jvskip
8ptplus1ptjrepeat Time to buy some more beerjdotsjend
2
 
@egreg Let's say I want to define a command \mycom with one argument; this command's definition involves patching \@item to replace \makelabel{#1} with \makelabel{<here>#1} where <here> represents the string that is used in the argument for \mycom. (I hope my example is not too obscure),
 
@GonzaloMedina I'd go with \def\makelabel{\mymakelabel{#1}}, where you have defined \newcommand{\mymakelabel}[2]{\origmakelabel{#1#2}} (or something similar).
@Speravir I have also a LaTeX3 version:
% LaTeX3-Version

\documentclass{article}
\usepackage{xparse}

\parindent 0 pt
\parskip 1.5 ex

\ExplSyntaxOn

\int_new:N \l_beers_count_int
\int_set:Nn \l_beers_count_int {99}

\NewDocumentCommand{\beers}{}{\beers_sing:}
\cs_new_protected:Npn \beers_sing:
 {
  \prg_replicate:nn { 99 } { \beers_print: \int_decr:N \l_beers_count_int }
  Time ~ to ~ buy ~ some ~ more ~ beer ~ \dots
 }
\cs_new:Npn \beers_print:
 {
  \beer_number:nn { ~ on ~ the ~ wall }{ 0 }, ~
  \beer_number:nn { } { 0 }, \\
  Take ~ one ~ down ~ and ~ pass ~ it ~ around, \\
4
 
11:18 PM
@egreg I see. Thanks. Is this the general approach in the situation I described and not just for the example? No way to do the patching inside the definition in the general case?
 
@GonzaloMedina No. Or, at least, I can't think to one.
 
@egreg So, not xii.tex (hello @DavidCarlisle), but ic.tex or more classical xcix.tex
 
@Speravir Change \int_case:nnn into \int_case:nnF.
 
@egreg OK. By the way, the other day, if I recall correctly, I saw some starred comment about a book you are writing on LaTeX3. Are you in fact writing the book?
 
@egreg OK, done, stars are mine. Do you want to send them to the site? And when David released a xii.tex, you could release the XCVIX.tex. (I would prefer it with proper upcase Roman.)
 
11:28 PM
@GonzaloMedina Yes. And I just added the 99 beers example as I was writing about integers and \int_case:nnF. ;-)
 
@egreg No public repository? :)
 
@PauloCereda Not yet.
 
@egreg :)
 
@egreg So you could use it as practical example. ;-)
 
@egreg: by the way, I'm planning new features for arara that you might like. :)
 
11:30 PM
@egreg Great! I would be really interested in studying it. In fact, I also would be interested in doing (of course, with your permission) a Spanish translation. Does it sound OK?
 
@GonzaloMedina Wait for several months. ;-)
user image
6
 
@egreg I can wait as long as it takes ;-) The translation would give me the opportunity to finally start learning the LaTeX3 ways.
 
@egreg ROFL!!
 

« first day (1187 days earlier)      last day (2634 days later) »