« first day (493 days earlier)      last day (4438 days later) » 

9:47 AM
6
Q: Citations in captions as separate argument

DanielWhenever I include a table of a figure in my research papers, I cite the source of the information in the caption itself. However, I don't want this citation to appear in the List of figures/tables. Therefore, an option for specifying a separate caption for the lists exists: \caption[This is a ...

"(Batman, 2011)" :P
Speaking of Batman, I love this scene:
 
10:12 AM
3
A: How can I insert a paragraph or image into the same spot on every page of a memoir doc?

MarcoNot what you asked for. It's neither LaTeX, nor memoir. Nevertheless, here is a ConTeXt solution: % Used for the fake text \usemodule [visual] % Defines the two main columns \definecolumnset [maincolumns] [n=2] % Defines the middle part \definecolumnsetarea [middlecolumn] [both] [ ...

It's nice to have more ConTeXt answers. :)
 
10:38 AM
@PauloCereda true but even ConTeXt doesn't make the impossible possible:-) I really should look at luatex though: does anyone know if that lets you grab hold of the tokenlist and run it through the paragraph builder multiple times, with different paragraph shapes?
 
@DavidCarlisle Indeed. :) I found it interesting, we don't see a lot of ConTeXt-based answers (of course, I upvote your answer :P ). We can ask our LuaTeX expert @PatrickGundlach, he knows everything! :)
 
1
Q: Replacing vector images in a PDF with raster images

Michael BoyerIs there any easy (scriptable) way to convert all of the vector images in a PDF to raster images? I occasionally read PDFs of technical articles on my Kindle, and have found that reading a PDF directly is frustrating. Thankfully, Amazon's automatic conversion of PDFs to the Kindle format does a ...

As it stands, off topic?
 
@JosephWright I think so. :)
 
@JosephWright: I'd say so, yes. Nothing to do with TeX, just with PDF.
 
11:12 AM
Wow, my first METAPOST use! Yay!
Epic documentation is epic: "There are commands also for draw_venn_three and for completeness draw_venn_one and draw_venn_none (go ahead and laugh; see if I care)." :D
 
11:52 AM
Newbie question: is there a way to use 9pt or 8pt in article? :)
 
extart class has 9pt but not 8
extarticle rather
@PauloCereda do you mean affecting everything, not just selecting a font of that size?
 
@DavidCarlisle I was thinking of affecting everything. :)
@DavidCarlisle: Cool, extarticle works like a charm!
 
as I say the extsizes extarticle class shows what you need to do, but doesn't do 8
 
@DavidCarlisle hehe I think 9pt is the smallest font size I can use. It's for a song sheet, if I put a smaller font, no one will be able to read. :)
 
12:35 PM
@PauloCereda The amsart class has 8pt.
 
1:17 PM
@egreg Thanks a lot! :)
 
1:49 PM
Hello everyone!
The system I use highlights LaTeX warnings in yellow. This is useful because I can easily notice missing references. However, the "overfull hbox" and "underfull vbox" warnings drown these out. Can I disable these warning specifically?
I cannot change what my program will highlight, and I have good reasons to use this program to be productive.
I found it:
4
Q: How to suppress overfull hbox warnings up to some maximum?

willemI want LaTeX not to give warnings for overfull hboxes up to some maximum of say 2 pts. How to achieve this?

I'd still like to know if there is anything for Underfull vboxes as well
They might look bad, but I don't want to deal with them right now
 
@Szabolcs set \hfuzz and \vfuzz to 2.5pt
 
@Szabolcs No, there's no way to turn off "Underfull box" messages
 
@DavidCarlisle Thank you David! Somehow I didn't manage with \vfuzz but \vbadness = 10000 worked fine!
@egreg I set \vbadness = 10000 and that seems to have turned them off
Based on this
I know that 10000 is really bad, but I only want to fix these later, when my text won't change much any more
 
2:04 PM
@Szabolcs Yes: this won't show even preposterously bad boxes. Use it at your own risk.
 
@egreg: The script is finished, I'm ready to commit it. :)
 
2:22 PM
@egreg: can I put you as the co-author? :)
 
@PauloCereda I've already told you my opinion. But do as you wish.
 
@egreg I'd like to. :) But it's up to you. :)
 
@PauloCereda If you really feel that my contribution is important, then put also my name.
 
@egreg Yay! :) So it's settled. :)
 
@PauloCereda Now you have to update your answer
 
@egreg I will. :)
Newbie question: should we send it to CTAN? :)
 
@PauloCereda And maybe submit it to CTAN. I don't know very well how to make it into an "official" script for TeX Live; probably looking how texdoc is realized...
@PauloCereda The "executable" in the bin directory for texdoc is
#!/usr/bin/env texlua

-- texdoc.tlu: small wrapper around main.tlu
-- (makes it easier to install a new version of texdoc in TEXMFHOME)

kpse.set_program_name(arg[-1], 'texdoc')
require('texdoc.main')
but it may be different for Windows.
I can't look at it. :)
 
@egreg Ah thanks! I'll take a look. :)
@egreg I'll find out the Windows version. :)
 
@PauloCereda It's probably a batch script that calls texlua
 
2:51 PM
@egreg I found something interesting here: tex.stackexchange.com/questions/40937/…
 
@PauloCereda Look at how Martin Scharrer does for texdef
 
@egreg Good idea. :)
 
3:54 PM
@egreg: Answer updated: tex.stackexchange.com/a/43288/3094 :)
 
4:13 PM
@JosephWright I've had a beamer theme + colortheme for my university hanging around for a while. I know that a lot of such themes are included as part of beamer; is there a method for contributions, or are people encouraged just to put them up on CTAN? (There seem to be very few such themes there.)
 
@AlanMunn If it can be used in a 'generic' way, then I'm happy to add it to beamer. If it really is university-specific, I guess it should be separate.
 
@JosephWright It's based on Boadilla with a set of greens that match the school colours (like the existing CambridgeUS and AnnArbor themes.) So they are generic in the same sense. There's no logo or anything specific to the university.
 
@AlanMunn It sounds very nice. Can we see a preview? :)
 
@AlanMunn Okay, give it a name or name(s) (one for the colour, one for the theme itself), and send it along
Or make a GitHub pull request, ...
 
4:34 PM
 
@AlanMunn It looks very cool! :)
 
@AlanMunn Looks nice. Right, everyone suggest names :-)
@AlanMunn Where are you based?
 
@JosephWright Well I was thinking that since the going scheme seems to be geographic, then EastLansing is the appropriate name.
 
periquito FTW! :)
So that poor seagull did not die in vain. :P
 
@AlanMunn Great. Once I have the code I can add it.
There are not currently any green themes
 
4:43 PM
@JosephWright PETA/WWF probably use PowerPoint. :)
 
But for the colour theme, I don't have a clue on a name. They seem to be based on natural kinds. But despite @PauloCereda 's suggestion, I think that the colours are too subdued to be called parakeet. I guess the green is kind of spruce or pine, so we could use that. I like spruce.
 
@AlanMunn Fine with me
 
@AlanMunn Indeed. :)
In one of the Futurama movies, Al Gore says, "Finally! I'm saving the Earth with deadly lasers instead of deadly slideshows." :)
 
@JosephWright One thing about the code. What's the correct format for the first line? I've just modified the existing \ProvidesPackageRCS line because a regular \ProvidesPacakge line doesn't seem to work.
 
@AlanMunn I will sort that out (I will have to check the existing files!)
 
4:54 PM
1
Q: What is the best way to arrang three desks so we people don't start kicking each other?

LocustHordeNot sure if this is the best place to ask this, but it didn't fit on any other site as much as it did here. Here it goes! So there are three desks at my workplace, for us three developers. These ones to be precise (or atleast, extremely similar looking ones, but it doesn't matter) The problem i...

I once suggested a solution for this in my lab, and they called me crazy. :P
 
@PauloCereda: Ok, I'll bite. What was your solution to the desk problem?
 
@PeterGrill Ah let me draw them. :)
 
@JosephWright Ok. Being a mainly anti-social coder, :-) I'm not too versed on pull requests, but I'm willing to learn. So do I just put the code up into my own GitHub account and then ...?
 
@AlanMunn I think the way it works is that you clone the master version, make the changes then make a request for me to pull them. To be honest, I've not got a lot of experience with this! The other bits and pieces people have asked me to add have come in via e-mail.
Perhaps I mean 'fork' - not entirely sure.
 
@JosephWright If that's easier for you, I can do that. But since I'm always game to add more skills I thought I'd ask. Also, your code is all on bitbucket, so do I need to fork there to add the code?
 
5:07 PM
 
@AlanMunn In order for me to be able to pull changes into the 'master' version, you need to create a fork somewhere 'public'. So the easiest way is simply to fork on BitBucket. That way, you end up with a public version that you can alter.
 
@Peter: One layout was similar to the first answer. Then people said the room should look "crowded", so I proposed this one. :P
 
@AlanMunn An alternative is that I could simply add you to the list of people who can commit to beamer directly, but for a one-off theme addition that seems like the wrong approach.
 
@JosephWright Ok. That's what I thought. I'll give it a go, and if all else fails, I'll e-mail you. And I agree, it makes no sense to add me to the commit list for the master repo.
 
@AlanMunn So you'll need to (1) fork on BitBucket (2) pull the code to your own local system (hg clone ...), (3) make changes, (4) push back to BitBucket (hg push ...) (5) make a pull request
 
5:10 PM
:3729496: Interesting, but wastes space middle of the room. You should post that as an answer.
 
There are various graphical front ends for Mercurial, but I just use the comment line version
@PeterGrill Pot plant!
 
@PauloCereda: and of course provide a TikZ solution. :-)
 
@PeterGrill I wish! :) I was the only guy in the CS lab using LaTeX. :P
 
@AlanMunn By the way, make sure you read the information about getting beamer working on the Wiki: the keyword expansion business is important. (I'd drop it if it were down to me, but Vedran decided on this and I can't.)
 
@JosephWright Ok. Thanks. We'll see what happens.
 
5:13 PM
Well here is your chance to provide the TikZ solution to the UX posting. :-) @JosephWright: did you mean "pot" or "potted"?
 
@PeterGrill I meant 'Pot plant', as in a plant in a pot.
@PeterGrill Possibly quite a big one!
 
@JosephWright I think that in the US, a "pot plant" usually means something more specific than a "plant in a pot". :-)
 
@PeterGrill It would be awesome! :P Even more awesome if someone adds another answer with PSTricks. :P
 
@PeterGrill In the UK, a 'pot plant' would be one of the various varieties of plan one grows inside the house, in as I said a pot. According to Wikipedia, I guess 'houseplant' would be a synonym.
 
That space in the middle of the room: the trainee/intern place. :P
 
5:19 PM
@PauloCereda: :-), Wow!! That is the 2nd funniest thing I have seen on this site.. First still is Andrew Stacey's answer to question on "How to draw this?" where he showed an answer and said I have no idea. But of course I can't find it now...
 
@PeterGrill hehe :P This one is surely epic: tex.stackexchange.com/questions/31330/…
 
@PauloCereda Yep that's the one. You obviously know how to search on this site better than I do..
 
@PeterGrill Nah. :) I just remember it was Matthew who asked. :)
 
@PauloCereda Yep, after I couldn't fit it here, I went to Google and still couldn't find and then was heading back here to look at Mathews question by which time you already found it...
 
@PeterGrill Indeed. It has only one meaning in N.America.
 
5:32 PM
2
Q: How to make this using LaTeX?

Jonas TeuwenI have the following page from the book Mastering your PhD - P. Gosling and B. Noordam (Springer 2006), page 42: Now I wish to make this in LaTeX. I'm in particular interested in how we can make the frame as wide as the page (or maybe two of these on one A4, and the dotted line.

1. Open TeXworks.
2. Write the preamble.
3. ???
4. Profit
:P
 
 
1 hour later…
6:51 PM
Is the following easily possible? --> Put two figures and nothing else on a single page. The two figures need to have separate captions and labels. The page must not come at the very end of the document.
This should preferably be achieved while using standard or usual packages only, as this should be submitted to a journal ...
This is not my own requirement, it has been asked that I do it this way and I'm somewhat lost.
 
@Szabolcs begin{figure}1\end{figure} begin{figure}1\end{figure} \clearpage
 
@JosephWright Looking at the documentation in the beamer repo it seems that some of the other themes have been removed from the documentation? There's a script called beamerthememakeexamples.sh which seems to generate only a subset of the ones that are currently in the distributed docs. Is this by design, or am I missing something?
 
actually if you use [p] on both you probably don't need \clearpage
 
@AlanMunn I've not altered this, so it probably goes back to Till
 
@DavidCarlisle Thank you, I'll try that again, but doesn't that break the text at the position of the \clearpage, resulting in half a page of empty text? I think this happened last time I tried ... I need the figures inserted as if I had printed the whole thing without any figures included, then printed the figures in a separate page, and inserted that in the middle (except I also need to get page numbers right)
 
6:57 PM
@AlanMunn You may well be right
 
@DavidCarlisle Thank you, it has worked. For some reason I though [p] would push the figures to the very end, but it does not.
Are there any tools that will auto-remove everything from a bib file that is not referenced? Or maybe it's better if I just inline the bib output into the main tex file to get rid of unnecessary stuff ...
 
7:13 PM
Awaiting closure:
0
Q: Latex error using bib file in IEEEtran document

mreza kI am trying to import my references into an IEEE style article. I use .bib file for saving my references. My code is: \documentclass[conference]{IEEEtran} \usepackage{cite} \begin{document} \title{Bare Demo of IEEEtran.cls for Conferences} \author{\IEEEauthorblockN{Michael Shell} \IEEEauthor...

 
7:25 PM
@Szabolcs JabRef can generate a new bib-file based on the aux-file. Never tried it, but that should give you a new bib-file with only the works that are cited.
 
@TorbjørnT Thank you, good to know for next time! I already did it manually :-)
Actually with JabRef
 
Don't you just hate it when one of your answers stops working?
 
7:38 PM
@AlanMunn I see the new beamer fork has appeared. Will you be adding the relevant bits to the documentation source?
 
7:50 PM
@AndrewStacey no, I'm just happy if they work a bit in the first place...
 
8:02 PM
@JosephWright Yes. Just done.
 
8:18 PM
@AlanMunn Great! Pulled across and beamer update sent to CTAN (I like to keep it to a few changes at a time, and already had some pending).
 
Old answers of mine were upvoted! Serial voting, serial voting right there! I'm calling shenanigans! :P
 
@JosephWright Thanks! I assume then I didn't generate any errors in my documentation updates.
 
@AlanMunn Nope, all was fine
 
@AlanMunn What is the theme/colorscheme name? :)
 
@PauloCereda As discussed earlier
 
8:31 PM
@JosephWright Spruce?
 
@PauloCereda Yup
 
@PauloCereda Theme name: EastLansing, colour theme: spruce (again, following the caps conventions of other themes).
 
@AlanMunn Cool! :)
Trivia: Q: Who is inside of a grayish green Batmobile? Spruce Wayne. :D
I'll shut up.
 
@PauloCereda Good advice. Puns like that could get you banned if we didn't otherwise like you so much. :-)
 
@AlanMunn awww! <3
In other news, I'm thinking of writing a game about TeX, LaTeX and friends.
 
8:39 PM
Not bad, me and @Werner answered a question the exact same second.
 
@TorbjørnT I'll erase mine, so why don't you grab stuff from mine and insert it in yours, for completeness.
I added some documentation stuff...
 
@Werner Ok, will do.
 
@TorbjørnT Done. Grab at will!
 
@JosephWright I used SourceTree to interact with bitbucket. It's actually quite nice. Of course if you're used to the command line for most things, it's probably not useful, but since I'm not doing this all the time, it's nice to have a GUI.
 
@DavidCarlisle Oh, me too! But then when they do work, I feel I've invested so much time and effort in them that if they later go belly-up I have to do my best to resuscitate. Perhaps I should mark my most hackish answers "DNR".
2
 
8:50 PM
@AndrewStacey "Do Not Resuscitate"? :)
 
@PauloCereda That's the one.
 
@AndrewStacey Epic acronym. :)
@AlanMunn: This one is funny:
 
@PauloCereda Very cute.
 
9:12 PM
@PauloCereda Another draw. :( And for the next match we won't have Barzagli, Chiellini and Bonucci.
Nor Conte, who has been ejected.
Cricket players use bats, you know. :) And a small ball.
 
@egreg Oh my, I totally forgot about the game! I knew there was an important match today. :(
 
@egreg OB cricket reference for David's benefit?
 
@AlanMunn It's a new house rule. :)
 
@AlanMunn Of course. You should know that you mustn't call "pitcher" the player who throws the ball.
 
@egreg Why would I? I played cricket when I was a kid.
 
9:18 PM
@egreg: Di Vaio again. :( I saw the classification table, Juve is two points behind Milan.
My cat once brought a cricket inside the house. (is this cricket, right?)
Ah, so the game we know as taco here is a variation of cricket? Cool!
Taco was fun to play.
 
@PauloCereda Yes, little black chirping insects.
 
@AlanMunn They are pretty common here. :) Since I live in a small town, it's even possible to hear them in the late afternoon. :)
 
9:44 PM
For the GitHub users, we need to approve our keys or reject and upload new ones: github.com/settings/ssh/audit
 
@AlanMunn How's ranked Canada in international cricket?
 
@PauloCereda Already done mine
 
@egreg I don't think it even competes. Very few people play it except within ex-patriot South Asian (and maybe West Indian) communities.
 
@JosephWright Me too. :)
 
@PauloCereda I got a "no action required" email.
 
9:51 PM
@AlanMunn They do: I think I've seen them at the World Cup in the past
 
@AlanMunn Really? I got a "action required" one.
 
@JosephWright Really? They show up as an "Associate" on the ICC web site. Below Afghanistan and Scotland!
 
@AlanMunn I think so. It may have only been the once.
 
@PauloCereda It said that my SSH key is managed through the Git Mac client, so no action required.
 
@AlanMunn Ah GitHub has a very nice Mac client. I envy there are no Linux/Windows versions. :)
 
9:59 PM
@JosephWright That may be. When it comes to sports, Canada is much more influenced by the US than by the other commonwealth countries. So neither soccer nor cricket are terribly popular (although, as in the US, there's lots of youth soccer, but it doesn't translate into creating a market for pro teams.)
@PauloCereda Yes, it is nice. But now that I've had my first experience with SourceTree, it's pretty nice too. It might make me switch over to BitBucket, in fact.
When your use of a command line tool is sporadic, having a GUI is really helpful.
 
 
2 hours later…
11:53 PM
@AlanMunn I can relate to that. :) I always get stuck with git when I have to do something more complicated than git add / git commit. :)
@AlanMunn: I didn't know SourceTree! How nice!
 

« first day (493 days earlier)      last day (4438 days later) »