« first day (554 days earlier)      last day (4381 days later) » 

user19161
12:39 AM
Wow, I pop in and see so many "goal" messages!
 
leo
hi there
is there a way to type vectors easily? I'm looking for something like \vector{1}{2}{2} that gives \begin{pmatrix} 1\\ 2\\ 3\end{pmatrix}
 
12:55 AM
@leo latex commands should always (as a matter of convention) have a fixed number of arguments so the syntax should not be \vector{}....{} but if you want you could go \def\vector#1{\begin{pmatrix}#1\end{pmatrix}} \vector{1\\2\\2}
 
leo
@DavidCarlisle I see. By now I'm happy with 3-vectors. :-)
that solution works very well
 
@leo ah I forgot some people live in the real world and might be content with 3-space:-)
 
leo
\vector command already exist
@DavidCarlisle, is there a way to define styles to format sections, subsections, paragraphs according with the number of chapter?
for example I want:
\renewcommand\thesection
{\arabic{chapter}.\arabic{section}}
\renewcommand\@seccntformat[1]{
{\csname the#1\endcsname}.\hspace{0.5em}}
\renewcommand\section{\@startsection
{section}{1}{0mm}
{6pt}
{1pt}
{\bfseries}}


\renewcommand\paragraph{\@startsection
{paragraph}{3}{0cm}
{6pt}
{1pt}
{\bfseries}}
for the first chapter
and I want:
\renewcommand\section{\@startsection
{section}{1}{0mm}
{0pt}
{1pt}
{\Large}}
\@addtoreset{definicion}{section}
to the others
all this is placed in a little class file
 
 
7 hours later…
8:03 AM
I asked a question that seemed reasonnably complicated and provided an example but I did not get any answer.
What can I do about it ?
Is setting a bounty the right option ?
 
@AlfredM You forgot to give a link to the question. :-)
 
@AlfredM I believe that Jake is trying to answer.
 
 
1 hour later…
9:36 AM
Everything on the website is now updated automatically, except the close status!
I was checking and commenting on the following self-answer and question and afterwards I figured that it was already closed for 10min:
1
Q: How to obtain a high quality image from a web browser source

DudiHow to create high quality images from a Javascript/Dojo image presented in a browser which can be used by LaTeX?

I think it is border-line on-topic after all. Word users don't have this issue because all they can do is to include a screen-shoot anyway.
Especially with the self-answer, which is OK.
 
 
1 hour later…
10:39 AM
@leo yes I know vector exists but you picked the name, I assumed you wanted to redefine it:-) as for redefinitions, the answer must be "yes" but I'm not sure I understood the question well enough to give details. (Perhaps ask on site with a MWE)
 
 
1 hour later…
11:48 AM
Why do people migrate solved questions for us?
0
Q: How to insert one latex document into another.

mihajlvThis is probably online but I am not sure how to word the search. I have a long latex document, and it is getting messy editing it, is there a way to split the chapters into separate latex documents and insert like a reference to them in the main document such that when the main document is buil...

I'm sure this could be closed as duplicated. :)
LaTeX into LaTeX? LaTeXception. :P /ducks
 
 
1 hour later…
@MartinScharrer LOL
 
@PauloCereda Well, standalone calls LaTeX from within LaTeX.
for the conversion option
 
:P
@JosephWright: Does "Supporting Information" ring a bell in Chemistry?
The OP replied to me in Portuguese, but I'm still confused. The literal translation: "The question is: from "Supporting Information", is there a way to refer a figure from it with the command \ref{fig:si}, but after consulting the journal, I saw it's not possible to do that. Maybe I could use xr. In achemso there isn't the final template (published) in relation to the Elsevier class. I think you could close the topic."
@MartinScharrer It's LaTeXception, I tell you! :P
 
user19161
@PauloCereda I have a feeling this message will be starred soon.
 
@JasperLoy Nah, it's evil. :P
 
1:21 PM
@MarcoDaniel About minted with standalone: The internal LaTeX call did not had -shell-escape included. I added it now.
 
 
1 hour later…
2:29 PM
@egreg: 28th title! :D
 
 
1 hour later…
3:38 PM
@nn: About the --edit option of texdef:
I now finished a suitable version.
The script under this URL will always be the latest.
@egreg, @JosephWright: About ^^^
What it the default editor under Mac?
 
4:17 PM
@MartinScharrer Thanks
 
user19161
@MartinScharrer Are you thinking of TeXshop?
 
@ClarkKent I want to open a TeX file in the user editor from a Perl script.
I fall back to notepad under Windows if there is no EDITOR variable set.
 
@MartinScharrer You can simple use open filename.sty
 
user19161
I like notepad on Windows too! But I have never used the Mac.
 
@MarcoDaniel Does this support stating file numbers?
@ClarkKent Like!? I hate it! But it is the only editor which I can be sure to be installed.
It doesn't handle Unix line breaks so the result is a mess!
 
4:22 PM
A potato is more powerful than Notepad. :P
 
@MartinScharrer I used it only for open 'kpsewhich standalone,sty' ;-) Maybe it helps; developer.apple.com/library/mac/#documentation/Darwin/Reference/…
 
user19161
@PauloCereda I'm sorry, I don't understand the deep joke you are making.
 
user19161
Maybe potato is just a random vegetable?
 
user19161
Or is there an editor called potato?
 
@ClarkKent In retrospect, there's no relation. :S
 
user19161
4:26 PM
@PauloCereda Well done!
 
I simply don't like notepad. :)
Wait a minute.
CLARK KENT?!
/ducks
 
user19161
@PauloCereda Yes, I like to change my username from time to time to confuse people.
 
@ClarkKent Ah. :) In my screen, your display name is still "Jasper Loy". :)
 
user19161
@PauloCereda Haha, you are not the first person to misspell the second word.
 
@ClarkKent My bad! :)
Fixed.
It some brain glitch, I wonder. :D
 
user19161
4:29 PM
@PauloCereda I wonder too. I don't know of anyone with last name Joy, though I know some with first name Joy.
 
@ClarkKent I actually have a friend which his first name is Joy. :)
And Joy is one of the bosses in the game Bayonetta. :)
 
@JosephWright: Do you have some new information about P. Lehmann?
 
@MartinScharrer None. Choose what you want: there's also MacVim. :)
 
MacVim! <3
But I think mvim should be in the path for the call to work. :(
 
@egreg Is TeXWorks installed by default with MacTeX?
 
4:37 PM
@MartinScharrer @MartinScharrer Yes. But usually one decides what program is to be used when double-clicking on a file and then open xyz.tex will use that program.
So if a user associates .tex to TeXShop, any system call open xyz.tex will open the file with TeXShop.
 
user19161
@egreg So is TeXworks very similar to TeXshop?
 
@egreg The problem is that open seems to have no way to specify the line number.
 
@ClarkKent TeXworks whas born as a "multiplatform TeXShop". It has less features, of course.
@MartinScharrer Yes: that's possible only with some specific editors.
 
@egreg: Is that /bin/open?
 
For example, Aquamacs installs an aquamacs script that understands %line like the standard emacsclient
@MartinScharrer /usr/bin/open
 
4:42 PM
@egreg Thanks!
 
There are scripts for Aquamacs, MacVim, TextMate, TextWrangler and some others.
@MartinScharrer Actually open xyz.tex --args line 3 (with TeXShop as default editor for .tex files) puts the curson on line 3. :)
It doesn't work with Aquamacs, though.
 
@egreg Well, people just have to set an environment variable or use --editor to tell the script the correct command.
 
@MartinScharrer That's what I thought it's the best approach
 
@egreg Yes, I did this from the beginning. I'm just talking about a suitable default / fallback value.
 
If the user doesn't have an evironment EDITOR variable, remove his/her home dir. That'll teach him/her a lessom. :P
 
4:52 PM
@PauloCereda I don't have the EDITOR variable set. :)
 
@egreg I even read the ~/.selected_editor file if it exists.
 
Will do ASAP. :)
 
@egreg Oops, neither do I. :P
 
The bus is coming. Bye!
 
5:25 PM
Anyone want to help marshal an argument against using primes for equation numbers? (e.g. (1) and (1') etc.)?
 
@AlanMunn Why should this be deprecated? :)
Well, in that case they're surely bad! :)
 
5:42 PM
@egreg ? Now I'm confused. But I don't like them, but I can't think of a knockdown argument against them.
 
Primes are evil.
 
@PauloCereda Yes, but apparently such statements don't get believed without evidence or argument. :)
 
@AlanMunn :P
@AlanMunn: Can I suggest a nice resource? :) Part 1, part 2 and part 3. One of my favorite episodes. :)
 
@AlanMunn Confusing the reader, at least
 
@MartinScharrer: Regarding tex.stackexchange.com/questions/54793/build-a-table-in-latex: I thought that one shouldn't use the center environment inside a float because of the whitespace it introduces. That's also how I understand the answer you linked to in your comment. Why shouldn't one use \centering in this case?
 
5:54 PM
@egreg I tend to think so too, but that seems like a pretty subjective notion. Is the confusion caused because it's too easy to forget about the prime? I think the intuitive argument in favour of them is that they clearly show that the primed version is directly related to the unprimed one, which one might think would be less confusing.
 
@Jake Ups, that was what you meant. Yes, I accidentally got it reversed. I fixed the comment.
 
@MartinScharrer Thanks
 
@Jake No, thank you.
@nn, @PauloCereda, @egreg: I released a new version of texdef with the --edit option included. Thanks a lot for the input and help.
 
@MartinScharrer Will it erase the home dir? :)
 
@PauloCereda Just if you use the undocumented --paulo-cereda option.
 
6:01 PM
:|
<3
Best flag ever.
 
@PauloCereda LOL I hadn't seen that. That's brilliant.
 
@AlanMunn :)
I love the "Talk to the hand!" part. :)
Uh-oh, that's not the full episode. :) I need to find one. :)
 
7:09 PM
I tried to move a discussion from comments to chat, but the other user is having problems. tex.stackexchange.com/a/54802/4771
Not sure how to help him.
 
7:35 PM
The following two questions should be closed as duplicate:
4
Q: Wrong vertical position of heading created by \printindex

boothby81When compiling the following example, you can see that the heading heading "Index" (created by \printindex) has a different vertical position than the first two headings. Strangely, it gets better when you comment out the line \KOMAoption{open}{right} although the positioning is still different....

0
Q: Different headers in backmatter

lumbricWhy the headers of Index and Nomenclature are different? The Index header seems to be lower. I produced the follwong tex file with LyX. For some strange reasons, the header of Index and Nomenclature is different. Is this on purpose? %% LyX 2.0.0 created this file. For more info, see http://www...

 
@lockstep ok, done
 
 
1 hour later…
8:58 PM
@egreg: How do you feel about another "serial upvoting reversal"? And why is it only 2 rep? (don't know whether this has been discussed...
It probably corrects the +2 of the day before, no?
 
12
Q: How should I ask my boss about bringing in a pet?

JoelESalasIt seems that some companies (as many as one in five) are now permitting/encouraging employees to bring their pets in to the workplace with them. Some are even claiming that pets in the workplace can lower stress and improve communication. I want to get in on this, as I believe it could be bene...

What if one has an alligator? :P
 
9:33 PM
@JosephWright: knock knock?
 
@Werner The +2/-2 probably is because the thing has happened at date switch. Actually yesterday I've seen a bunch of upvotes very near in time to each other. But they were already over the rep cap.
@PauloCereda You can take your piranhas with you. :)
 
@egreg They are dangerous. :)
I've never seen one, rivers near my region don't have piranhas. :)
 
@PauloCereda You're lucky. Do you have alligators or similar animals?
 
@egreg I know there are capybaras, coatis, ocelots, armadillos and lots of birds around here. :)
 
@PauloCereda I don't know, I go out for the day with some friends and I have a stack of jobs to do before bedtime :-)
@MarcoDaniel No news about Philipp Lehman I'm afraid
 
9:38 PM
@JosephWright :)
 
@MartinScharrer I have Xcode installed, so that opens Perl files. I can try tomorrow on another Mac with no Xcode
 
@Joseph: in this comment the OP said about "Supporting Information" being some sort of chemistry journal. I believe he wanted to crossref stuff, but he said the topic could be closed.
 
@PauloCereda And now for something different :-) do you know how to debug web pages with php?
@PauloCereda I would look into the error.log, but that doesn't show anything and the browser shows an empty page.
 
@PauloCereda Yes 'Supporting Information' is logical: it's a separate document which is submitted along with a journal article and which contains additional items.
 
@StefanKottwitz Yay Monty Python! :D
 
9:41 PM
@PauloCereda He's e-mailed me directly, again with the Elsevier comment. I think I know what he is after :-)
 
always look on the bright side of life ...
 
@StefanKottwitz It's a server-side debug? :)
 
@PauloCereda yes
any side :-D
 
The easiest way is to enable the error output to the page through php.ini conf. :)
 
9:43 PM
@StefanKottwitz: Could you try this?
// Report all PHP errors
error_reporting(E_ALL);
Put this in the code and run it again. :)
 
@JosephWright Does he want to reference things in another paper? I'm afraid that the only thing to do, when submitting to a journal is to reference by hand.
 
Right after <?php. :)
 
@PauloCereda can I do that globally?
 
@StefanKottwitz You can. :) So php.ini it is. :)
 
@egreg Yes I'd entirely agree (hence there being no comment about it in the docs I wrote). As the publisher only uses the LaTeX sources to extract the text, fancy xrefs are not a good idea anyway.
 
9:44 PM
I don't have any PHP install here, but it's something similar to error reporting.
 
I'll look for it
 
display_errors = on
display_startup_errors = on
I guess it should do the trick. :)
@JosephWright: can I write a comment there or will we close that question?
 
@PauloCereda Either you can write something now or I'll write something tomorrow - I'm off to bed (long day out!)
 
@JosephWright Well, I was thinking of just commenting. :) I didn't get the question at all. :)
@JosephWright: I've told him you'll update the question. :) Have a good night! :)
 
Missing MWE -- too localized:
2
Q: Shifting the subcaption in subfigure

zahraI have a subfigure in which I want to shift one of the figures to the left, but when I shift it the caption is in its place. what should I do? Here is what I have in latex: \begin{figure*}[ht] \hspace{-4cm} \subfigure[1]{ \includegraphics[scale=1]{1.eps} \label{fig:1} } \\ \subfigure[2]{ \hspac...

 

« first day (554 days earlier)      last day (4381 days later) »