@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}
@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}}
@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)
This 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...
@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.
@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.
@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?
@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.
When 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....
Why 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...
It 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...
@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. :)
@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 Yes 'Supporting Information' is logical: it's a separate document which is submitted along with a journal article and which contains additional items.
@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.
@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.
I 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...