« first day (621 days earlier)      last day (841 days later) » 

leo
3:45 AM
hi!
 
leo
4:07 AM
what counter is used by the numcases environment to number the equations?
it seems that is equation counter
 
This:
0
Q: change style of all same objects in LaTeX

UkiHow I can change style of all same objects in document? For example, \description {} I'm a newbee in LaTeX, so I don't know how I can make style for all document, as css in web

is clearly a duplicate of
3
Q: Change color and background behind text of all 'description' environments

UkiI'm new with LaTeX and like to change some parameters of the description environment throughout the document. As minimum, I like to have two arguments: color of text of item and background-color behind text as description. In other words, I want to give style.

 
 
2 hours later…
6:36 AM
Hi =9
 
 
2 hours later…
8:32 AM
@PauloCereda Hey, Paulo, rather than correcting yours, I added my own alternative. Please feel free to delete, or to use the bits you think useful. Your move now...
 
8:52 AM
I wonder why wrapgfig does not work in a multicolumn envirmoent
 
9:05 AM
@N3buchadnezzar Is it rather multicols? Well, wrapfig essentially works only at the outer level.
 
9:22 AM
@N3buchadnezzar wrong question.
@N3buchadnezzar If you looked at the code you'd wonder how it ever works at all.
 
@DavidCarlisle ^^
@DavidCarlisle Nice solution btw, but it does not force the image to not appear in the first column. Although this is easy to manually adjust.
 
@N3buchadnezzar How could it appear in the first column if not at the top or bottom?
@N3buchadnezzar well if the author uses [h] it could appear mid column of course.
 
Oh he wants to force figures to start on the top of the page, or bottom. Thats strange..
 
@N3buchadnezzar The main requirement is for the figure not to come before the abstract. That's quite a normal requirement. article class sets topnum to 0 on maketitle for the same reason
 
I would then not float the first figure, then enable floats. But that is just me, I am a practical man, no TeX wizard.
 
9:33 AM
@N3buchadnezzar that's immoral. Using [H] generally is immoral. Whoever first implemented that syntax????
4
[hint: the culprit is in this chatroom]
 
\begin{minipage}[\columnwidth]
\includegraphics
Figure \value{figure}: Look a Seagull!
\addtocounter{figure}{1}
\end{minipage}
@DavidCarlisle Was it you again? :p And how bad is the above solution in comparison to using H ? :p
 
@N3buchadnezzar could have been, not saying... Either way is bad really (as is putting \global\@topnum=0 in the document. If the document class has a requirement that figures not before the abstract it should make maketitle or \abstract (or both) set \@topnum=0 then the author just uses \begin{figure} separation of concerns. Class designers are supposed to worry about the title page, authors are supposed to worry about the text.
(and I live in some strange utopian world where I still believe that happens)
 
9:49 AM
@DavidCarlisle Btw, is there any reason why \arabic{\value{figure}} does not work ?
 
@N3buchadnezzar Because it's \arabic{figure}: \arabic wants the name of the counter as argument.
 
Oh, I see thanks. This is all very new to me.
 
10:19 AM
@BrentLongborough I removed mine, your version is way better than mine. :) Muito obrigado. :)
I wake up and find 60rep! Spooky. :)
 
@PauloCereda What about 145? :P
 
@egreg I withdraw my question. :)
 
@DavidCarlisle Is that linked to a now one line package? ;-)
 
I can't believe I built a .exe file from a Python script. That was new. :)
 
10:35 AM
@egreg It was a bit more than one line;-) It got swallowed up by float but there was a here.sty at one time (before latex2e I think)
 
@PauloCereda Oh! I didn't think it was that good (thought you might have a sociological objection to the subjunctive as elitist)
 
@BrentLongborough Not at all, the problem itself is that I'm bad at grammar. :) The sentence as it is is way easier in English than in Portuguese, maybe because it requires further explanation (say, "Acredito que, nesta discussão, devamos adotar uma postura mais aberta possível."). Portuguese fails when you need to communicate stuff in a few words. :P
 
@egreg Oh I see what you mean. I don't think I knew about Karl B's package:-)
@PauloCereda so does the exe have an entire python runtime, or do you still need python libs on your machine to run it?
 
@DavidCarlisle It has the Python runtime and all dependencies. :)
 
@PauloCereda you could have included a virtual machine running linux at same time
 
10:47 AM
@DavidCarlisle LOL it would be epic. :) As soon the OP runs the .exe file, a message "Booting Linux...` appears. :)
 
11:26 AM
@PauloCereda And when you can not gesticulate ? ;)
 
12:14 PM
@N3buchadnezzar Then I'm not able to communicate properly. :)
 
We have text to speech, we should have text to arm movements.
 
 
2 hours later…
2:00 PM
How do i make a for each loop
that increases by 2 every time
 
@N3buchadnezzar Can you make a short example?
 
\loop\ifnum\i<10 \advance\i by 2 .... \repeat
 
foreach \i in {1,2,...,8} worked
 
@N3buchadnezzar So you want only 1, 3, 5, 7?
I believe that \foreach\i in {1,3,...,8} works.
 
@egreg Yeah, I should try out things ebfore I ask =)
\foreach \c/ in {1,3,...,\aa}{
\foreach \d/ in {1,3,...,\aa}{
\draw (\c cm,\d cm) node [shape=circle,draw] {\a} {};}}
 
2:07 PM
@egreg you shouldn't be so kind to people with spaces in labels:-)
 
@egreg Do you have any idea why this does not work ? :p
@DavidCarlisle Spaces in labels ? :p
 
@N3buchadnezzar not you, qn on site
 
@DavidCarlisle Probably.
 
Oh =(
 
@N3buchadnezzar I did a brilliantly helpful answer and @egreg did a more helpful one and grabbed the points:-)
 
2:10 PM
^^
 
@DavidCarlisle I had the idea of using \string before your edit, and the rest was kind of natural.
Next time the OP will ask why alltt doesn't work in the argument of a command.
Oh! He's already done that! :)
 
@egreg you know really we don't need the OP's we could just recycle all the standard questions, except neither of us has figured out how to post a question yet...
2
 
@DavidCarlisle I am trying to answer a question on the site, and my attempt leads to double forloops, that is never a good sign.
 
@DavidCarlisle There should be a button somewhere…
 
 
2 hours later…
4:22 PM
@PauloCereda There's also a page on TeX: uncyclopedia.wikia.com/wiki/TeX
3
"In academia, this user-hostility is viewed as a feature, not a flaw, since the mandatory use of LaTeX in some publications and conferences prevents people who are not smart enough to master it from actually producing an article, therefore sparing reviewer's precious time. Many worthless papers have been accepted for publishing based solely on the fact that they were successfully compiled the first time."
 
@egreg Oh my! :)
 
LeAtHeR: More expensive than LaTeX.
 
OS/tralo-PyTeX A Homo erTeXus competitor.
LOL
 
When should ne use booktabs in a table, and one should one not? I just saw an answer by egreg, and it made me wonder.
 
@N3buchadnezzar Use booktabs if you want your tables to look exactly like the booktab style formats tables, and not otherwise.
2
 
4:41 PM
@PauloCereda We should try and make sense of a LeAtHeR acronym.
Then we can make a package.
 
@egreg Great idea! :)
The LaTeX Extension for Arrays, Tuples and Homeomorphic Entities Reloaded.
 
 
2 hours later…
6:30 PM
@DavidCarlisle: I was reading the graphicx package. The author? :)
 
 
1 hour later…
7:59 PM
@PauloCereda interesting read?
 
@DavidCarlisle A very nice read, as always. :)
 
@PatrickGundlach The time between my answer and you accepting it is a TeX.SX record, I believe. :)
 
@DavidCarlisle Comments on graphics drivers very welcome :-)
 
@egreg it took me several seconds to read and understand your answer :)
 
@PatrickGundlach :-)
 
8:06 PM
@PatrickGundlach I'm afraid that there's little to understand: that's the way Knuth decided it to be. :)
4
 
@egreg In Knuth we trust. :)
 
@JosephWright My main comment is that giving then all to Heiko to maintain seem to have proved a good idea
2
 
@PatrickGundlach I should add that hyphenating compound words at every feasible point is not something I'd leave to the software.
 
@DavidCarlisle Well yes, I can see that. I've shamelessly ripped off his ideas, although the xdvipdfmx stuff is reworked quite heavily
 
@JosephWright Good ideas are meant to be replicated. :)
 
8:08 PM
@PauloCereda Oh quite
 
@egreg I always use the shorthand "= instead of writing - so I actually leave that hyphenation to the computer
 
@PauloCereda Lesser artists borrow, greater artists steal
 
@egreg Pablo Picasso? :)
 
I had an interesting question: LuaTeX and PDFTeX give different results to \texttt{foo-}Bar when it comes to "hyphenation"
 
@PatrickGundlach Yes: LuaTeX has lifted the "only one font" limitation.
 
8:10 PM
@PatrickGundlach rather than babe; shorthands I suppose languages doing that a lot should changethe hyphencode to the spare hypen character, then set up full hyphenation patterns treating ascii - as a normal letter
 
@egreg yes, exactly that was the reason I thought of
@DavidCarlisle yes that would be better
 
@DavidCarlisle I was asking myself what babe you were referring to. :)
 
@PatrickGundlach ah hm except classic tex at least would have problems not pytting in the discressionary hyphen after the explict one if it were a normal letter...
@egreg wife in room so answer clear
 
@DavidCarlisle This circulated in my department years ago
Poincaré had eaten cucumber
and was murmuring in his slumber.
His wife was incensed
and asked with vehemence
"Who is this Betty and what's her number?"
 
@egreg Enrico Betti? :)
 
8:24 PM
@PauloCereda Of course! :)
 
Italian mathematicians FTW. :)
 
8:39 PM
@DavidCarlisle Any idea why the last column in my datatool answer doesn't line up?
 
@AlanMunn not without looking:-) OK need to persuade the boy that it's bed time first
 
@DavidCarlisle No rush. datatool and tables often interact in odd ways, but this one I can't figure out.
 
@AlanMunn you mean why remove the space before \\ or something else
 
@DavidCarlisle No, that I did, which solved an alignment problem of the third element in the last column. But if you look at the total % vs. the individual values in that column, the total doesn't align with the rest (or more properly, the cells in the body of the table in the last column seem to have some trailing space not present in the total of that column.)
 
9:00 PM
@DavidCarlisle say hello to Jo then
 
9:12 PM
@FrankMittelbach Are you in the US yet?
 
10:02 PM
@AlanMunn it's same thing (it's same thing it _always is:-) space tokens in macro definitions:-) {\totalAmount}% adding column B and similarly the other lines lose the space before the %, normally white space at end of line is discarded but the % there is protecting the space from being discarded
 
10:15 PM
@DavidCarlisle I see now. Yes, it is always the same thing. Obviously my space hunting skills are deficient. Thanks. Now I can update the answer to make things look right.
 

« first day (621 days earlier)      last day (841 days later) »