« first day (2978 days earlier)      last day (1956 days later) » 

4:46 AM
I think this is a nice question: tex.stackexchange.com/questions/467287/…
 
5:43 AM
@Raaja I already upvoted your answer before ... ;-)
 
6:06 AM
@marmot good morning. I was actually popping up here in the hope that it will receive a more formal answer. Thanks for the upvote ;)
 
 
6 hours later…
11:36 AM
@JosephWright, @UlrikeFischer: something arrived in the mail!
 
@PauloCereda our or your mail?
 
@UlrikeFischer yep :)
 
@PauloCereda now I'm completly confused ;-). Where did arrived what?
 
11:55 AM
@UlrikeFischer Gimme a minute, I am wrapping stuff here. Expect an electronic communication soon. :)
 
 
6 hours later…
5:45 PM
whatanimaldoyoulift.herokuapp.com
user image
2
Completely related to the link above. :)
 
6:05 PM
@PauloCereda Ostriches are easy compared to cricket bat wielding ducks.
 
@DavidCarlisle ooh
@DavidCarlisle I have a new duck, wanna see it?
 
@PauloCereda no
 
@DavidCarlisle oh
 
6:23 PM
Microsoft had some weird ideas back then...
 
6:39 PM
@PauloCereda Compared to their other ones, I'd say this was one of their better ideas :)
 
@samcarter Das Butterfly
Schmetterling
Holy cow
 
6:55 PM
@PauloCereda great word, isn't it?
Merry Christmas everyone!
 
@Skillmon German is too complicated :)
@Skillmon Merry Christmas, mr. rabbit!
 
@PauloCereda Portuguese is.
 
@Skillmon it is indeed!
 
But it's weird that 200 million speak Brazilian Portuguese and only 20 million speak European Portuguese.
 
@PauloCereda Todas as línguas são fáceis, dadas as ferramentas certas.
 
6:59 PM
@DavidCarlisle ooh
 
Which also makes me think which variety I should learn if I want to learn Portuguese.
 
@JasperLoy well, I feel a bit embarassed when the variant is more used than the "mother" language. :)
 
@PauloCereda look at English?
 
@PauloCereda Verpassen Sie einfach alle Leerzeichen und setzen Sie das Verb an einen unerwarteten Ort.
 
That's the reason TeX Live introduced regional codes. When I provided PT-BR messages, I kindly asked to be shown as "Brazilian Portuguese" and not "Portuguese".
@Skillmon :)
 
7:01 PM
@DavidCarlisle It appears that you are R2D2. =)
2
@PauloCereda Is it effortless for you to understand European Portuguese?
 
@JasperLoy I had no trouble at all, to be honest when in Portugal. But some words and verbs are a bit different.
 
Checking many language learning resources, more series have Brazilian Portuguese than European Portuguese books.
 
@DavidCarlisle In German there are only 2 places where the verb can be and that depend on whether it's a main sentence or something else, so it is always logical where the verb is put.
 
@JasperLoy I think either choice is good.
 
@Skillmon the only logical position is to write the sentence in English then translate word by word, keeping the same structure, and that apparently is the wrong thing to do:-)
 
7:06 PM
@DavidCarlisle :) That's because in English the rules on where to put the verb are much less strict.
@DavidCarlisle In German it's always the second structural object for a main sentence and else the last thing.
 
After using English all my life, I am still not sure if something is grammatical or not. English is very hard.
 
@JasperLoy not on order of grammatical constructs in a sentence. Everything seems to work there.
 
@Skillmon possibly, I did alledgedly learn French and a bit of Latin at school but I've never had a single lesson in German, and speaking of Language variants, my main exposure to German has been in Austrial...
 
@JasperLoy because of that I often find headlines of newspapers misleading. You can never be sure who did things and to whom the things were done. And sometimes you're not even sure if there is a verb in that heading or not.
 
@PauloCereda Some language learning books differentiate between English and American English, but most don't.
 
7:10 PM
@DavidCarlisle grammatically I don't think we have differences, only the spelling differs slightly and they have words we don't and vice versa.
 
@Skillmon That is because the headlines are not meant to be complete sentences.
 
@JasperLoy In German it is ALWAYS completely clear who did what to whom, doesn't matter whether the headline is a complete sentence or not.
(forgot to spread out and underline that "always" to make it really stick out)
 
@Skillmon unfortunately though the words are so long you can't fit a headline on the paper at normal display sizes.
3
 
@Skillmon Do you speak anything other than German and English?
 
@JasperLoy Unfortunately not, I tried to learn some Japanese but had to stop due to my studies and time management. I can translate Latin to German a bit (I chose to learn Latin instead of French, because of personal dislike of the sound and feeling of French, back when I was in school). And I once learned a few sentences of Spanish, because my wife is fluent in it.
@JasperLoy but it's hard to learn a language from your wife :)
 
7:16 PM
@Skillmon Oh OK. I am very interested in language learning books, though I haven't really learnt any language. I only speak English and also Chinese.
 
@JasperLoy my brother once learned Chinese but I didn't get the hang of it, and liked the idea to learn Japanese more.
 
@PauloCereda Schöne Weihnachten, Paulo
 
@Kurt Und einen guten Rutsch?
 
@Skillmon I think Japanese is harder than Chinese, partly because it has two sets of characters and not just one. And there are also more Chinese language learning books than Japanese.
 
@JasperLoy I think it is very hard to learn it if you don't speak another tonal language.
 
7:19 PM
@Skillmon That is for sylvester :-)
 
@JasperLoy there is a unified learning book for Japanese by some Japanese society (forgot the name). And Japanese does use more than 2 scripts, unfortunately.
 
@Skillmon I think so too, because I watched a video of a Chinese language professor who is not a native speaker, and in the interview he messed up his tones as well.
 
@Kurt but since one wishes "Guten Rutsch" in advance I thought it'd fit here.
@JasperLoy Japanese does use Hiragana, Katakana, Kanji, and the Roman alphabet. Additionally there are several ways of writing numbers.
 
@Skillmon :-)
 
@JasperLoy numbers can consist of Kanji symbols and Arabic numbers, even in some mixed flavours.
 
8:03 PM
@JosephWright LOL, this is really funny.
 
8:16 PM
@JasperLoy: I am waiting for your next video.
 
Hey guyss!
How can I reproduce the following graph?:
I tried with:
 
@manooooh Place the two tikzpictures immediately after one another with an \hspace{2cm} or something between.
 
@TorbjørnT. thanks! But the and is moved down :(
I tried with tabular and center but it is the same (also I have to use more than one column to separate them because the space is tiny)
 
@manooooh You probably need \begin{tikzpicture}[baseline=<some distance>].
@manooooh Assuming I understood what you meant.
 
How do you create and go through a list of tuples in Latex? I mean, of the kind [(Name, Job, Age), ...]. The simplest way I thought would be to add three arguments, \foobar{Names}{Jobs}{Ages}, and them loop them together. Is there a more latexian way?
I'm a bit lost, sorry for asking this here. I'm just looking for pointers
I found these two:
15
Q: Does LaTeX have an array data structure?

RastoAre there arrays in LaTeX? I don't mean the way to typeset arrays. I mean arrays as the data structure in LaTeX/TeX as a "programming language". I need to store a number of vbox-es or hbox-es in an array. It may be something like "an array of macros". More details: I have an environment that sh...

9
Q: Any way to bundle some variables in an OOP-like object in LaTeX?

ComboCosmoI would very much like to have one object encapsulate a bunch of data, and then pass that object to a function. For example, a figure might have an URL to a file, a caption, and a width. In Python, one would write: class Figure(): url = 'path/to/file.pdf' caption = 'This is a figure.' ...

 
8:30 PM
@manooooh See for example tex.stackexchange.com/questions/75194
 
@TorbjørnT. but there has one tikzpicture, here we have two of them. Do you mean that I have to add the parameters to both tikzpicture?
 
@manooooh I'd think so, but I don't know exactly what you did of course.
 
@TorbjørnT. thank you for your help. Let me create an MWE
@TorbjørnT. oh I put the code into both tikzpicture and it worked, thanks!!
 
@manooooh You're welcome.
 
@Yamaneko \foreach \a/\b/\c in {a/b/c, d/e/f} {Name: \a, Job: \b, Age: \c} with pgf's for loop.
 
8:42 PM
@TeXnician Thank you! I'll look into it.
 
@TorbjørnT. look what I tried haha:
\documentclass{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[a4paper,margin=1in,footskip=0.25in]{geometry}

\usepackage{tikz}

\begin{document}

%-----------------------

After:

\begin{center}
\begin{tikzpicture}
\node[align=center] at (0,0) (tp) {tikzpicture\\tikzpicture};
\end{tikzpicture}
\hfil and\hfil
\begin{tikzpicture}
\node[align=center] at (0,0) (tp) {tikzpicture\\tikzpicture};
\end{tikzpicture}
\end{center}

%-----------------------
 
9:14 PM
@Yamaneko Could be done with LaTeX3 (expl3). Or just a couple of macros with specially formatted names (like \csname foo@age\endcsname). Multiple ways to implement it. Or, for an overkill implementation, take a look at texdoc lambda-lists.pdf (run in console with TeXLive).
 
9:41 PM
@TorbjørnT. I apologize for coming back with this, but now I need to space two mathematical expressions:
I am trying with:
\[\begin{array}{ccc}
\begin{array}{|c|c|c|c|c|c|c|}
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
\end{array}
&\text{and}&
\begin{array}{|c|c|c|c|c|c|c|}
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
&a&a&a&a&a&a\\
\hline
\end{array}
\end{array}\]
NEVER MIND, added \hspace{2cm}
 
user image
4
my first notable palindrome
 
10:50 PM
Hello. Could someone answer, If \setcounter{cntShader}{1} is inside a loop, then each time the loop 'updates' the countShader changes to 2? Or remains 1?
 
@Michelle It depends on how you code the loop.
 
@egreg Like this `foreach \y in {86,38,15}{
\setcounter{cntShader}{1}`
 
@Michelle If you always do \setcounter{cntShader}{1}, then its value is 1 in each cycle. And you could omit setting the counter.
 
@egreg ok
 
11:06 PM
@manooooh There's no need for the outer array.
 
11:18 PM
@egreg If one defines \newcounter{cntShader} and then needs to use cntShader as a number, one can write \thecntShader ?
why the word 'the' is added?
Is equivalent \thecntShader and \cntShader?
 
@Michelle did you mean to ask about \stepcounter rather than \setcounter clearly if you repeatedly set a counter to 1 then it will be 1 not 2. \stepcounter increments the value by 1.
 
@Michelle cntShader should be considered an “abstract number”, which is independent of its representation (just like four is 4 in base ten, 100 in base two or IV in Roman numerals); \thecntShader is the current representation of that abstract value (by default decimal).
 
@egreg right
 
@DavidCarlisle nop, I meant \setcounter.
 
@Michelle well then \setcounter{zzz}{1} sets zzz to 1 whether or not it is in a loop.
 
11:32 PM
@egreg "abstract number" would be four and their representation would be 4,100,etc?
@DavidCarlisle ok
 
@Michelle yes although binary not available by default but if you have\renewcommand\thecntShader{\Alph{cntShader }} then \thecntShader will be D if the value of the counter is 4
, or commonly for sections \thsesection is defined to be \thechapter.\arabic{section} so if the value of the section counter is 2 then \thesection may be 3.2 if the current chapter is 3,
 
@DavidCarlisle ok thank you
@DavidCarlisle Could you explain what is this piece of code doing \foreach \y in {86,38,15}{
\setcounter{cntShader}{1}
\coordinate (a) at (0,0);
\coordinate (b) at (0:1);
\foreach \x in {1,...,\y}{%
\coordinate (c) at ($ (b)!1cm!270:(a) $);
\begin{pgfonlayer}{background}
\draw[fill=\couleur!\thecntShader] (a)--(b)--(c)--cycle;
\end{pgfonlayer}
\setcounter{cntRoot}{\x}
\addtocounter{cntRoot}{1}
\node[fill=white,draw,circle,inner sep=1pt] at (c)
{$\sqrt{\thecntRoot}$};
\coordinate (b) at (c);
\pgfmathsetcounter{cntShader}{\thecntShader+4}
the complete code forms an helix
 
11:48 PM
@Michelle not really, tikz isn't my strongest area, although even if it works it looks wrong as it's asuming \thecntShader is a number that can be used in arithmetic (which may work in some cases but logically it is the wrong thing to do)
 
:( Ok
 
@Michelle but you have a loop over three y values, in each you initialise the counter to 1 then have an inner loop on x from 1 to y where you increment the counter in steps of 4. The final \setcounter{cntShader}{\thecntShader} probably does nothing useful at all
 

« first day (2978 days earlier)      last day (1956 days later) »