Two types of footnotes, context sensitive
Make all footnotes numbered subsequently, but one with a symbol
Nothing shows up in the terminal when I type my password I'm using TikZ to plotting some functions for a document. For example, I want to plot 1/(x+1). So I did something like this:  \begin{tikzpicture}[&gt;=stealth,x=3mm,y=3mm] \draw (0,5) node[above]{\fimg $y=f(x+1)=\dfrac{1}{x+1}$}; \clip (-5,-5) rectangle (5,5); \ejes[1]{-4}{4}{-4}{4} \draw[samples=100] plot(\x,{1/(\x+1)}); \end{tikzpicture}   where \ejes[style]{xmin}{xmax}{ymin}{ymax} is command, that I have defined before to draw the axes (join with \fimg). My expected output for the code below was just the function, but I get this:    So, TikZ automagically put the vertical asymptote at x=-1. That isn't a bad thing, but now I want to have some control over it. For example I want dotted lines for vertical asymptotes. How can I do that? Possible Duplicate:          On Windows I am able to switch between keyboard layouts by pressing Alt+Shift. Is there a similar keyboard shortcut in Ubuntu? Does 'but for' mean:  'If we had X (but we didn't), Y would have been the consequence'?  Or can it also mean; because we had X, as a result Y happened?   Some different examples of but for:  (Case 1)     But for a cup coffee, it was to be a productive day of writing.   Unfortunately, I'd run out, and spent the day craving.    (Case 2)     But for the glass of wine I had dinner, the house work didn't get   done.   (Case 3)     But for the glass of wine I had for dinner, I would have got the   house work done   What is the correct usage of "but for"? In course of evolution (possibly), mammary glands became vestigial in male mammals, but became fully developed in females. Is there any plausible explanation for this characteristic? Alternate Row Coloring in Django Template with More Than One Set of Rows Django templates offer the builtin tag cycle for alternating between several values at different points in a template (or for loop in a template) but this tag does not reset when it is accessed in a scope outside of the cycles definition.  I.e., if you have two or more lists in your template, the rows of all of which you'd like to use some css definitions odd and even, the first row of a list will pick up where the last left off, not with a fresh iteration from the choices (odd and even)  E.g., in the following code, if the first blog has an odd number of entries, then the first entry in a second blog will start as even, when I want it to start at odd.  {% for blog in blogs %}   {% for entry in blog.entries %}     &lt;div class="{% cycle 'odd' 'even' %}" id="{{entry.id}}"&gt;       {{entry.text}}     &lt;/div&gt;   {% endfor %} {% endfor %}   I've tried obviating this by patching with the resetcycle tag offered here:    to no avail.  (The code didn't work for me.)  I've also tried moving my inner loop into a custom tag, but this also did not work, perhaps because the compile/render cycle moves the loop back into the outer loop?  (Regardless of why, it didn't work for me.)  How can I accomplish this simple task!?  I'd prefer not to create a data structure in my view with this information pre-compiled; that seems unnecessary.  Thanks in advance. A story where technology is forbidden, but used by priests I am looking for a story I remember reading in the mid-90s. I can't remember if it was a trilogy or just a three part book, but I know it was in paperback book form. I also know it was found in the Young Adult section of the library at that time.  The general premise was that there had been some sort of war in the past and machines were outlawed. People visited priests who used magic. I remember that the main character discovers that the priest aren't using magic but are actually using machines.  I can also remember the main character ends up leaving the nation he is in and ends up in a neighboring nation where machines are allowed. I remember there being a scene where he watches a "movie" which I think was more like an old fashioned moving picture.  For some reason I keep wanting to tie this whole thing back to a sword, or blue sword, or something like that, but I might be mixing stories. Other things I keep linking to it: the character was in training to be a priest, he was forced to leave, he ended up using the neighboring nation to conquer his homeland. Again, still not sure if I am mixing things but they keep popping up.  I do know that it is not The Blue Sword by Robin McKinley, or its prequel, The Hero and the Crown. Prove that $2730$ divides $n^{13} - n$ for all integers $n$. Prove that $2730$ divides $n^{13} - n$ for all integers $n$.   What I attempted is breaking $2730$ into $2, 3, 5$, and $7, 13$. Thus if I prove each prime factor divides by $n^{13} - n$ for all integers $n$, it will prove the original problem.   I already proved $2, 3$, and $5$ work. Struggling with how to do $91$?  Other solutions are welcome, but they should be associated with mod and solutions of this kind, because my answer should pertain to what was learned in class.  (Edit: Fixed the 91 problem, being slow today...In any case, I've got this problem now, so no answers are necessary. Posting my own soon.) Is it possible to create an  shader in Cycles? Specifically for something like , , , etc.. sys.dm_db_index_physical_stats is extremly slow I have a database that is around 4.5TB, since we have parallel inserts (to reduce daily load time) on one table (partitioned by month) the clustered index on this table tends to be heavily fragmented. When I do a select from sys.dm_db_index_physical_stats (Limited) on this table it takes ages (> 4-5 hours). Is there a faster and better way to check the fragmentation levels on the partitions of this table, the current time this takes is completely inacceptable. Why isn't my Minecraft LAN server working? My LAN server won't let my cousin join me or me join my cousin. It won't show up on the multiplayer screen - it keeps saying "scanning for LAN servers" but it never finds it. I am at his house and we use different computers but it won't connect. How can I fix this? Is there any simple method to calculate $\sqrt x$ without using logarithm Suppose that we don't know logarithm, then how we would able to calculate $\sqrt x$, where $x$ is a real number? More generally, is there any algorithm to calculate $\sqrt [ n ]{ x } $ without using logarithm? More simple techniques would be nice.  Here is a simple technique used to approximate square roots by :  For example: $\sqrt {78}\approx 8\frac { 14 }{ 17 } $ , where $8$ is the nearest integer root of $78$, $14 = 78 - 8^2$, $17 = 2 \times 8 + 1$.  if $n=2^k$ we can use the method above.   For example, for $k=2$ Lets calculate $\sqrt [ 4 ]{ 136 } $: $$\sqrt [ 4 ]{ 136 } =\sqrt { \sqrt { 136 }  } \approx \sqrt { 11\frac { 136-{ 11 }^{ 2 } }{ 11\times 2+1 }  } =\sqrt { 11\frac { 15 }{ 23 }  } \\ \sqrt { 11\frac { 15 }{ 23 }  } \approx 3\frac { 11\frac { 15 }{ 23 } -{ 3 }^{ 2 } }{ 3\times 2+1 } =\frac { 544 }{ 161 } =3.38\\$$ The exact result is$$ \sqrt [ 4 ]{ 136 } =3.4149\cdots$$ The method approximates well, but it is working for only $n=2^k$ as I know. Whenever I open a .sh file, it opens it in gedit instead of the terminal. I can't find any option similar to Right Click → Open With → Other Application... → Terminal.  How do I open this file in the terminal? I am using Blender to mix the video from my camera with the audio from my external recording setup.  It works great mostly and I am very pleased with it.  But the problem is that I can't start the audio recorder an even number of thirtieths of a second from when I started the camera.  And Blender seems to only let me move the audio track in the VSE by whole frames (1/30 of a second).  Here are a couple screenshots:   The track on top is the external audio and the one on the bottom is the camera's audio.  Between the two screenshots I have only moved the audio track by one frame.  But as you can see, I need to move it by about 1/2 frame to line up the audio properly with the video.  So can I move a track in the VSE by fractions of a frame? I have 2 partitions (Windows and Ubuntu 13.04) and I am asked which one to boot each time I turn on my computer.  I want to install Ubuntu 13.10 to the entire disk.  I do not mind if all previous Ubuntu/Win data are lost.  How can I do that? Repeatedly rolling a six sided die four times and summing the highest three results gives you a distribution with what mean and standard deviation? Repeatedly rolling a six sided die four times and summing the highest three results gives you a distribution with what mean and standard deviation?  I've only taken AP statistics, but I would like to learn how to do this. PCA on correlation or covariance? What are the main differences between performing principal component analysis (PCA) on the correlation matrix and on the covariance matrix? Do they give the same results? I just ordered the Nvidia GTX card. I have a dilemma, though. Should I keep using the driver which is available in "additional drivers" in Ubuntu, or should I install the driver from the Nvidia site?  So which driver is the best for me? This or That person How can two dates be compared in a shell?  Here is an example of how I would like to use this, though it does not work as-is:  todate=2013-07-18 cond=2013-07-15  if [ $todate -ge $cond ]; then     break fi                              How can I achieve the desired result?