« first day (1030 days earlier)      last day (3886 days later) » 

12:18 AM
writelatex.com is down! how will we live?? :O
 
@SeanAllred Old-fashioned TeX programs in your local system? :)
 
@PauloCereda I'm trying to evangelize! Evangelism is hard with so much initial baggage. :)
 
@SeanAllred At least the gospels are supposed to have good kerning. :)
 
@PauloCereda I'm not sure the apostles' scribes were terribly concerned about that at the time! I think it went more along the lines of 'shoot, shoot! slow down!'
But when they took their time, man... The Good News never looked so.... good.
 
Once you go kerning, you never come back. It's a blessing and curse at the same time.
Typography is dangerous.
 
12:26 AM
 
@SeanAllred Exactly. :)
 
@PauloCereda --- the story of my life.
 
I always suffer when I need to read stuff from my colleagues in theoretical CS; only a few of them use TeX. :(
 
That.... that is so sad :( sad panda
@PauloCereda I'm almost scared to ask - what do they use instead?
Word, I suppose? Or some other editor?
Theoretical CS is kindof my thing; I'd be interested to know if there is functionality I don't know about
 
@SeanAllred The majority goes Word + MathType (I can't remember the correct name of that paid plugin), but there are some guys who use LibreOffice/Writer instead. :) And there's one dude I know who uses [iWork] Pages. :)
@SeanAllred For me, LaTeX is the winning horse by a large distance, no doubt. :)
 
12:35 AM
@PauloCereda I've used MathType (yes, it's that, and they haven't stopped sending me emails since) and I've got to say --- it made mathematics more difficult.
And oh absolutely.
TeX's syntax, inherently allowing the interleaving of text and maths is, I presume, one of the reasons I like it so much.
 
@SeanAllred Agreed. :)
 
@SeanAllred It's one my reasons too. :) I also like the semantics behind each macro and how insanely fast is to type math. :)
 
@PauloCereda So insanely fast. With MathType, it was very difficult to see which object I was actually adjacent to / which object I was about to give a super or subscript to. While I always had the finished product right in front of me, it just seemed harder :/
 
@SeanAllred :)
 
 
1 hour later…
1:48 AM
Slow night/evening, huh?
 
2:36 AM
@Qrrbrbirlbel Apparently so…
 
Dan
3:07 AM
@Qrrbrbirlbel indeed....
 
@Dan :)
 
Dan
@Qrrbrbirlbel it's because i haven't been bothering everyone with questions :P
I got over a learning hump so know i am beginning to be able to find answers to many of my questions
but that curve takes awhile to get over
 
3:34 AM
@Dan True ...
 
 
3 hours later…
hhh
6:13 AM
\begin{align*}
I_{D_{1\succ 2}, \mathrm{increasing}} &= \{53, 54, 57, 58, 69, 70, 73, 74\}_{\mathrm{DEC}} \\
C_{D_{1\succ 2}, \mathrm{increasing}} &= \underbrace{\begin{pmatrix} 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1 \\ \end{pmatrix}}_{1\times 8\text{ matrix}} \\
A_{D_{1\succ 2}, \mathrm{increasing}} &=
\begin{blockarray}{ccccccccc}
\underbrace{\begin{block}{c(cccccccc)}
p_1 & 1 & 0 & 1 & 0 & 1 & 0 & 1 & 0 \\
p_2 & 0 & 1 & 0 & 1 & 0 & 1 & 0 & 1 \\
p_3 & 1 & 1 & 0 & 0 & 1 & 1 & 0 & 0 \\
p_4 & 0 & 0 & 1 & 1 & 0 & 0 & 1 & 1 \\
I cannot find where the mistake is :(
It worked like this:

\begin{align*}
I_{D_{1\succ 2}, \mathrm{increasing}} &= \{53, 54, 57, 58, 69, 70, 73, 74\}_{\mathrm{DEC}} \\
C_{D_{1\succ 2}, \mathrm{increasing}} &= \underbrace{\begin{pmatrix} 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1 \\ \end{pmatrix}}_{1\times 8\text{ matrix}} \\
A_{D_{1\succ 2}, \mathrm{increasing}} &=
\underbrace{\begin{pmatrix}
1 & 0 & 1 & 0 & 1 & 0 & 1 & 0 \\
0 & 1 & 0 & 1 & 0 & 1 & 0 & 1 \\
1 & 1 & 0 & 0 & 1 & 1 & 0 & 0 \\
0 & 0 & 1 & 1 & 0 & 0 & 1 & 1 \\
1 & 1 & 1 & 1 & 0 & 0 & 0 & 0 \\
 
@hhh Where does block come from? Ah, blockarray? Hm ...
 
hhh
By block, I tried to add the explanantion column for p_1, p_2,...,p_7
This is the output of the latter but now I want to add there the explanantion column:
like this $p_1,...,p_n$ and the explanantion row $t_1,..., t_{2^n}$ but for some reason the code above with blockarray-block is not getting working, why?

Ps. the last image code works with blockarray-block but the other not, irritating.
\[
A=
\begin{blockarray}{ccc|cccc|c|cccc}
& t_1& t_2 & ... & ... & ... & ... & t_n & ... & t_h & ... & t_{2^n} \\
\begin{block}{c(cc|cccc|c|cccc@{\hspace*{5pt}})}
p_1 &1&0& \BAmulticolumn{4}{c|}{\multirow{4}{*}{$B_1$}}& 0 &...&1&...&1\\
p_2 &0&1& &&&&0&...&0&...&1\\
p_3 &0&0& &&&&0&...&1&...&1\\
p_4 &0&0& &&&&0&...&0&...&1\\
\cline{1-12}% don't use \hline
p_5 &0&0& \BAmulticolumn{4}{c|}{\multirow{4}{*}{$B_2$}}& 0 &...&0&...&1\\
p_6 &0&0 &&&&&0&...&0&... &1\\
... &...&... &&&&&...&...&...&... &...\\
<---- example code showing how the blockarray-block works
.
...
.....
So what is wrong with this http://chat.stackexchange.com/transcript/message/10945834#10945834 ?
 
 
2 hours later…
8:30 AM
Congratulations to @Werner for his gold badge.. ;-)
 
Hi @egreg !
 
@tohecz Ciao!
 
@egreg Čau! :)
 
@tohecz You don't know how to spell, it seems.
 
@egreg I do. Well, since every Italian sound (AKAIK) has a Czech equivalent, I can save couple letters ;)
 
8:38 AM
@tohecz You can't say "coniglio" (unless you're Slovak).
 
@egreg I can say it, but you're right, if I understand it correctly, I have to use Slovakian Ľ
 
9:02 AM
Another palindrome!
 
9:18 AM
@egreg someone should down-vote you so that you don't have 2's at the end :p
 
 
2 hours later…
11:37 AM
Hm I suspect some of my votes were reversed. I'm only with 28476 votes so far.
 
11:52 AM
@PauloCereda Hi! How many missing?
or one says 'how much' since your votes are uncountable? :)
 
I can't believe it's not been covered before
 
5
Q: What is wrong with the following definition?

Vahid DamanafshanI'm trying to define two commands \bal and \eal instead of inserting \begin{align} and \end{align} in my document, but in the code below, I'll get some errors. What is wrong with it? \documentclass{article} \usepackage{amsmath} \makeatletter \newcommand{\bal}{% \begingroup \align% \@ifstar{...

@JosephWright but I'd add a comment before duping, because it's only 99% percent clear it's dupe, not 100%
 
@tohecz Yes, I'm just going to comment initially
 
@JosephWright ok :) still, I'm tempted to vote to close now. We have a new [on hold] system, so it should not be an issue /sarcasm
 
@tohecz Fine: remember I can't vote without it binding
 
12:00 PM
@Jos btw it's starnge, OP has 15 bronze yet no silver badge ...
@JosephWright yep I know
 
@tohecz About 30 votes, I guess. :)
 
@egreg see
1
Q: Is it bad style if a section has exactly one subsection?

gerritIn a discussion on why subsubsections are evil, egreg comments: If you have subsubsections, you must have at least two of them in a subsection; you must have at least two subsections and, of course, at least two sections. Draw the tree and you'll understand. When I'm writing long texts, suc...

 
12:30 PM
@tohecz Good answer; but it's privilege, not priviledge; it's a common spelling error; I can't fail this one because it's from Latin privilegium and in Italian it's privilegio (with a slight different meaning).
 
@egreg thanks
 
@tohecz @JosephWright I added the \newenvironment part to my answer for the \bal problem.
 
@egreg Yay! Thanks!
 
@Werner Meanwhile I got my eighth gold tag badge. :P
 
12:45 PM
@egreg Yes, and a palindrome for reputation. :)
If there's anything on this site that you could add to your repertoire, what would that be?
...oh right... question-related badges...
:)
 
@Werner doesn't seem to happen :)
 
@Werner I'm always wondering how people can write questions. On my browser I can't find a button for it.
6
 
1:33 PM
Oh bother. I just starred that comment by tohecz because to me it reads "Werner doesn't seem to happen". But the starred comment just reads "doesn't seem to happen". Not what I intended.
 
hhh
How does the blockarray and block work in LaTex?
(I had this problem chat.stackexchange.com/transcript/message/10945834#10945834 but haven't yet understood what is the problem there)
 
1:55 PM
@egreg Another gold badge? :) You could try reaching David's gold badge. :)
 
hhh
Moved the question here, hard to explain here.
I don't know whether border explanation is enough descriptive...
 
2:14 PM
@AndrewStacey :)
 
2:37 PM
@PauloCereda The long awaited one
 
2:50 PM
@egreg ooh! :)
 
3:19 PM
@PauloCereda I had already more than 2000 upvotes, when 1000 suffice along with 200 answers.
 
4:03 PM
We have tornadoes, flying sharks, storms, a guy in a chainsaw. What else do we need? :)
 
4:17 PM
@PauloCereda Wonderful. Just wonderful.
 
@TorbjørnT. :P
 
5:10 PM
Joseph Wright has added an event to this room's schedule.
 
 
1 hour later…
Dan
6:16 PM
@JosephWright I joined your event, but I somehow doubt I'll be of any help unless it is a very basic question ;)
 
@Dan Oh, a lot of the session is about finding questions where we asked for more info and never got any :-)
 
Dan
@JosephWright ahh ic
 
6:58 PM
4
Q: Assign categories to subsection, the create list of categories (like list of figures)

chaselyBasically I'm using LaTeX to organize my sheet music. Each piece of music is a subsection, which shows up in the ToC. What I would like to do is assign a category to each piece of music and then organize these categories in a "List of Categories" at the front of the document much like the "List ...

Do you think this can be done with LaTeX sequences as a one-pass solution?
My only concern is the sorting
OP wants to be able to declare different levels of difficulty for each section, and then be able to categorize them by that difficulty at the end as another indexer.
 
 
1 hour later…
8:19 PM
@egreg If you find out, let me know.
 
@DavidCarlisle I'll certainly do.
 
back home from mum's did I miss anything?
 
@DavidCarlisle Lots of new questions: I've been busy, so unanswered list has gone up today
That said, if anyone wishes to vote for any of the following, the list will go down a little :-) tex.stackexchange.com/questions/122765/…, tex.stackexchange.com/questions/120234/…, tex.stackexchange.com/questions/95576/pdf-sync-with-texshop/…
 
@JosephWright done:-)
 
@DavidCarlisle :-)
 
Dan
8:58 PM
Anyone want to help me figure out a basic issue with a figure?
I've used :
\begin{figure}[here]
  \centering
  \fbox{\includegraphics[width=4in]{samplepiechart}}
  \caption{A pie chart showing the three partitions found on this HDD and the large amount of unpartitioned space.}
  \label{fig:partitions}
\end{figure}
first problem, despite specifying 'here', it puts the figure elsewhere
 
@Dan here has no meaning
Perhaps you meant ht, or with the float package loaded H
 
Dan
@JosephWright I typed 'ht' but doesn't help
@JosephWright nor does h nor H
 
@Dan If the figure can't fit, it won't
:10955531 Yes, you've got two spaces there, the one after Figure and the non-breaking one (~): you want Figure~\ref...
@Dan As usual, a demo will be needed to really help
 
Dan
@JosephWright ahh thanks
@JosephWright no biggie, I just added a pagebreak and that works but was hoping not to
 
@Dan Should the figure fit?
 
Dan
9:07 PM
@JosephWright no i guess not
 
@Dan In that case it will always float even with H
 
Dan
@JosephWright I actually see the idea here, it really is a feature of LaTeX
@JosephWright it's just that in this case it is interrupting a list
So a pagebreak is preferable
On the bright side, my love/hate relationship is becoming more love than hate :P
in regards to LaTeX, that is
 
Dan
9:22 PM
does lualatex treat `` as it is rather than as opening " ?
Weird because normally using `` to open quotes looks great, but not here
 
@Dan Generally, you should use `` ... '' and not "
@Dan Do you have fontspec loaded?
 
Dan
@JosephWright yes
but my editor won't even let me type an opening parentheses - it keeps correcting it to ``
and it shows up literally as ``
 
@Dan Did you use Ligatures = tex-text when you loaded your fonts?
 
Dan
@JosephWright I don't even know what that means
@JosephWright this is the one you answered for me
but I changed one of the fonts to Linux Libertine
 
@Dan \setmainfont[Ligatures = tex-text]{<some-font-name>}
The conversion of `` to a double-open quote is a font ligature. This is 'build in' to standard TeX fonts, but with fontspec you have to request it. Same for -- to an en-dash, etc.
 
Dan
9:27 PM
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/key-choice-unknown"
!
! Key 'fontspec/Ligatures' accepts only a fixed set of choices.
!
! See the LaTeX3 documentation for further information.
!
! For immediate help type H <return>.
!...............................................

l.5 ...font[Ligatures = tex-text]{Linux Libertine O}
I typed \setmainfont[Ligatures = tex-text]{Linux Libertine O}
All I added was the ligatures part
I am using LuaLaTeX, does this matter?
 
@Dan Oh yes, I remember: you need Ligatures=TeX
 
Dan
@JosephWright MUCH better!
Thanks!
 
9:49 PM
@JosephWright Ligatures=TeX (or the older Mapping=tex-text, which however works only with XeLaTeX)
 
@egreg I rarely load fonts with the ligatures, so couldn't remember the correct incantation!
 
Dan
@egreg @JosephWright either of you have experience with glossaries?
 
@Dan Not really.
 
Dan
@egreg never hurts to ask :P
Hmm, sometimes I can find the answers but can't understand them: tex.stackexchange.com/questions/20955/…
 
10:16 PM
@Dan which bit don't you understand, it just said you had to run the three commands latex, makeglossaries, latex on your file.
 
Dan
@DavidCarlisle inside my tex file?
@DavidCarlisle I tried doing \makeglossaries filename.tex
it errors
I think I need to make separate glossary file but cannot find a template so I just have the words in my main file
 
@Dan no it's a program, so a comamnd you type on the command line if your file is called abc.tex you need latex abc ; makeglossaries abc; latex abc
 
Dan
@DavidCarlisle oh ok
 
.. or pdflatex or xelatex or whatever you are using
 
Dan
but I would not want to run it on my entire tex file
I need to make a separate glossary file then
Any known templates?
I keep finding things with dictitems that makes no sense as it is not even mentioned in the LaTeX tutorial on glossaries
the documentation never spells out the order things need to be in and whatnot - providing a sample would answer so many questions
 
10:20 PM
@Dan not sure what you mean by run on entire file it doesn't extract the words itself, just those you mark up. Same as \index (with makeindex)
 
Dan
@DavidCarlisle ahh well, thanks. I just am not getting this, sorry
@DavidCarlisle Is there an example of a simple tex file with glossary file?
@DavidCarlisle I am learning from this but it is confusing: en.wikibooks.org/wiki/LaTeX/Glossary
 
@Dan just flick through these there must be loads of MWE
@Dan why not texdoc glossaries ?
 
Dan
@DavidCarlisle much better!
@DavidCarlisle thank you!
 
@Dan Never read either but it never hurts to read the package documentation as written by the author
 
Dan
@DavidCarlisle actually not much better
same problem
ahh well
hopefully i find a fully functional example somewhere
This is synonymous with the one online - it just looks nicer
 
10:29 PM
@Dan as I say there are literally hundreds of tagged questions on this site, I assume this one should work
2
Q: How to add the word "page" or "pages" in the Glossary

Jingfen ChenI would like to add the word "page" or "pages" in the Glossary. The following is the code. At the end of each entry for Glossary, there is a page number. But I would like it to display like: (page 1), or (pages 1-4), or (pages 1, 2). Also, how to enlarge the space between the abbreviation and des...

Take that and run it through pdflatex myfile;makeglossaries myfile; pdflatex myfile and see how it works
 
Dan
@DavidCarlisle it is generating errors and a bunch of stuff above my head
I appreciate the help but I am thinking glossaries is going to be too hard
I need to find a package I can use just within a LaTeX document without needing command line stuff
I am writing a program that is auto-generating the LaTeX report so I can't rely on having Perl installed on users systems, etc.
This needs to just work
Know any alternate glossary packages? Easier to work with?
 
@NicolaTalbot Do you have any convenient datatool magic for this ?
1
Q: Sorting a table according to values in another table

kutschkemI have two tables (A and B), both with a string valued column and an integer valued column. What i would like to actually have is a sorted table B sorted by the values of table A. The crucial point is that the rows are identified by the string value, not the index, and that B does not contain all...

 
Dan
the documentation is horrible
 
@dan It's far from a a straightforward task to provide indexes and glossaries, a requirement of perl interpreter is not a major obstacle
In fact it is a good thing to have it around. You can have strawberry perl etc. anyway
 
Dan
@percusse the perl program kept giving errors for me, and I'm not a Perl guy - so nahh
 
10:38 PM
Well, then forget about it
 
Dan
I would rather find something that works like other LaTeX packages - nothing needed outside the document itself
 
You rather would but couldn't for a good reason.
Believe me that's a major task not fit for good ol' TeX
or you have to write one for yourself
 
I have only tried Nicola's datagidx but unfortunately it was choked for my long document for some reason even with Lua so I don't know
Xindy doesn't have any problems
And if only this feature was in it would be perfect in datagidx; from it's manual
The only type of sorting available is letter sorting. If you want word sorting
you'll need to use makeindex or xindy. So \sea lion" comes after \seal".
The default sort is case-insensitive so kite before Knuth and Knuth before
koala.
 
Dan
@percusse The alternate method isn't working either
arg
@percusse this answer has many upvotes but it doesn't work: tex.stackexchange.com/a/69686/34355
How do I make text indent like this:
term        definition goes here blah blah blah
            and lines up for as long as i type like this
I know I can use \quote for an entire paragraph
But how when you have another word on the first line?
 
11:08 PM
@Dan the markup for that is \begin{definition}\item[term] defg goes here... default list layout may be slightly different but is changeable
 
Dan
! LaTeX Error: Environment definition undefined.
@DavidCarlisle errors and I cannot find documentation for that at all outside of math use that is nothing like what I need
 
@Dan do what I meant not what I wrote:-)
 
Dan
@DavidCarlisle ?
if i had any clue I would
 
@Dan I answered the question on site, description not definition
 
Dan
@DavidCarlisle ahh i see. It is pretty close but not formatted correctly
 
11:19 PM
@Dan as I say latex lists have loads of parameters and can format in different ways: the document markup shouldn't change though. (and it's gone midnight so I'm not re-parametrising the layout now:-)
 
Dan
@DavidCarlisle no prob thanks for help
 

« first day (1030 days earlier)      last day (3886 days later) »