12:08 AM
@YiannisLazarides: Regarding your comment to tex.stackexchange.com/questions/49356/…. I agree with you, and was about to down vote but then saw that it was a new user so felt it was a bit harsh to down vote a first question.

1 hour later…
1:20 AM
@AlanMunn: do you use the memoir class?

1:52 AM
Anyone alive who knows context?
meh. That's what downvotes are for...
yay reinstalling ConTeXt

2:37 AM
@GonzaloMedina Yes, I have a book project that I am using it for, and also the thesis class that I wrote for my university is based on memoir. But for most other things I just use article (plus various packages).

2:53 AM
@AlanMunn: Can I ask if you use memoir standard margin(and font size) in the thesis class? -I find that the margins are way too large, and it looks stupid, only to write in the very center of the page.
I have no idea why the memoir is made that way!?

@AlanMunn I have a question about memoir, but now it's bed time. I'll ask you some other time.

@GonzaloMedina Sorry, I was away for a while.
@HansPeterEKristiansen No, I use sizes and margins specified by my university. The default sizes of memoir are designed for printed books where the pages would be cut, I think.
Also, this is a point of faith/dogma among TeX people, that there should only a certain number of characters per line for maximum readability. I've never been very convinced, though.

3:10 AM
@AlanMunn: I am writing my physics thesis at the university of Aarhus(DK), and we do not get anything specified from above. Do you know how the margins(font size and line space) was chosen. - where can I read about it?, or from where can I copy?

If you do texdoc memdesign you will get the accompanying documentation from Peter Wilson (the author of memoir) which has lots of information on design.

great hint
I will try tomorrow, or else make it into a question. Thanks

@HansPeterEKristiansen You'll get some somewhat dogmatic answers, I suspect, because for some, changing the margins is close to heresy. :) Another source of information is the KOMA documentation (the German version).

7 hours later…
10:23 AM

2 hours later…
12:09 PM
Hi, I'm new at stackexchange. Where can I learn what bounties are?

@Roelof, Thank you! Everything clear now

1 hour later…
1:25 PM
12

Manually hacking tables in LaTeX is one of the less funny things when preparing a document. Naturally, there are quite a few tools that promise to simplify this. In fact, I have somewhat lost track of all the tools available, and I'd like to gather your valuable experience into one big post. Some...

I wrote a excel2datatool app for my personal use. Maybe should I add that to the list?

Sure, @PauloCereda

@PatrickGundlach OK. :) I'll try to clean the code and upload it to GitHub. :)

@PauloCereda why don't you upload it first, then clean it up?

@PatrickGundlach It's a quick fix. :)

@PauloCereda Have you the Del Piero-LaTeX photo still around? I forgot to take it with me.

1:35 PM
@egreg Sure! Thankfull we fav'd them: i.stack.imgur.com/smTyu.png and i.stack.imgur.com/cqNfY.jpg (hi-res)

@PauloCereda Thanks!

@egreg Can I ask what are you planning? :P

@PauloCereda I'm starting the LaTeX course in an hour. :)

@egreg Yay!

1 hour later…
2:41 PM
Done:
0

I was reluctant to publish this humble tool, but here it goes. excel2datatool excel2datatool is a Java application I wrote to help me with a personal project. Since it was useful for me and I do believe it's generic enough for other purposes, I decided to make it publicly available. The reposit...

2:52 PM
You gotta love the first item of the cons list: "I wrote the app." :P

3:04 PM

3:15 PM
8

Although the answer to this question turned out to be about text versus maths mode, it could so easily have been about something specific to MathJaX. It is probably inevitable that we'll get questions about TeX spin-offs, should we: Tolerate them - there won't be that many Tolerate them, but l...

Laura Dobrzynski on March 26, 2012

Last year’s Stack Overflow Meetups were a success, with over 2000 people participating around the word. We’re happy to announce that the Second Annual Stack Overflow Meetup Day is April 28, 2012.

Because the Stack Exchange network grew so much over 2011, we’ve decided our Meetup day should grow, too. This year we’re calling on every hacker, programmer, or designer in the Stack Exchange tech community to meet up with other users, say hello, and maybe learn something. Whether you’re a member of Stack Overflow, Server Fault, Super User, Programmers, Ask Ubuntu, Game Development, or any other technology-themed Stack Exchange site, we want you to be a part of this event.* …

Anyone fancy organising anything?

@JosephWright I have no place to host anything. :(

3:51 PM
Another per-section-numbering duplicate question:
2

\documentclass{article} \begin{document} dude see Fig. \ref{myfig} ! \appendix{} \section{my section heading}\label{sec:seclabel} \begin{figure}[H] \caption{mycaption} \label{myfig} \end{figure} \end{document} yields dude see Fig. 1 -- how do i make something that yields dude see Fig. A....

@lockstep Voted. :)

By now, I know the ID of my "canonical" question by heart: 28333.

4:13 PM
Is this on-topic? If not, can we migrate it back?
1

I use yasnippet's defined in ~/.emacs.d/plugins/yasnippet-0.6.1c/snippets/text-mode/latex-mode to insert small pieces of code when working with LaTeX. I recently started to use Sweave and therefore work on .Rnw files. However, I noticed that the (ya)snippets don't work anymore - hitting TAB just ...

@lockstep I'm surprised this got migrated: they usually ask

@lockstep I don't think it's on topic. Maybe migrate to Stats.sx

4:32 PM
@lockstep It's true that it's more of an emacs question than anything else. It's no more appropriate here than on the stats site, and possibly more here. However, since it does deal with latex mode in emacs (and its interaction with .Rnw files which are a mix of LaTeX and R) it's not entirely off topic here. I would be inclined to let it sit here for a few days to see if anyone has a solution. Is stackoverflow the best place for emacs questions?

@AlanMunn These are always awkward: I guess I would have started at SuperUser :-)

@AlanMunn I have the feeling questions die so easily on StackOverflow. :(

@JosephWright So let's leave it here for a bit, I would say. There are plenty of emacs users here.

About this question of mine: tex.stackexchange.com/questions/49427/… Since both Altermundus and Stephan answered it at almost the same time, I'm thinking of accepting Altermundus' answer and give a 50 bounty to Stephan. :)

5:02 PM
13

Is there a Computer Science library for TikZ? I am looking for a library for drawing standard data structures (array, linked list, stack, queue, pointers, trees, etc) in a consistent way. I would also be happy to hear how hard would it be to create such a library for an intermediate LaTeX user ...

Another Marc answer to be undeleted.

@PauloCereda More than 100 students!

@egreg Really?! How nice! :) How was the course?

I couldn't show the picture, unfortunately. Next time. :)

@egreg Ah! :P The Inter fans wouldn't probably like it. :)

5:20 PM
@AlanMunn Voted.

@Paulo That's really not neccessary, as it's a really insignificant effort. I'm deeply surprised at getting so many upvotes for such a thing ;-)

@StephanLehmke I really would like to give you a bounty. :) Your answer is very well-written and it's a nice resource for other users with a similar issue. Besides, giving you a bounty is my way of saying "welcome to TeX.sx". :) You are providing great answers and helping lots of users. :)

5

I have the command \DoubleSpacing within the caption of many of my figures throughout my document. This command is provided by memoir. ... \caption[]{\DoubleSpacing Here is a figure caption} ... I would like to replace this command by some other command, say aux_command that I can alias to \Do...

I'm shooting for "Populist". :)

blush

5:38 PM
@Stephan: we are all friends. :) I'm sure you'll like this community. :)
@AlanMunn Go Alan! :D

@PauloCereda It would be somewhat ironic.

I'm getting used to it. I used to be active in ctt (almost 10 years ago), but it's very lonely there nowadays. You can almost hear the hollow echo of your own footsteps going there ;-)

@StephanLehmke I think more and more people from there have moved here. There are only a few holdouts.

All this rpg-like stuff here with reputation and badges and all feels strange to me, but it's also fun.
7

@StephanLehmke Really? Is the traffic that much lower?

5:43 PM
Yea. It's not null, but you can read a day's worth in about 10min. Some of the very old heroes are still there, though. And the CTAN announcements, of course ;-)

@StephanLehmke One thing you quickly find is that there is way better control of duplicate questions here. Of course there's no Heiko or Donald, which is a downside.

@egreg hey, you go the answer after all. Can I bother you to explain it a bit more?

Editing questions and answers is also a definitive plus. It feels much more natural to develop a solution iteratively.

@StephanLehmke Yes, indeed. It also means that out of date answers can be corrected.

Also: LaTeX3 people: If I get on my knees and beg will you add a way to easily access upright greek letters, so that I don't have multiple documents, using multiple ways of doing it, depending on the font I'm using?
By the time LaTeX3 comes out my Dad will be a brewmaster: I will trade damn good beer for easy Greek letters!

5:47 PM
@Canageek you mean for math use not greek text?

A wild layout appeared! Paulo uses idxlayout! It's super effective

@DavidCarlisle For chemistry and physics use mostly.
@DavidCarlisle You only italicize for variables, not say, the physics symbol for an alpha, beta or gamma particle. Also beta-mercaptoethanol in chemistry.

@Canageek math mode though (Tex doesn't care about the actual subject area:-)

@Canageek: I was so scared when I read isopropyl-1-thio-β-D-galactopyranoside. :)

in the Unicode flavoured tex engines doesn't this just work (since you could use teh plane 1 Unicode slots for upright or slanted math greek alphabets)

5:50 PM
@DavidCarlisle Yes, but most journals use non-unicode flavours, and then you have to either write yourself a macro, or copy and paste the unicode symbol in each time.

@PauloCereda What wonder did I work? ;-)

@lockstep :P That package is my lifesaver. :)

by the time your Dad is making beer the world (and its journals) will have converted to Unicode

@DavidCarlisle That doesn't make typing it any easier on a standard IBM keyboard
I'm working with two documents now, one of which is using this method
4

A solution that integrates cgnieder's and rdhs's: \documentclass[letterpaper,12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{mathptmx} \usepackage{tgtermes,chemmacros} \usepackage[artemisia]{textgreek} \usepackage{newunicodechar} \ExplSyntaxOn \cs_new_protected:...

The other I'm doing this
8


Since now I did that CSV converter, I should come back and do something with the crocodile/broccoli/debroglie project.

5:54 PM
It would be nice to set out some guidelines for how to access fonts; it can be based on UTF8 or whatever, but it is really annoying that I have to either copy and paste (Which is as bad as work, since I have to stop, find a beta to copy, etc) or use a different command per font.

@Canageek despite preaching the Unicode gospel I really only believe in 7bit TeX:-) but if you have a 8bit upright greek font suitable for math, using it from a classic tex ought to be simple enough,
4

Just because you can paste a character into the document doesn't mean it is the best way to do it.
@DavidCarlisle The problem is there isn't one standard way. If I want an italic beta it is easy $\beta$. Why can't \beta be defined to give me an upright beta when in text mode?

@Canageek knuth's greek letters were never designed for text, they are just for math and he only needed slanted lowercase , so plain and latex default set don't give access to the characters from text mode, but there must be loads of greek text fonts by now (I think kdgreek was one of the first but that was decades ago)

@DavidCarlisle Latin Modern, Tex Gyr Terms, and kpfont all have them, yes. I'm not complaining about them existing; it is the method of getting to them that is the problem.
Crud. Since I'm now using chemmacros and I remember hearing about an update to it recently I run TeX Live Manager and update all. "Installation of new version of chemmacros did fail, trying to unwind." WHY THE ONE PACKAGE I WANTED TO UPDATE.

I may have a look later, but as i say if they exist it should be trivial to (a) make them available in math mode

6:04 PM
@DavidCarlisle In most cases it is, have a look at the two questions I linked, they have some really good, but very, very different answers. Some standardization would be nice.
Crude it is still sitting on Installation of new version of chemmacros did fail, trying to unwind. Anyone know what I should do?
@JosephWright Hey, you have a new picture. Also, you look like David Tennent.

Today's facepalm: texdoc update --self sigh

@PauloCereda Try texdoc face palm to get a nice picture ;-)

@StefanKottwitz Oh my, this is so epic! :D

somebody should vectorize it

6:22 PM
Hello people who know what you are doing. What does "Installation of new version of chemmacros did fail, trying to unwind." mean and how screwed am I?
@PauloCereda Any idea? Help?

@Canageek tlmgr did this?

@PauloCereda Yeah, and I just got impatient and hit the close button. Should I try updating again?

@Canageek I never had this error. Could you retry?

@PauloCereda I've never had it before either!
@PauloCereda This time it opened with "Skipping forcibly removed package chemmacros"

@Canageek Wow!

6:29 PM
@PauloCereda Without the typo.

@Canageek I really don't know what to do. :(

@Canageek Search under "Not installed" for chemmacros and try again.

[1/1, ??:??/??:??] install: chemmacros [2734k]
untar: untarring C:\texlive\2011\temp\chemmacros.doc.tar failed (in C:\texlive\2011\texmf-dist)
Completed
@lockstep Lesson; never upgrade a working package when you need it v.v

I can't believe the 4 ghosts in the Pacman game have names!
Blinky (red), Inky (blue), Pinky (pink) and Clide (orange).

6:53 PM
@PauloCereda You didn't know that?

@Canageek No. /blushes

Could I bypass this by installing the package by hand then rebuilding?

@Canageek so.. upgreek was the kind of interface I had in mind, that only knows about euler and adobe symbol though. what upright greek would you want to go (with lm say; I didn't see any greek in that collection, but perhaps I missed it?) people suggested textgreek (but I don't have the to quickly try)

@DavidCarlisle I like how kpfont did it myself, which seems to be the same as upgreek but \alphaup instead of \upalpha
8


@DavidCarlisle @egreg gave a great answer comparing various ways of doing it in that question.
@DavidCarlisle But you can see how each font uses a different command. I'd like it if it was standardized, so that I could just swap font packages without having to then run a massive find and replace.
qpweijfw
Is anyone else having trouble with the latest chemmacros update?

7:13 PM
@Canageek that's back to the original question about tex engine. It's easy to have a common interface if the different fonts share a common encoding, and so for Unicode fonts that isn't a problem, but I would guess that the various 8bit greek tex fonts don't always use the same encoding which means that you have to redefine all the commands at least when switching encoding if not when switching fonts (but maybe should take this offline and let this channel revert to football)

@DavidCarlisle Couldn't you abstract that away by changing what happens behind the scenes, but defining it as the same user-accessible command? More of a convention (If you offer greek letters they are accessible by \fooup or \upfoo or whatever) then as something hardcoded?
@lockstep Ok, I've downloaded the packages from the mirror manually and upzipped them; any idea if I can do a manual install?

@Canageek yes

@Canageek Sure -- in your local TEXMF tree.

Any windows users here? I found the problem, but it is a windows thing; I can't alter or access chemmacros for some reason! Everything else is fine..
Oh damn, I bet I know the problem, I had the documentation open when I tried to update.
@lockstep Figured out the problem; It wouldn't overwrite the file while I had it open. Durrr.

7:37 PM
@Canageek moral of the story: never read the documentation, bad things happen
10

@DavidCarlisle LOL!
@Canageek Or use the amazing texdoc.net documentation search directly in your Firefox/Chrome search bar. :)

@PauloCereda I just use file:///C:/texlive/2011/doc.html and Firefox's search feature.

@Canageek Boo! :P

@PauloCereda I do like the look of that site though, bookmarks

7:42 PM
@Canageek awwww <3

@PauloCereda I just realized my bookmarks toolbar is now: FreindFeed, Uni's proxy, Detexify, TeXdoc Online, Online LaTeX Equation Editor, OttoBib.
LaTeX is taking over my web browser. Now we just need to get Mozilla to implement Knuth's justification algorithem and its control will be compleate.

@Canageek haha great! :)

sigh I would love it if someone made a web browser that used TeX style justification. I wonder why no one does? You think someone would...
I wonder if I should drive everyone crazy by using all IUPAC names in this...probably not a good idea.

@Canageek well firefox uses TeX hyphenation patterns and lian's algorithm code.google.com/p/hyphenator/wiki/en_CSS3Hyphenation

@DavidCarlisle So it is just that no one online uses justification?

7:55 PM
Liang
@Canageek It's coming, slowly, but you need web fonts to work and you need all the browsers to catch up and you need enough people to care.
who starred me so I get quoted out of context over at the right:-(

@Canageek It's quite difficult to get things working in the Web context. You would need to ensure people write good HTML, but that's impossible since the web browsers try to rescue bad code and render it nonetheless. We also have bad use of patterns/anti-patterns -- too much or too little. Not counting of course the Javascript party with inefficient frameworks going crazy with resources. :(

@PauloCereda I was just thinking: There is a box of text, a long one in most cases. There must be an algorithem that says "This letter goes here, line break at this point" etc. Why not use the one LaTeX uses?
I just realized I have TWO different ways of using Greek characters in this document. A while ago someone gave me
\edef\Delta{\noexpand\ensuremath{\mathchar\the\Delta}}
and then today @egreg gave me
4

A solution that integrates cgnieder's and rdhs's: \documentclass[letterpaper,12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{mathptmx} \usepackage{tgtermes,chemmacros} \usepackage[artemisia]{textgreek} \usepackage{newunicodechar} \ExplSyntaxOn \cs_new_protected:...

Which is better?

@Canageek IMHO it's doable, but this for the majority of the "web" users, they prefer their favorite rendering engine to be able to implement "cool" features like Canvas for them to be "social" and play online games/videos inside their very own browsers instead of having better typography. :(

@PauloCereda I don't see why the two are incompatible.

8:10 PM
@Canageek It's not a matter of compatibility, but priorities. :(
We are a small group. :(

@PauloCereda I didn't realize how bad InDesign was at paragraphs until now.

@Canageek Really? I only played with InDesign for a few hours in the past.

@Canageek Uh-oh. :(

@PauloCereda It also lacks margine protrusion
@PauloCereda I thought InDesign was a professional level tool. @.@

8:28 PM
@Canageek I don't have the program here, but surely there are some settings.

@PauloCereda No idea, I don't use it. This is a self-published book I bought (rpg.drivethrustuff.com/product/97722/Weird-Adventures )

9:05 PM
@StephanLehmke, sorry guess I beat you by a second or two;-)

And correct, even :-) (I forgot the \global)

Chamces are it makes no diference but it is probably good form since the usual definition is global

I'd like to know - when I hit "delete" it says something like "vote to delete" and the posting turns red. Will it disappear automatically or is there a manual process involved?

@StephanLehmke For other people it will have gone, but you can always see your own deleted material

@lockstep @ is again other

9:10 PM
Other users with >10k reputation can also see deleted stuff. That's the reason we say 'removed from public view' in various places: for most people, things disappear but for the 'regulars' they don't :-)

@DavidCarlisle Thanks. Couldn't resist to upvote it even before. :-)

@Canageek I'm not sure I understand your problem with greek. If you're using encodings, LGR defines something like \textbeta, and if you're on a unicode-based system you can just use character &#x3b2;

9:29 PM
@StephanLehmke PDFLaTeX. I have no idea what LGR is. But every time I need to put in an upright letter, what I have to do changes depending on if it is in math mode, textmode, inside this or that environment and what font I'm using.
However right now I'm trying to figure out what I've done to get \si{\celsius} to give the output 1◦C
Ah, I need parse-units to not be false.
@JosephWright Idea for the siunitx manual: Specify that parse-units=false will mean \si will add a 1 in front of the units.
@StephanLehmke Ok, so I've now written 3 documents in which I've needed upright greek text. I first asked about it a few months ago and was told to use
\edef\Delta{\noexpand\ensuremath{\mathchar\the\Delta}}
8


The solution there was to use kpfonts, which provides access to non-italic Greek. Very nice, unless you have to use a specific font (In this case Times New Roman, but I figure no one will notice if I use Times)
11

I have to write a document in Times. Therefore I started writing it in TeX Gyre Termes, based on the note on Time's font page. However, I use PDFLaTeX, so I can't directly type Greek characters. So if I want to write isopropyl-1-thio-β-D-galactopyranoside I need to type isopropyl-1-thio-$\beta$-D...

So I now have no less then three different ways to access greek, two of which I don't understand, and at least one of which is font-dependent.
I think there should be a standard "If your font gives access to these characters, they can be accessed via this command" across all fonds: kpfonts \alphaup for example. Nice, clean and easy.
or Fourier's \otheralpha. I don't see any reason we couldn't set all the font packages to use the same command.

9:46 PM
3

Yes, I'm very much in the wrong here. Touchstack was originally intended to be a smartphone web client for Stack Exchange sites (using the API), but I ended up rushing it out so I could show it to a few people. I posted it on Stack Apps as a work in progress, intending to update it over the next ...

@Canageek what's a good name though depends on its definition. alphaup might be good for an upright alpha but most likely for textual greek that isn't what you want, \textalpha would be a command that follows the current (text) font setting so would be upright by default but slanted after \slshape and bold after \bfseries etc.

@DavidCarlisle Sounds good to me. Not as good as allowing \alpha outside of math mode, but defaulting to roman in the same way 'A' does, but workable.

But for upright greek in maths you want a command like th ecurrent ines that _doesn't follow the text font settings and gives a symbol from a specific font.
Allowing the same command in and out of math mode is usually a mistake:-0

@DavidCarlisle Good point. Or just a 'make upright' command you could wrap any letter in.

That isn't the way TeX thinks (and you shouldn't argue with TeX)

9:52 PM
To make the confusion complete: If I say \usepackage[LGR,T1]{fontenc}\input{ucsencs.def} and then {\fontencoding{LGR}\selectfont\textbeta} I get a really nice upright beta.

@DavidCarlisle Really? I was thinking like a greek character version of \textrm{}

btw, I'm just now making a fontencoding based on ISO 8859-7 specially for greek script combined with latin because LGR doesn't incorporate standard ASCII.

@Canageek mostly in math mode , unlike text mode, each command selects a particular glyph from a particular font, so while in text you select a font then abc necessarily come from the same font (more or less) in math mode \alpha and \beta are independent symbols just like \sum and \int they may come from different fonts or arbitrary positions in that font so a \makeupright command isn't really possible as TeX doesn't really "know" that some symbols are perceived as slanted.

@DavidCarlisle That seems like a really odd way of doing things, is that just due to historical reasons or is there a method to the madness?
@PauloCereda Merger of all the places you can buy things from Google. Terrible name, I know. But short, indistinct names are in now.

9:58 PM
@Canageek Ah got it. :)

@Canageek basically tex embodies the tradition that the "greek" used by english speaking mathematicians is a bunch of useful mathematical symbols, and not to be confused with the alphabet used for typing the Greek language. For textual greek you want different fonts and different input conventions. Thinking of them as the same thing just gets confusing.

@DavidCarlisle I see, that makes sense. I don't want to write in Greek; there are a ton of packages for that, and I'd have a Greek keyboard then. Just in physics and chemistry there are a ton of times you want non-italic Greek (alpha, beta, gamma particles), names like β-Mercaptoethanol, etc. Would be really nice for us physical science types to have easy access to that.

@Canageek sure, but chemists should be like mathematicians and call everything x, then it would be simpler.

@DavidCarlisle Doesn't quite work when you are naming things. Also isn't pi a constant? Wouldn't it be better to have a non-itallic pi?
The M572A mutation was then heated to \SI{65}{\celsius} to deactivate the Dpm1; this step was not performed on the I636D mutation.

Don't you love writing sentences that you hope no one asks you about?
~ is a normal, nonbreaking space, right? Or is that "\ "

10:20 PM
@DavidCarlisle That's the sheer pleasure of starring.

STATUS_ACCESS_DENIED, Somewhere in the vicinity of Sol
113 3

@Canageek ~ is (apart from some protection) \leavevmode\nobreak\
so it's a non-breaking version of \

8

I've been building a number of redstone circuits lately, and to keep them protected I've been enclosing each entire circuit in obsidian. However, recently I noticed that a zombie managed to spawn in a dark 1x1x2 void within the redstone circuit. I fixed this by placing ceiling slabs to make these...

You gotta love some question titles. :)

10:40 PM
@DavidCarlisle Perfect, thank you.

@Canageek always have latex.ltx open in a spare emacs buffer, you never know when someone may pop up and ask what the definition of ~ is.

@DavidCarlisle Yay, a fellow emacs user! ^^ Actually, I'm using TeXstudio right now, I only use emacs when a) I've been using it a lot, so have though keyboard shortcuts in my fingers intead of the windows ones, or b) Am doing a lot of math or physics, since its math mode highlight is better.