@CarLaTeX Up to −7 °C this morning. But the sky is clear, and it should get above freezing in the middle of the day. We're having a late spring this year, that's for sure. Which may lead to flooding later, since there is an unusual amount of snow in the mountains and delayed springs tend to happen faster.
@yo' They're both annoying. At my latitude, far north, it only makes a difference for a few weeks around the equinoxes. In summer, it's daylight most of the time anyhow, and in winter, it's dark most of the time. (And the abbreviation is annoying because there is no real standard for abbrevated time zones, and the S for summer is easily confused with the S for standard in the US time zones. We should relent and call it +0200 in summer, +0100 in winter.)
@CarLaTeX @PauloCereda had almost finished his thesis before you were here, and you have delayed him so much with ducks and other nonsense he still hasn't finished.
@LoopSpace Thanks for your suggestions. Converting to library sounds like a reasonable idea! Do you happen to know if there are any formal requirements for a tikzlibrary? I had a look at some of the existing ones and they seemed to be normal .tex files with a special name?
@LoopSpace As for your suggestion about \pic: At the moment I don't think my non-existing tikz knowledge is sufficient for such an endeavour. I have know idea how I would convert the duck into a pic. Maybe later when I have learned a bit more tikz - but I'll keep it in mind :)
@CarLaTeX :) Are you afraid someone post an answer "upvoted because the answer contains pineapple pizza"?
@samcarter there are some examples of pics in the christmas ducks. E.g. \tikzset{duckparrot/.pic={ and piratehat/.pic={. They are not very sophisticated as I cared only on "does it work" and not "is it good code" and "is it extensible".
I'm using LyX all the time and over the last 2 years I've accumulated some very handy macros for my lecture notes. As it is today, every time I start a new document, I copy and paste the macros from one of my other documents. Is it possible, somehow, to automatically load macros for all files?
(...
@UlrikeFischer You beat me by half a year. My first answer is from january 14 2011. But I still got a T-shirt! No, wait, they're not sorted by chronology. That was my least upvoted answer. Hang on …
@yo' Tom, it seems "straightforward", but I haven't checked the prices. Look for IGU as the airport code. The airport is a mere 10 kilometres from downtown.
@PauloCereda yeah, the plane tickets look reasonable. Given how far I go anyway, it's marginal and I wanna see the waterfalls (and possibly also the powerplant in Itaipú)
@UlrikeFischer I hate packages with aggressive self consistency checks:-) Package accsupp Warning: Wrong driver luatex', using pdftex' instead. why can't it just do what I say:-)
@CarLaTeX -- if never any dark, how do you ever sleep? (spent sime time in oslo one summer, and was awakened at 4 a.m. by the bright sun streaming in the window. too early!)
@AndreasStorvikStrauman -- there is a person who claims to be @DavidCarlisle who has attended several tug meetings. but whether it is the same @DavidCarlisle who posts comments here about pineapple pizza is a matter for conjecture.
@UlrikeFischer -- same here, and the badges are both silver. wonder how many years it takes to get a gold yearling badge?
@TeXnician this won't work with xelatex. @user55789 you should externalize the pictures and create a pdf for each one and include it with \includegraphics so that xelatex doesn't have to recompile them at a every compilation.
@DavidCarlisle -- you mean the one you sent yesterday? yes, i've got that one, and applied the changes to my copy (to which i'd already made some other changes) -- thanks! but if you meant a different one, haven't received it yet, and will have to go looking/asking ...
It works if you make sure that scriptsize math is set up before listings starts:
\documentclass{article}
\usepackage{unicode-math}
\usepackage{listings}
\lstset{basicstyle=\scriptsize}
\begin{document}
\sbox0{\scriptsize $x$}
\lstinputlisting{test.cpp}
\end{document}
Hi folks. I have a vague recollection that I once used a package to help me generate a letter to multiple recipients. However, I now cannot remember any details about it.
Does anyone have any ideas how I might track this down? There is probably a letter (or maybe) more in my archives which uses this technique, whatever it is.
I've got an eloquent email message I wrote to a friend in 1999 about my trial and travails with Word. It probably marked by true conversion to markup and away from word processors.
In schema diagram one attribute(foreign key) points another attribute of different table. I can point table to table, but not attribute to attribute.
You just modify my following MWE that give the following result. One arrow from dept_name of instructor to dept_name of department.
MWE(tak...
@LoopSpace Hi! Thanks for the nice offer! That would indeed be very helpful! I don't want to cause you too much trouble, so some starting point would probably be sufficient -- I should be able to convert all the other options myself (hopefully :), once I've seen some examples.
@UlrikeFischer Wow! I did not notice the helmet because it was too small in my browser, only saw something red :) They are really adventurous ducks!
@UlrikeFischer Did you see spiegel.de/gesundheit/schwangerschaft/… ? (caution - some of the images might contain graphic violence - not suitable for children)
@LoopSpace -- surely pdftex isn't required for this -- knuthian tex will do as well. so you should be able to save 6 characters by omitting the "pdf" twice. (to test, substituted "a" for the middle ~, launched it, and was greeted with a * prompt. responded \bye and got an output page with a single "a".)
@CarLaTeX guess we spammed that comments section a bit :) I'm not going to reopen the question. It'd be just another opinion to an opinion based question. And OP did already find KOMA. No reason to point him towards it.
@samcarter In order to test that everything's working, I'd like it to draw everything that can be drawn. So there are lots of hats, so I'd only want one of that, but then there's water, pizza, eyebrows, and so on. In effect, setting everything to true.
@LoopSpace Ah, now I understand. I don't have a single duck with everything - to test that everything is working I usually compile the documentation which includes every option (with only one exception of the Easter egg @UlrikeFischer discovered today)
@LoopSpace Shall I create a document with a duck for every option? (without all the clutter from the documentation?)
@samcarter Might not be a bad idea for "unit testing". No rush, though. I might put in a key that sets all conditionals to true.
@samcarter Current error: complaining about /duck/duck/water. Just shows that you can lead a duck to water, but you can't make it duck. (To be clear, this is an error in code that I've introduced, not your original code.)
Starting from the question, how do I find a bundle of parallel planes (equipotential surfaces) of the type $$\mathcal{F}: ax + by + cz + k = 0 $$ with $ k\in \mathbb{R}$, orthogonal to the uniform electric field starting from the equation $\overline E=-\overline \nabla V$?
The problem can be con...
We known that the potential generated by a charge pointwise $q$ is $V(r) = kq/r $ and the equipotential surfaces (in 3D) are spheres centered in the charge with $r\geq 0$ where $r=d(O,P)$, i.e. the distance between the origin and a generic point $P$.
In fact if we are in space, where an orthono...
@Skillmon not really, \par\ifnum\prevgraf > 1 yes\fi
@vlg both are easy but the answer is different:-) the other one is (assuming you know the font size) \ifdim\dimexpr\ht\somebox+\dp\somebox>\basllineskip
@DavidCarlisle and I'm again speechless. The second was easy as I'm used to testing the dimensions of boxes, but I didn't know about \prevgraf. What does it exactly do in which circumstances?
@LoopSpace No special reason for the lack of spaces, just feels strange to use them. Maybe this it me being German and we just love long words without spaces :)
@LoopSpace Ohhhh, looks very good! Thank you very much for all your help with the tikzducks!!!!!!!!!!!! I'll test and report back - though probably only tomorrow or so, as I'll be off for today.
I'll be travelling from Europe to Brazil (Rio). I would like to use this opportunity and see the Water Plant of Itaipu and the Waterfalls of Iguazú as a part of this visit.
Now, if it were in Europe or the US, I would fly to the nearest airport (in this case it's IGU) early in the morning, rent ...
@vlg no it's all on one horizontal list until you have a paragrah end. It's not like a word processor that adds one line at a time. Adding one word at the end can change all the linebreaks in the paragraph
@vlg well outside the box that tells you the size of the box, but if the box was \parbox{2cm}{\fontsize{2cm}{2cm}\selectfont ABC} then its size will be several baselineskip but it's only one line (but if you know a 2cm high font was used, you can still work out how many lines it is