Let us assume I have defined the following TikZ style:
\tikzset{
mystyle/.style={draw, fill=green, node distance=3mm}
}
and I want to draw the following picture:
To draw this, I use the following code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc, positioning}
\begin{...
I have several solid/filled colored objects drawn and when they overlap I would like there colors to blend.
Basically I have things that represent stuff like a warning = yellow, error = red, safe = green, etc...
When these objects overlap I want there colors to represent the combined effect. Wh...
@StephanLehmke: I asked an AI colleague about your question on automated newspaper layout and she suggested me this '78 paper about it: AI techniques in automatic layout design. I also agree with Yiannis that a newspaper corpora might help on training the algorithm to come up with a potential layout that's based on both position and content. :)
If I cite two works in two subsequent sentences in my document, and they have several common co-authors, but also several different ones, I might say: "Partially same authors argue in (2) that..." but is there a better and more common expression for this? Cause "partially same authors" has only 1...
I didn't find anything about this issue, but if I missed something, please point me to it.
The documentation on the ctan.org site is usually about how to use the packages in a LaTeX document, but what if I want to edit the package itself? Is there documentation available?
And on a related note:...
as written at a stackoverflow entry, the vrsion is to be used in order to obtain version numbering. However, if I als include the package hyperref I get a lot of errors at the 2nd+ compile attempt of the latex file.
Is there a workaround for this?
Edit: actually, it was the babel package that ...
If it's just small additions to the answer, I'd consider just editing the answer that lead to your own solution and accept it.
If your solution is really different from the answer that inspired it, posting your own version in addition is certainly good practice. You're adding another valid answ...
"If it's just small additions to the answer, I'd consider just editing the answer that lead to your own solution and accept it. "
I'm not sure if I understood it, but it doesn't seem right to edit the answer you accepted to include your solution.
@FrankMittelbach Intereting answer about editing packages. I have a query on this: what is the practical difference between 'maintained' and 'author-maintained'? The license has very little explicit about the latter.
@PauloCereda Thanks for the paper. As with Yannis, I have to disagree with the idea of a learning algorithm. II was really involved in this stuff while at university, and I never ever saw anything effectively useful turn up for this type of problem. If I start with this, I need to produce a workable solution (in the sense that the customer is sufficiently satisfied to pay for it) within an implementation time of several weeks.
@JosephWright maintained means that it is maintained according to the LPPL idea of a "current maintainer" and the rules how that could change. It is author-maintained if the author wants to hold on to the maintenance at all costs, meaning if he vanishes nobody could take over maintenance
@JosephWright nothing to do with it really ... you are still lowed to prodicue new derived works. the difference is that a maintainer can change/update a work directly without the normal restrictions of LPPL. e.g. I can update multicol to add a fix or an extension, but you could not without producing a dreived work
@StephanLehmke Ah I see. To be honest, I'm a little skeptical with training sets, since one of my last attempts gave me headaches with error propagation. I'm far more inclined to a "conventional" algorithm employing some restricted heuristics. :)
@YiannisLazarides If I already had precise plans about all this, I wouldn't have to ask in the first place ;-) But to be practicable, this would have to be a rather simple web interface allowing to input content of an artilce classified into certain categories.
Hi, I have yet another longtable question - how do I make the longtable flow into columns rather than pages? The problem is it has been asked several times before. I have tried most of the solutions and none of them really work out very well. One suggests using supertabular with \twocolumn but that doesn't support multicolumn headings and processing stops. Another suggests tabbing - but that throws multiple errors. Do you think I should post this question again?
@JosephWright it doesn't "force" it but it is the best option really without compromising either compatibility for older documents or general issues with the fact that people think they talk about the same but really don't
@StephanLehmke Thanks. I like the idea of a web interface. I was rethinking the points you raised. Given current tools actually is easier to automate it via the web. Still not too sure about an algorithm. Calculating a fitness is fine if you have a notion of idea page.
@JosephWright nothing really. we promote that people use the maintained status as that avoid the situation that we saw in the past where people vanished for one reason or the other. But we didn't want to force it on authors if they otherwise like to use LPPL which is why there is also author-maintained
But on the whole we expect in the TeX world that people care about document exchange and that a maintainer is not killing it with incompatibel changes extensions. Which is what usually is looked after, eg sometimes maintainers change package names just for that reason rather than just updating things.
@YiannisLazarides Sorry if this is a dumb question but I wonder whether theres anything in particular I need to do to get the bounty for the pullquote question :-)
@FrankMittelbach I'm still not clear on this. If a package is 'maintained', I can post to c.t.t, giving 6 months notice of a take-over and become the maintainer, releasing updated code with the same name. If the package is 'author-maintained', I cannot become the maintainer, so can I simply pick up a package to create a 'derived work' with the same name or do I have to use a different name?
@Ariel The most complete answer to the general problem seems to be here: tex.stackexchange.com/q/13895/2693 If that doesn't do what you want, then you could make a new question (perhaps based on that) and explain exactly what it is you need to do differently.
Friends, the next Answer the Unanswered session is scheduled for the next Saturday - which is the Easter Eve. Should we keep the event to that date or postpone it to the next week?
@egreg: sadly, Milan seems to have easier games than Juve from now on. :(
@Canageek You didn't mention bibtex. That's another issue. Bibtex itself can't handle utf8; bibtex8 kind of can, so for bibtex files, it's probably best to use the command versions of accents (so \o would be best). Inside a regular document, though, there's no reason to use the command versions.
@TorbjørnT That is correct, I just checked Wikipedia, but it has a note about this giving a typographically incorrect result: Should I load the German package like it suggests? Would this work if the name is in my .bib file?
The diaeresis and the umlaut are diacritics that consist of two dots ( ¨ ) placed over a letter, most commonly a vowel. When that letter is an i or a j, the diacritic replaces the tittle: ï.
The diaeresis is used to denote the phonological phenomenon also known as diaeresis ( ), in which a vowel letter is not part of a digraph or diphthong. The umlaut mark ( ) denotes a sound shift. The two uses originated separately, with the diaeresis being considerably older. In modern computer systems using Unicode, the umlaut and diaeresis diacritics are identical: ⟨ä⟩ represents both a-umlaut and...
Damn ! Undefined control sequence. <write> ... Triest, Schwede, Genieser, D\oskeland , Blank, and Bos}}} l.90 ..., D\oskeland, Blank, and Bos]{Rehmann2002}
@JosephWright Yes, yes they are. One of them at least has a really good 'Cite this article' button I can use to past into presentations, but Wiley is a pain. Also the only major chem publisher that McMaster doesn't have a complete subscription for.
@JosephWright I've had to go on twitter and ask 'Could someone slip me a copy of ____ under the table? I have it on order, but it won't arrive in time from the loan system" before. Luckly, someone at Standford was able to hook me up.
@Canageek No. If \etal is followed by punctuation, you'd have an unwanted space. This is a case where \xspace can be justified, although I'd prefer to put the space by hand: \newcommand{\etal}{\emph{et~al.\@}}. Notice that there's no period after "et" and the \@ command after the period. Usage: \etal{}.
Alternatively \usepackage{xspace} and \newcommand{\etal}{\emph{et~al.\@}\xspace}
@JosephWright What do the {} do if there is no punctuation? Are they always needed?
@JosephWright Oh, that looks much better now, for some reason the space is way thinner. Forgot that Et isn't short for anything, it literally means and.
@JosephWright I thought it was you don't have a comma before the last item in the list? Bob, Fred, Jane and Marge? But yeah, I see your point. In Canada we randomly choose to use that comma or not, so I'll leave it in.
@JosephWright It depends on which style guide you use, and where you goto school, etc.
@JosephWright And chemistry seems to have developed many very idiosyncratic practices, especially in the citation domain. (Not that the Oxford comma is one of them.)
@JosephWright You are kidding right? The Journal Of the American Chemical Society doesn't use standard ACS style (The page numbers are slightly different). No two publishers use the same style, though they do use very similar ones. Every journal demands figures drawn in a slightly different way (RSC is the best)
@Canageek Oh, I just use the RSC ChemDraw template for everything (it is by far the best). No one has ever complained. I'm not sure what you mean about JACS and page numbers
@AlanMunn Oh no, I realise that. But on the other hand, it often reflects 'local requirements'
@JosephWright As I understand it, ACS format technically specifies you list both the first and last pages of a paper. However, a number of ACS journals, JACS included as I recall, only list the first page number.
@Canageek No, the Style Guide leaves this open. Several journals have moved to first-last over the past ten years. If you submit just first page numbers, often you get away with it!
@JosephWright Ah, ok. The programs I use all do first-last, and it says first-last in the downloaded citation files, but when I look at the citation list it only has first in almost every paper.
@JosephWright We should really just sit down and hash out a format all journals will use, like the engineers did with IEEE citation style.
@JosephWright Really? I'm a fan of ACS style, though I could do without the random bold on the date. I do hate formats that don't include the volume or issue number, or only include one of the two. Also: I want to add DOI to the citation formats.
@JosephWright The editor of Nat. Chem. actually agreed that that would be a good idea, but unlikely to happen as getting authours to obey style guidlines is a pain now.
@JosephWright For when someone makes a typo in the DOI and you have to look it up the long way.
@JosephWright Also, for when the DOI is too freaking long to put in, to take an example from my .bib file: doi = {10.1002/(SICI)1521-3773(19990614)38:12<1784::AID-ANIE1784>3.0.CO;2-Q},
Angewandte Chemie for some some reason has decided to use ALL THE CHARACTERS, even the ones that shouldn't be used in URLs, though they TECHNICALLY can be.
looks at the centering on his sidecaptoned figure and winces Stupid undocumented feature, centering from the top of the text, not the middle.
@leo if you used tabular* then the width is as set, with a standard tabular you can not access that width by default, You can set the whole table in a box and measure the box afterwards
anyone recognise what amsmath is trying to do when it does this "! Misplaced \omit. \math@cr@@@ ...@ \@ne \add@amps \maxfields@ \omit \kern -\alignsep@ \iftag@ ...
I hang around this site long enough to colect enough colortbl bugs that I open up the code after a decade pr so, and now I get sebt a document that used to run and now stops with a mispacedomit, which is always fun...
@PauloCereda "Quid est enim Tempora?" Recent research tells that "Tempora" was the name with which stone carvers referred to the characters they had to engrave. And they were very annoyed because it was always the same. :) "Mala Tempora", they used to say. :)
@egreg: I completely agree with your comments about Times New Roman and Nimbus; I wasn't sure (before your comment) that Nimbus and Times were exactly the same font. I basically don't matter much about that font (I don't like it), but I didn't want to sound rude in the answer to the OP and that's why I decided to suggest him to use XeLaTeX so he can see literally "Times New Roman".
@leo I find if you have something this detailed it is best to set up a MWE and write a question, since there is less need for you to try and describe it then.
@egreg Oh, I was refering to the final line of your answer, not your comment.
@Canageek On my machine I have both "Lynotype Times Roman" and "Monotype Times Roman". They show those small differences, but I believe that few people would spot them in a printed document. It's more likely that a zealous secretary opens a PDF and looks at the font list looking for "Times". Why should they want Times to begin with? It's a font not suitable for long lines.
Lets try to be little bit less partisan (I know that many people on this forum are GAGA about TikZ/PGF library which is fantastic) and give some more balanced point of view.
There are several classes (I do not mean here LaTeX classes) of presentation tools but classes as in browser based, PDF b...
@AlanMunn I'm tempted to add a comment with "Rah-rah-ah-ah-ah-ah! Rama-ramama-ah! GaGa-ooh-la-la! Want your bad romance!" (from Lady Gaga's Bad Romance)
@Canageek I'm probably prejudicial about him. But he's a quite proficient classical music listener. I'll see if he ever wants to comment on it. Otherwise no comment. but I'm secretly replaying now :D
@Canageek However, I can recommend Patrick Rondat's version of Vivaldi. That's an absolute gem for guitar shredding.
Is there a way to allow tabular environment to split across two pages? I build an environment which uses tabular, because I want to write something short in the left side, and explanations in the right side. Everything is fine until the table becomes big enough not to fit on the page it started, ...
@GonzaloMedina Oh my, I do remember this song! Is this the original recording? I first heard it in one my dad's LP's, but it was a female voice, I guess Gigliola Cinquetti.
@GonzaloMedina How nice! The melody is very beautiful! I like her performance singing corazón de estudiante: youtube.com/watch?v=MGNW0Ueza0Y (it's from Milton Nascimento)
@GonzaloMedina Me too! That song has a historical meaning for us, it became the official hymn for the "Diretas Já" moviment - civil unrest movement which demanded direct presidential elections.
@GonzaloMedina I found a bug in it though... It numbers them based on table of figure number, so I have two item 1s listed, with no way to tell that one of them is a table.
Also: @JosephWright Bad! You used \emph for \textit in the code you gave me earlier! Et al isn't emphasized, it is italicized due to the rules of grammar.
@GonzaloMedina Ahaha! However, now that I added a new section, the list wraps onto a new page anyway, so if you can't easily get it working without two number 1 items, it is fine; I can have them both on a clean page, even if there is only 1 table.
I am worried though; Not counting tables, figures or the like, my thesis is only 11 pages, and the maximum is 20. While there is no minimum, that feels short....
:4050196 Ah, yes, of course. If you still want to use my code, you can step the `figure` counter with every `table` environment and step the `table` counter with every `figure` environment:
@Canageek But then how will you distinguish between figures and tables in the combined list?
@DavidCarlisle True. Perhaps a better option would be to use a single environment for both figures and tables and rename the label when necessary with \captionsetup.
I am wondering what really does the image of this answer of mine illustrate: tex.stackexchange.com/a/50270/3954 It seems a futile addition.
@GonzaloMedina I think it's very helpful. :) Most users don't want to copy/paste code without seeing it "live". :) I'm also addicted to uploading images. :)
@Canageek If you define \renewcommand*\l@figure[1]{\@dottedtocline{1}{1.5em}{2.3em}{Figure #1}} and same for table then it would say Figure 1 the cyclic... table 1 PCR....
Doesn't ConTeXt behave exactly as TeX when it comes to spaces after control sequences? I am talking about this question: tex.stackexchange.com/q/50278/3954