« first day (1661 days earlier)      last day (3269 days later) » 
00:00 - 23:0023:00 - 00:00

12:06 AM
@yo' Oh sorry, I had a meeting and forgot my browser tab opened. :( I'm sick at the moment, trying very hard to recover as fast as possible. :)
 
 
11 hours later…
10:45 AM
pling <- sound of a pin falling to the ground.
 
@Johannes_B shh we're working
 
@DavidCarlisle :-)
 
Quaaaaaaaaaaaaaaaack
 
11:04 AM
ohai o/
 
@PauloCereda Your cold doesn't affect your voice.
@Rico Hi!
 
@egreg So far. :)
@Rico yello!
 
@PauloCereda hey! everything fine?
 
@Rico sick, but fine. :) And you?
11
Q: Where did the Roman gods live?

HDE 226868The ancient Greek gods lived on the famous Mount Olympus, which is an actual mountain in Greece. The Romans borrowed quite a bit of mythology from the Greeks, so I at first assumed that the Roman gods lived somewhere similar, if not in the exact same place (though perhaps with the mountain renam...

What have the Roman gods ever done for us? :)
 
@PauloCereda same here, lot to do :(
does anyone have any experience with this thesis template? cleanthesis.der-ric.de
 
11:18 AM
@Rico no:-)
 
@Rico nope, never heard of it. It looks odd IMHO
 
@PauloCereda does it? I find it kinda pretty
 
Thesis style I'm more used to ^^
 
@Rico I don't like the layout, but I'm a wacky duck. :)
 
 
11:30 AM
> The design of the Clean Thesis style is inspired by user guide documents from Apple Inc. (e.g. iMovie '08 or Keynote '09).
I stopped right here. :P
 
@DavidCarlisle isn't this your thesis style? :D
 
@Rico no that would be @egreg, he's older than me.
@Rico My thesis really was done on an ibm golfball typewriter;-)
 
12:05 PM
@DavidCarlisle That's something I read for my thesis, but I used a different script for mine
 
@daleif perhaps you just volunteered to support hieroglf.sty forever, although given the above perhaps @egreg should take it on.....
 
@PauloCereda This, for instance:
@DavidCarlisle This is in my lecture notes
 
@egreg are you writing the markup for those by hand, how come the link goes back to th eoriginal site rather than to stack.imgur.com ?
 
@DavidCarlisle Just pasted the URL
 
@egreg ah yes the auto box thing.
 
12:11 PM
@egreg ooh
@egreg No duck symbol? What have the Egyptians ever done for us? :)
 
@egreg British lion puts noose around Brazilian parrot?
 
@PauloCereda That's perhaps the best preserved temple from the Roman era.
 
@egreg Impressive!
@DavidCarlisle LOL
 
@PauloCereda There's also this one in Assisi
 
@egreg ooh!
@egreg: we will visit Assisi when I go visit you?
 
12:18 PM
@PauloCereda Not very near to my place. :) There's also the cathedral in Siracusa, which was a temple dedicated to Athena
@PauloCereda It survived easily several earthquakes, including the one that in 1693 devastated all Eastern Sicily
 
@egreg probably coming from Brazil, anywhere in Europe is near you.
 
@egreg ooh awesome!
@DavidCarlisle That's very true, :)
 
@DavidCarlisle @PauloCereda Padova-Assisi is 350 km (about 220 miles).
 
@egreg hmmm
 
@DavidCarlisle About the same distance from Oxford to York
 
12:28 PM
@DavidCarlisle definitely not, I don't understand half of it.
 
Is there a (TeX)-Question @egreg does not know an answer to?
 
@daleif that means you understand half, so are ideally qualified.
@Rico lots!
 
@Rico A few.
@Rico Still a secret agent based in Bielefeld?
 
12:55 PM
If place a bounty on the following question, is there a better solution? The accepted answer just feels absurd.
23
Q: How to center a listing?

paraaI'm trying to get some console output in my homework. I put it in a listings environment but I want it to be centered horizontally on the page. The only thing I get centered is the caption ;-/ \begin{minipage}{1\textwidth} \begin{center} \begin{lstlisting}[caption={Ausgabe des C-Programms},labe...

This recent comment brought the above to my attention:
The caption would not be centered if I put it inside the listing, hence the enclosing figure defined the caption. I will read through the manual! Thanks for the pointer. — Christophe De Troyer 26 mins ago
 
@SeanAllred you must be able to customise the formatting of listings captions somehow:-)
 
@DavidCarlisle certainly :) but I'm not so sure about the verbatim environment itself, which I think the original question is asking (and what Chris is trying to get at)
 
1:12 PM
@SeanAllred that must be customisable too, somewhere..
 
@DavidCarlisle The only remotely promising option I see is boxpos, but the description would suggest this is not the desired key.
 
Hi there — are there any xindy mavens in the room?
 
@SeanAllred option? as in "documented interface"? don't be silly:-), I meant look at the code and add a box of a specified width somewhere in the middle:-)
 
@DavidCarlisle Special kind of evil :) (I say that with the utmost respect and affection.)
Perhaps I can contact the lovely maintainer and suggest a patch.
I suppose I will look into it.
@DavidCarlisle thanks for the reminder that everything in this world is tweakable (even if you should try and avoid it in the general case) :)
 
@SeanAllred As far as I can see, listings boxes the listing when it's found in horizontal mode and that's why it centers the listing in the tabular. But the caption is always set the full width.
 
1:28 PM
@egreg If I understand correctly, does that mean floating listings are found in vertical mode? (?) I'll have to take a look at the package code during lunch today (8:30am here)
 
Hello. Without putting too much thought into it, if I were to use \unexpanded{\whatever} always rather than \noexpand\whatever, would there be any disadvantage? Any advantage?
 
@SeanAllred This?
\documentclass{article}
\usepackage{showframe}
\usepackage{listings,caption}

\newsavebox{\listingtempbox}
\makeatletter
\lstnewenvironment{blstlisting}[1]
 {\def\clstcaption{#1}\setbox\listingtempbox=\hbox\bgroup}
 {\egroup
  \let\c@figure\c@lstlisting\let\figurename\lstlistingname
  \captionof{figure}{\clstcaption}\usebox{\listingtempbox}}
\makeatother

\begin{document}
\begin{center}
\begin{blstlisting}{Ausgabe des C-Programms\label{ggt_c_ausgabe}}
a  |  b  |  q  |  u  |  s  |  v  |  t
----------------------------------------
@Manuel Just more complicated
 
@egreg I'm not sure which is more impressive: the comparative simplicity of this solution (which I certainly think you should add to the Q) or the fact that I actually understand exactly what's going on with it.
 
\def\nexp#1{\unexpanded{#1}}\def\nexpo#1{\unexpanded\expandafter{#1}}, then it's not more complicated: \nexp\whatever. But are there any downsides? Benefits? At first sight I mean, not really thinking much.
 
@SeanAllred :)
 
1:43 PM
@egreg Yes, I think that's exactly the goal :)
 
@egreg still living in the shadows. Working on a bunch of apps and my master thesis.
 
1:58 PM
What did the subatomic duck say? "Quark."
3
 
2:11 PM
@SeanAllred LOL
 
@SeanAllred On line, with a shining new key-value interface. :)
@SeanAllred Waiting for the Necromancer badge. :)
 
 A man in a movie theater notices what looks like a duck sitting next to him. "Are you a duck?" asked the man, surprised. "Yes." "What are you doing at the movies?" The duck replied, "Well, I liked the book."
3
 
@PauloCereda XD
@egreg Woo!
 
@SeanAllred Woo!
 
What do you call a duck with a thieving problem? A robber ducky.
@egreg What do you use to write your expl3 code? Do you have an editor support?
 
2:22 PM
@SeanAllred nano
 
London bridge is falling down!
 
@egreg naturally
@egreg If I award the bounty now, will it be removed from the featured tab? I just want to draw attention to your answer.
 
what's it called if I want to shrink a table to textwidth? Squidge a table? Drawing a google blank
\settablewidth = textwidth is what I'm getting at basically
 
@baxx I would just say resize
 
@baxx -- how about "narrow a table"?
 
2:31 PM
@SeanAllred makes sense. narrow a table is also good. thanks :)
 
@baxx and you may be able to use \resizebox for the job There might even exist an environment for the job.
 
@baxx -- but i do like "squidge".
 
@barbarabeeton @baxx it's a fun word :)
 
@barbarabeeton probably not in the docs :(
 
@baxx a crime
 
2:33 PM
@DavidCarlisle if you'd seen my TeX... squidging tables would be the least of my crimes
2
 
@baxx every time I see someone apply \resizebox to a table I wish I'd never written the flippin command. Usually they use \resizebox{\textwidth}{ and add a space as well:(
@barbarabeeton did you like my tables? (email)
 
@DavidCarlisle you should have a drink with the guy who wrote the HTML blink thing
3
 
@SeanAllred Don't worry.
 
@baxx but seriously I never understand the desire to do this to tables, you never see people justifying paragraphs of text by applying arbitrary scale factors, so why do it just because the text is arranged in columns?
 
@egreg eh, it had already been done :) this isn't the first time i've seen the pattern in the accepted answer -- I very much want it to die off.
 
2:37 PM
@DavidCarlisle -- yep. looking at them now. will have questions (by email).
 
@DavidCarlisle some people are very attached to absurdly large tables
 
@SeanAllred so why make them absurdly small with a font size you can't read?
 
@DavidCarlisle probably poor planning, not thinking about what ones doing enough
 
I don't like advertising \resizebox this way, but most of my mentees (for lack of a better word) simply won't take 'don't do that' as an answer.
 
doing
think i rescued it
 
2:38 PM
@baxx press your up arrow key
@DavidCarlisle in lieu of a table re-design and a landscape table (in that order), that's the best option
@DavidCarlisle Well, the best I'm aware of :)
 
@SeanAllred sure, and if you are an automated process with thousands of tables a minute, it probably makes sense, but if you are taking a year to typeset a thesis with a couple of dozen tables, then less so:-)
 
@DavidCarlisle certainly more care should be taken for such a labor of love :)
 
I could make a vertical table, but then it'd just be two columns wide and 7 down
 
@baxx can you provide the table for us to look at? there might be a better way to present the information
 
@Manuel \unexpanded is equivalent to putting things into a toks, \noexpand makes them equal to \relax. You see the difference for example if used in typesetting. Note that \noexpand won't add a space after the <token> but \unexpanded will, which might be important (depending on the context).
 
2:42 PM
@SeanAllred yeah np
@SeanAllred it's vertical at the moment! ```
ah thought i could use markdown
\begin{table}
\centering
\begin{tabular}{c | c}
Layout 1 & 6 \\
Layout 2 & 2 \\
Layout 3 & 5 \\
Layout 4 & 1 \\
Layout 5 & 3 \\
Layout 6 & 1 \\
Layout 7 & 0 \\
Total & 18 \\
 \\
\end{tabular}
\caption{Results}
\label{tbl:results}
\end{table}
 
@baxx a limited set of markdown.
 
@baxx so why does it need scaling?
 
@baxx what information is actually being presented here? what's the purpose of the table?
 
@SeanAllred no worries, it's displayed OK anyway, looks better here than the project @DavidCarlisle if I make it horizontal it bleeds over the page width
oh damn - i also had \def\arraystretch{2.0} before it as well
 
@baxx better to use \small
 
2:46 PM
@baxx Makes more sense vertically anyways -- it looks like you're summing it
and consider nixing the vertical rule and adding a couple niceties from booktabs
 
@SeanAllred we're highly trained mathematicians: we can add up sideways
 
@SeanAllred its some silly survey i had to do
 
@DavidCarlisle I'm a highly trained mathematician and I can't add
 
i'm not even high
 
@SeanAllred when I was a working mathematician, i mostly worked in GF_2 so adding's not so hard
 
2:48 PM
@DavidCarlisle XD nice :)
 
3:02 PM
@SeanAllred

Seems to be a bit better now, thanks all :)

\def\arraystretch{1.5}
\begin{table}
\centering
%\begin{tabular}{@{} c c@{}}
\begin{tabular}{ c c }
Layout & Score \\
\hline
One & 6 \\
Two & 2 \\
Three & 5 \\
Four & 1 \\
Five & 3 \\
Six & 1 \\
Seven & 0 \\
\hline
Total & 18 \\
\\
\end{tabular}
\caption{Results}
\label{tbl:results}
\end{table}
 
@baxx :) consider using \midrule from booktabs Oh! and I wouldn't have those two trailing `\` pieces :)
 
@SeanAllred instead of... \hline?
 
@baxx yes
 
@SeanAllred what's up with the `\`, i thought that they were needed for the next line?
@SeanAllred ah yeah i see! whoops
 
@baxx Well they are, but you don't need to start a new row at the end of the table :)
 
3:04 PM
yep :)
i missed those
 
@baxx Put \renewcommand{\arraystretch}{1.5} after \begin{table}, so it will affect only that table.
 
@baxx Why not represent the data as a bar graph though?
 
@SeanAllred I'm trying to protect you as much as possible from the true stupidity of this assignment... theres a bar graph as well. With exactly the same information
 
@baxx As long as it's not a pie chart, you are safe. :)
 
3:08 PM
@SeanAllred pretty much! I used matplotlib... didn't actually think of using LaTeX for the bar chart though
 
@baxx the way you present the data is completely prescribed?
 
@SeanAllred i have to tick certain boxes, I'm ticking the boxes basically. the class is daft, the teachers daft. and now i want pie
 
@baxx for your own education (and maybe to present a 'humble alternative' to your prof):
5
Q: How to put the values of each bar in a pgfplots bar chart inside the bar itself?

hfinglerI have this: \begin{tikzpicture} \begin{axis}[ ybar = 0.6, width=1.2\textwidth, height=0.4\textheight, enlarge x limits = 0.2, bar width=16pt, title={Instance els19 with 1\% max error}, legend style={at={(0.5,-0.15)}, anchor=north,legend columns=0}, ylabel={Time in milisseconds}, symbolic x coor...

16
Q: How to minimize the ink-to-data ratio for pgfplots

Yiannis LazaridesTufte advocates to "minimize the ink-to-data ratio" for charts. I am trying to style a multi data series bar chart, that can have a grid and axes as shown below (chart at the left is from the Economist and on the right my attempt). Here is the code: \documentclass[justified]{tufte-book} \us...

 
@SeanAllred Only thing shes a professor of is printing handouts :)
 
@baxx ^^^
 
3:12 PM
@SeanAllred its a shame when college gets in the way of learning :(
@SeanAllred on a positive note I found a thing to make the LaTeX bigger in AucTeX, PM'd you on Reddit :)
 
@SeanAllred If I may:
:P
 
@PauloCereda by all means :) I can't spend too much time looking for good gifs -- I've got work I should be doing
 
just completing the chain there...
 
@baxx Ah yes, preview-scale :) I saw that; sorry i haven't gotten around to responding
 
@SeanAllred <3
@baxx Ni!
 
3:16 PM
Ekke ekke ekke pitang ZOOM boingoingoing...
 
@SeanAllred no worries, what's the backtick in auctex? Seems to be shortcut key commands or something
 
@baxx if memory serves, it turns into a keymap for maths symbols
@baxx type ``` C-h``
@baxx er, backtick-C-h
Or `C-h k ``
 
@SeanAllred ah think things might a bit different, I've got loads of evil mode things all over the place
 
@baxx ah, yes. the devilspawn.
 
@SeanAllred I'm using spacemacs, have you seen it?
 
3:22 PM
@baxx i've seen it, but i've never used it
 
@SeanAllred it's pretty nice tbh... giving it a month to replace Vim and Tmux
 
@baxx i started with vanilla emacs and worked my way up. the analog for spacemacs in the emacs world is prelude, i think.
@baxx how're you liking it so far?
@baxx anything you seem to be missing from your old life?
 
@SeanAllred yeah it's a "starter kit" thing... So far - I know what you mean about project management a bit more now, there are some nice things...
@SeanAllred I still go into Tmux to run some scripts and stuff, and need to get a better flow with YaSnippet
and tmux to create files and things like that
 
@baxx Honestly don't know what use tmux has for you anymore -- term-mode should be almost exactly the same
and once you get used to using it, eshell is a God-send
 
@SeanAllred haven't used term mode :)
@SeanAllred python with it is pretty cool though I have to say
 
3:26 PM
@baxx are you using anaconda mode with company?
i hear that's the latest and greatest, but i don't get to do much python dev :)
 
@SeanAllred no - my python setup is probably a bit shakey as I only found out sudo pip was daft a month back or so
@SeanAllred someone told me to use company yesterday actually, If I hear it again I'll have to have a look
 
@baxx hmm.
@baxx oh, then 'company'. there, you heard it again :)
 
@SeanAllred needs to be from three different sources :P
dired is cool as well on emacs
 
@baxx oh yeah -- and so is wdired :) do C-x C-q in dired mode (this normally toggles read-only for files). change some file names, then do C-x C-s.
really helpful when doing a lot of refactoring
have you checked out neotree? it's another interesting file browser
 
:set evil=1
 
3:30 PM
@SeanAllred yeah i have that - neo comment as well is cool!
 
@baxx neo comment? sounds interesting -- what is it? :) see also
6
Q: How can I visualize VCS status in dired?

Sean AllredI'm particularly concerned with git, but I imagine this is a good place to use vc. I want to emulate Atom's git integration with its file explorer: How can I get something like this in dired? I understand there are other tools for simulating a proper tree structure, but the normal i/RET work...

I gave neotree VCS sensitivity in #93
 
@SeanAllred <leader> f t is NeoTree for me
 
@baxx I have it simply bound to <apps>
 
@SeanAllred neo comment just comments out a selection of text in the style of the current Emacs Mode
 
@baxx ... M-;?
 
3:33 PM
So V <Leader> ; will comment a line
 
M-; runs the command comment-dwim, which is an interactive compiled
Lisp function in `newcomment.el'.

It is bound to M-;.

(comment-dwim ARG)

Call the comment command you want (Do What I Mean).
If the region is active and `transient-mark-mode' is on, call
`comment-region' (unless it only consists of comments, in which
case it calls `uncomment-region').
Else, if the current line is empty, call `comment-insert-comment-function'
if it is defined, otherwise insert a comment and indent it.
Else if a prefix ARG is specified, call `comment-kill'.
 
M-; is handy for end of line comments thanks :)
 
@baxx if you make a selection (i.e. activate the region), it will comment the region
 
@SeanAllred maybe I have read new as Neo ha ha. I've been making my notes pretty late :P
sounded cool though
haven't done any elisp yet
 
@baxx the following is an ok function for a real use case: github.com/vermiculus/dotfiles/blob/master/.emacs.d/…
 
3:38 PM
@SeanAllred cheers, i've been finding a lot of manuals and stuff for it but not so much basic emacs configuration stuff... I'm probably expecting things to be more vimmy than they are though
 
@baxx basic emacs configuration stuff generally takes the form of setq. you might also be interested in use-package (on MELPA)
 
@DavidCarlisle Do you happen to know why hhline is cutting a vertical line in two? ¬_¬
 
@Alenanno I've seen that happen, too; there is a Q somewhere about it
14
Q: Vertical table lines are discontinuous with booktabs

GünalI created a table in LaTeX, but there are some problems with the borders. The borders remain open whereas I want them closed. Also, in the last row, I want the vertical line gone, ie I want just one column in the last row. Can someone please fix it? Here are my code and my table: \documentclass{...

@Alenanno ^^^
 
@SeanAllred cool... I think that by the time a month is up I'll hopefully have the same functionality that i had with tmux / vim.... though I can't seem to get tmux tabs in emacs i don't think, there might be a different way of working though
 
@baxx i've heard about a package called tabbar, but i've never used it. it may be out-of-date / obsolete considering how long ago i heard about it!
 
3:42 PM
@SeanAllred yeah, i have something called eyebrowse that's quite nice
haven't got a full work flow with it yet, and it doesn't have named window spaces / list either :( otherwise it's pretty decent
 
@baxx interdasting -- i think tabbar is different though. i.e. solves a different problem
 
@SeanAllred probably , i've not used it enough tbh... .having vim keys in the menus like dired is cool though!
 
@baxx i generally pop around a dired buffer with isearch :)
 
@Alenanno with booktabs?
 
@SeanAllred only used iedit, that's quite nice... though not really had much use for it
 
3:47 PM
@baxx sounds a lot like multiple-cursors
 
@Alenanno normally (without booktabs) hhline will cut a vertical line or not sepending on the argument ==, or =|=
 
@SeanAllred pretty much, without the cursors
 
@baxx i imagine it behaves like # does in vim?
 
@SeanAllred similar to that, but easier to edit them all
in vim I'd just do :s:this:that:
 
@baxx gnu emacs analog would be replace-string (which you can of course bind to any key you like)
 
3:50 PM
i never really used # though, it just seemed to highlight things
 
@baxx i have to imagine there was a plugin to allow editing with #
@baxx seemed like a good tool for navigation
 
@SeanAllred I'm sure someone applied themselves to it. Yeah it is handy, tbh i just forgot about it i think
@SeanAllred spacemacs has a guide key as well, where if you press a command and wait it'll pop up with all the possible options. pretty nice
 
@baxx i always thought that would be incredibly useful for learning :)
 
@SeanAllred yeah seems to be the same kinda thing! It's good, esp as all buffer items are under leader b, all project commands under leader p etc
 
@baxx the wonders of text-oriented user interface design :)
 
3:56 PM
@SeanAllred it's pretty ace... I was wondering about whether anyone had done research into whether or not the time investment actually paid off in productivity the other day
@SeanAllred neoVim also looks really interesting
 
@baxx i'm sure, but I haven't the foggiest of where to look for that kind of information
 
@SeanAllred I still run my compilation script from tmux (for latex) and things like that, there are a few things I need to try and iron out yet
 
@baxx gonna have to remind myself to read this through when i get home: ojs.academypublisher.com/index.php/jsw/article/view/…
@baxx a voice whispers from the ether: use arara
 
@SeanAllred nice find :)
@SeanAllred ah yeah, think you've only mentioned that to me 6 times. I'll have to google it, i think triggering the script I have from emacs would be a nice start though :)
 
M-x shell-command. Default binding is M-!.
Or even M-x compile.
@PauloCereda Any gauge on when the new version [of arara] will be ready for general use?
 
4:03 PM
@SeanAllred The code itself is ready (apart from a couple of localizations). What's delaying me is the manual. :(
 
@PauloCereda Is there any way I can help with that? I'm a pretty decent writer, but I understand if you want to avoid even subtle changes in voicing :)
There arara manual really is top-notch
 
@SeanAllred Thank you. :) I need to organize myself and go on a writing spree, that's the only way I can make it work. :) I'll try this weekend and I'll surely poke you. :)
 
@PauloCereda Please do :) I'd love to give back any way I can.
 
@SeanAllred <3
 
@SeanAllred the last version was delayed for a year with the same excuse:-)
 
4:08 PM
@DavidCarlisle Seems to be a trend with TeX tech *cough*LaTeX3*cough*
But we're all busy :)
 
Jul 8 '12 at 15:56, by Paulo Cereda
@AlanMunn Ah I see. :) I'll try to rephrase that section. It' very difficult to write a manual, I never thought it would be that hard. :) And I also have to rewrite some parts - thanks to your suggestions. :) The English language sometimes slaps me in the face. :)
@SeanAllred I know not what you mean
 
@DavidCarlisle The general idea of being behind any ideal 'schedule' :)
 
@egreg editing my answers....
 
@DavidCarlisle How do you find these messages so fast? :)
 
@PauloCereda search for "write manual" by @PauloCereda :-)
 
4:13 PM
@DavidCarlisle Oh my
 
@DavidCarlisle So if I remove booktabs, it'll be all good?
 
@Alenanno I expect so, you didn't show what your markup is, but the main point of booktabs is to implement features where making vertical rules unusable is not considered a disadvantage. So using vertical rules and booktabs together is asking for pain..
 
You used the right word.
 
@DavidCarlisle Missing backquotes
 
@egreg it was the shock of seeing that filename.
 
4:24 PM
@DavidCarlisle :)
 
@DavidCarlisle I'm also a tiny bit horrified
 
@SeanAllred If it's not people using \resizebox to distort tables, it's:
0
A: Make all longtables in a document full page width

David Carlisle \documentclass{article} \usepackage{longtable,etoolbox} \begin{document} Nice \begin{longtable}{cc} \textbf{heading a}&\textbf{heading b}\\ 1&2\\3&4\\5&6\\1&2\\3&4\\5&6 \end{longtable} Horrible {\setlength\LTleft{0pt}\setlength\LTright{0pt} \begin{longtable}{@{\extracolsep{\fill}}cc@{}} \te...

 
@DavidCarlisle Wouldn't the following help, along with grffile?
\begingroup\catcode`\%=12
\def\x{\graphicspath{{Q:/2014 - 2015/Change (%)/}}}
\expandafter\endgroup\x
 
@egreg it would allow you to play with \expandafter\endgroup but otherwise not much:-) the inclusion is usually in a figure or some such which has not got a comment so why not simply \catcode\%=12` ?
 
Do you guys think this is a duplicate of the one I linked?
0
Q: cross reference?

HankI can reference a figure (or table) from text using \label(fig:example) between \begin{figure} and \end{figure}, and using \ref(fig:example) within my text. However, my figures are at the end of my document (a long document), and after I look at any of the figures, I would like to go back to the...

 
4:40 PM
@Alenanno It's impossible to go back, in general. One just uses the PDF viewer's feature.
 
@DavidCarlisle "Automatically horrible" :)
@egreg I'm apparently having a good day for TeX epiphanies: when you say \expandafter\endgroup\x, are you actually ending the group for the catcode change but allowing \graphicspath to affect the outer group?
But \x keeps its definition because \expandafter skipped the \endgroup and expanded \x
But as I understand it, how does \expandafter\endgroup\x differ from \x\endgroup insofar as TeX sees the tokens?
 
5:10 PM
@SeanAllred When \x is expanded, the category code of % is still 12, but that's not the main point, because it has already been absorbed by \def\x; with this trick we cancel the definition of \x and the catcode setting. It's because \graphicspath doesn't act globally, as far as I know.
@SeanAllred So \x\endgroup would also nullify the setting to \graphicspath.
 
5:22 PM
@egreg So \x is expanded once to the \graphicspath change (with the correct catcode for %) and then the group ends?
And after the group ends, TeX continues and sees \graphicspath (with the correct catcode) and changes it then?
I think I need to revise my mental picture of how TeX deals with the input stream :)
 
@SeanAllred Yes, that's what happens.
@SeanAllred This is a bit different
@SeanAllred With \lowercase the token list is reinserted in the input stream after the changes to the character tokens.
 
5:42 PM
@DavidCarlisle And the green tick goes to…
 
5:58 PM
@egreg somebody undeserving by the sound of it. Which question?
 
@baxx @DavidCarlisle I saw a legit use of that once. Ars Technica's old error page had C:_ on it, with a blinking underscore.
 
@egreg oh the % one.
 
@DavidCarlisle :)
 
6:43 PM
@JosephWright why don't we have [hv]rules in expl3? :-)
 
2
Q: Left handed writing

maulikIs there a way in LaTeX, which would make some text look like it has been written by a left hander. In italic fonts, is there a distinction between left handed and right handed writing(you can visualize what i am trying to say)?

I'm a leftie. What have I been doing wrong?
 
@PauloCereda you should be writing in Arabic
 
@PauloCereda year-old ping vvv
@PauloCereda To the reception please — percusse Nov 28 '14 at 11:42
Have any thoughts / know of any resources?
 
@SeanAllred Let's write one? :)
 
6:54 PM
@SeanAllred ooh
 
@PauloCereda I already made a fork for the language (to merge back into master), but if you wanted to make your own fork that's ok, too :)
I'm going to start tonight by moving my regular expressions over to standard PCRE stuff (whatever javascript recognizes) and commit that as an entirely separate language, but I have a feeling #370 is an important question to answer before it gets merged.
I've also emailed the maintainer of the project for his thoughts; hopefully he'll get back to me within the week.
If no consensus can be reached, I don't think it would be horrible to submit it as an entirely new language and try to merge for now :)
 
@PauloCereda oooooh me too! (And so is @PaulMcCartney!)
 
@SeanAllred I will take a closer look. :)
@PaulGessler Yay!
 
@PauloCereda whenever you have time :) I don't think is going to be a particularly quick process at any rate :)
 
 
1 hour later…
8:05 PM
@DavidCarlisle Typesetting area: still not tackled and probably requiring input from you/Frank more than me/Bruno/Will
 
8:19 PM
@JosephWright oy stop passing the blame:-)
 
8:34 PM
Hello all, what's the etiquette on really shitty workarounds? I asked a question, got no answer, and developed what is one of the most painful looking workarounds I've ever done. I don't want to accept it as an answer, but I do want to post it for others who might have the same issue.
 
@Jello_Raptor: I don't know what's the etiquette on suboptimal workarounds but there's somehow an etiquette on language ;-)
 
@Jello_Raptor post as an answer and don't accept, then perhaps leave a comment to say better answers would still be welcome.. or perhaps put on a bounty for "not received enough attention" or whatever, but that would cost you50 rep
 
@JosephWright Finding a good syntax for \vrule is tough. Maybe with two versions: one parameterless, accepting any number of following specifications of width, height and depth; the other with three arguments ending with \scan_stop:
\cs_new_eq:NN \rule_vertical: \tex_vrule:D
\cs_new_eq:NN \rule_horizontal: \tex_hrule:D

\cs_new:Nn \rule_wd:n { width  \dim_eval:n { #1 } }
\cs_new:Nn \rule_ht:n { height \dim_eval:n { #1 } }
\cs_new:Nn \rule_dp:n { depth  \dim_eval:n { #1 } }

\cs_new:Nn \rule_vertical:nnn
 {
  \rule_vertical:
  \tl_if_blank:nF { #1 } { \rule_wd:n { #1 } }
  \tl_if_blank:nF { #2 } { \rule_ht:n { #2 } }
  \tl_if_blank:nF { #3 } { \rule_dp:n { #3 } }
  \scan_stop:
 }
\cs_new:Nn \rule_horizontal:nnn
 {
  \rule_vertical:
 
@christian @david carlise : That seems reasonable. I'll go ahead and do that, thanks.
 
user image
2
My fortune cookie a couple of minutes ago. ^^
 
8:44 PM
@PauloCereda: A naughty word, a naughty word: Word :-P
 
@ChristianHupfer LOL
@ChristianHupfer: How's your gameplay going?
 
@PauloCereda: I had not much time actually. I was at school the whole day since 9:30 until 21 o'clock, and there's no LAN party (does this word exist at all?) to play Skyrim at school, during Math lessons ;-)
 
@PauloCereda -- my favorite fortune cookie fortune was more polite: "it's after 5 p.m. and i've run out of pithy things to say."
 
@barbarabeeton oooh :)
 
9:10 PM
@PauloCereda :-D
 
 
1 hour later…
10:28 PM
@egreg There's also rule-D package, which offers the \rule:nnn and \rule:nn versions (I think it's nice to have the :nn and :nnn versions.
@JosephWright Okey, that's a nice point.
 
@Manuel This is an implementation of \rule.
 
@egreg What do you mean? The one I pointed is also an implementation. Plus, I would name \rule_vertical:w rather than \rule_vertical:.
 
Anyone know how to use \begin{array} inside of the amsmath align environment? The line breaks and &'s conflict.
 
@DanielSank put {} around the array environment (and complain to @barbarabeeton:)
 
Also, another question that hit me lately: Is the spacing around \mathop “perfect”? I've seen two things that I don't fully understand: first, when there's a unary operator before, the thin space is still added ($- \sin x$); and second, when a big operator is around \sum, \int, etc. should it really add thin spaces in the same way as \sin & Co.? I mean (\int f adds a thin space while \int(f) doesn't, since it's a \mathopen, I don't know, I think it shouldn't work the same way).
 
10:35 PM
@Manuel he means that they are analogues of the latex \rule command, not of \vrule and \hrule
@Manuel no that's why \, and \! exist:-)
 
@DavidCarlisle Okey, I'm not that master yet, I don't know exactly what are the differences :)
@DavidCarlisle But that's a lot of \, or \!. What exactly are you referring to? I mean from all I said.
 
@Manuel mostly like all latex box commands they start \leavemode cf difference between \hbox and \mbox
@Manuel I mean no automatic system is perfect and you sometimes have to adjust the space
 
@DavidCarlisle Between the unary minus and the \sin, I was in doubt of why he would add that thin space (which I don't understand). Between the \int etc. I think that should be another different atom, but may be in those times, adding another atom was “much”? I hope I someday manage to use LuaTeX and be able to at least play with those things.
 
@Manuel \vrule and \hrule can be used without any specification.
 
@egreg I had no idea :( but :w looks better to me, even if the “weird argument” is empty.
 
10:45 PM
@Manuel That's the problem: the specifications are not really arguments. But I'll gladly let the team decide.
@Manuel \vrule starts horizontal mode; if not followed by specifications, the width is 0.4pt, the height and depth are adjusted to be the same as the horizontal box the \vrule happens to finally fall. Similarly for \hrule: it ends horizontal mode and without specifications produces a rule with zero depth, 0.4pt height and width adjusted to be the same as the vertical box it eventually belongs in.
@Manuel However, after \leaders you should use \vrule in vertical mode and \hrule in horizontal mode.
@Manuel Try x\leaders\vrule\hskip1cm y and you'll see. ;-)
\hrule height 0pt % avoid glue is removed
\leaders\hrule\vskip 1cm

\bigskip

x\leaders\vrule\hskip1cm y
\bye
 
@JosephWright You know about htis stuff: Why does CCDC ask what my name and insitution are whenever I want to download a file? o.0
 
00:00 - 23:0023:00 - 00:00

« first day (1661 days earlier)      last day (3269 days later) »