The following code is not compiled.  I got it out of the manual.  Please tell me what is wrong with it. Also, please tell me where in the manual the options in the command node(b)[circle, draw]{A circle}; are explained.  \documentclass{amsart} \usepackage{tikz} \usetikzlibrary{calc,angles,positioning,intersections,quotes,decorations.markings}   \usepackage{pgfplots} \pgfplotsset{compat=1.11}   \begin{document}  \begin{tikzpicture}  \path (0,0) node(a)[ellipse, rotate=10, draw]{An ellipse} (3,-1) node(b)[circle, draw]{A circle}; \draw[thick](node cs:name=a) -- (node cs:name=b); \end{tikzpicture}   \end{document}
I'm working on a mac, I use the package TikZ and it works. But I have problems when I want use ellipse or diamond ex :  \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[ellipse] {Ellipse}; \end{tikzpicture} \end{document}   If somebody could help me thank you !
CreateService get error: ERROR_INVALID_ADDRESS (0x000001e7) How to create an index map of atlas features in QGIS 3? I realise that this question has been asked before (), however I am still unable to figure out how to create an index map of atlas features in the QGIS map composer.  Basically, I have a line and I have five atlas maps showing the extent of the line, and to show where which map corresponds to the line a I need five overviews on a map with numbers on them, which will look similar to below:    I've created five overviews, but as all of these must be set to correspond to the main map frame, all of them show the overview for which ever atlas feature is selected at the time, rather than appearing as separate index tiles.  Can anyone tell me where I am going wrong? Chance of selecting the last k pages in correct order from a set of n pages I have a set of documents numbered 1 to n. If I arrange the documents randomly, what is the chance of selecting the last k pages in the correct order if I select them at random from the documents?   Because order is important, I use the following formula:  $\displaystyle\frac{n!}{(n-k)!}$  From this I calculate how many ways there are to select k pages from n pages in the correct order. I need to have the last k pages. Which I can do in only one way. So is the chance   1/$\displaystyle\frac{n!}{(n-k)!}$?   It seems unlikely. It seems to me spontaneously that the chance should be smaller. How to remove blank lines from a file (including tab and spaces)? I want to remove all empty lines from a file. Even if the line contains spaces or tabs it should also be removed. I'm trying to amass a list of physics books with open-source licenses, like Creative Commons, GPL, etc. The books can be about a particular field in physics or about physics  in general.  What are some freely available great physics books on the Internet? edit: I'm aware that there are tons of freely available lecture notes online. Still, it'd be nice to be able to know the best available free resources around.  As a starter:         Table of contents sorted by field (in alphabetical order): Why define an anonymous function and pass it jQuery as the argument? $n!+1$ being a perfect square Is there any gold standard for modeling irregularly spaced time series? How do I get an up/parent button in Nautilus, without using breadcrumbs? Solving the matrix equation $AP=PB$, where $A$ and $B$ are similar Currently I'm stuck with this problem:     The following matrices are similar to each other.      $$A=\begin{bmatrix}-3&amp;0\\8&amp;4\end{bmatrix},\qquad B=\begin{bmatrix}-4&amp;4\\-2&amp;5\end{bmatrix},\qquad C=\begin{bmatrix}k&amp;1\\m&amp;-2\end{bmatrix}.$$      How do you find the matrix $P$ such that $AP = PB$?       And how can you calculate the values of $k$ and $m$?      Thank you in advance. We all know that a simple statement such as:  SELECT * FROM stuff;   should not produce an ordered result. However, when I try to demonstrate this, it always comes out in primary key order.  Moreover a statement such as:  SELECT thing,whatever FROM stuff GROUP BY thing,whatever;   always appears to sort thing by the last field in the GROUP BY clause, which is not at all helpful.  The question is, under what circumstances does SQL SERVER order the result even if unasked, and what can I do to stop this?  I am trying to demonstrate to my students that order is indeterminate unless specified, but this is not helping my case.  I admit that I am working with a small set of sample data.  Thanks How to decompose a unitary transform into two-level unitary matrices? I know that there is a precise solution of the equations:  \begin{align}     x + a &amp; = 0 \\     x^2 + a\cdot x + b &amp; = 0 \\     x^3 + a\cdot x^2 + b\cdot x + c &amp; = 0 \\     x^4 + a\cdot x^3 + b\cdot x^2 + c\cdot x + d &amp; = 0 \end{align}  Why there is no solutions for equation of degree $\ge 5$? What is $\sum_{n=1}^{\infty} \frac{n}{2^{\sqrt{n}}}$? How to prove that $\lim_{n\rightarrow \infty}\frac {n^{2}}{2^{n}}=0$ & $\lim_{n\rightarrow \infty}\frac {n^{2}}{n!}=0$? In "Seeing like a state" of James C.Scott there is a sentence at the beginning of a paragraph (Acknowledgements xi):     There are a good many scholars whose writings opened up new   perspectives for me or provided outstanding analyses of issues that I   could not have hoped to study so comprehensively on my own.   What worries me is a good many scholars. Is this some type of inversion or ancient English? Is this grammatically right? Why is a here? I thought that appropriate version would be There are many good scholars. Am I wrong? Click to hide in the Hero content is not aligned correctly for the non joined communities The "Click to hide" icon in the hero content (welcoming message) for the non joined communities are not aligned correctly for most of the private beta and some other communities.  A few examples are:        Can the icon be aligned to the right hand side with correct padding? I am looking for help to point me out at a very old novel (likely from the '60s) about two empires at interstellar war. When it comes to starships, one is technologically very advanced, and the other has very low and inefficient technology.  The highly advanced empire has apparently strong chances to win the war, in particular considering a new technology they were developing. I remember the technology to work like this: consider the space as a flat surface, and on this surface, a disk around the spaceship. When the technology was turned on, this disk was stretched out, as made of rubber, so that it produced a cone, with the tip being the spaceship. The spaceship was therefore teleported 10 parsec away (if I remember correctly), but retained all the connections to the original position. If the spaceship moved, the cone moved as well. This allowed to move in position among enemy ships completely unnoticed, by stretching while afar, then moving in the proper position 10 parsecs away, then destretching.  Despite this technology, the empire lost the war because of delays. It's a perfect example of how having a disruptive technology does not guarantee to win against the competitors.  I am trying to find out the author and name of this novel, hopefully with the date of publication and in which journal/magazine. I'm trying to compute the shadow of 3D objects on the ground. To do this I'm assuming parallel rays from Sun origin.   Let's assume the Sun direction is given by azimuth $\varphi$ and elevation $\theta$ angles. So the direction unit vector is retrieved as:  $$ \hat{\mathbf{s}} = \mathbf{R}_y\left(\theta\right)\mathbf{R}_z\left(\varphi\right)\hat{\boldsymbol{\imath}}$$  where $\mathbf{R}_{x/y/z}$ are the rotation matrices along the $x, y, z$ axes given by, for example, Euler-Rodrigues equation, and $\hat{\boldsymbol{\imath}}$ is the unit vector along $x$-axis.  A point on a ray-line has the equation:  \begin{equation} \mathbf{r} = \mathbf{r}_p + \lambda\hat{\mathbf{s}}  \tag{1} \end{equation}  being $\mathbf{r}_p$ a point on that line.  A point on a general plane is given by the equation:  \begin{equation} \left(\mathbf{r} - \mathbf{r_0}\right)\cdot \hat{\mathbf{n}} = 0 \tag{2} \end{equation}  being $\mathbf{r}_0$ a point on the plane and $\hat{\mathbf{n}}$ the unit vector normal to that plane.   Ensuring the validity of both equations (1) and (2) allows to compute the $\lambda$ multiplier and retrieve the position vector of the projected point (writing $\tilde{\mathbf{r}} = \mathbf{r_p} - \mathbf{r_o}$)  \begin{gather} \lambda = - \left(\frac{\tilde{\mathbf{r}}\cdot \hat{\mathbf{n}}} {\hat{\mathbf{s}}\cdot\hat{\mathbf{n}}}\right) \\ \mathbf{r}_\text{proj} = \mathbf{r}_p - \left(\frac{\tilde{\mathbf{r}}\cdot \hat{\mathbf{n}}} {\hat{\mathbf{s}}\cdot\hat{\mathbf{n}}}\right)\hat{\mathbf{s}} \tag{3} \end{gather}  Applying eq. (3) to all the vertices of a mesh $\left\{\mathbf{r}_{p_i}\right\}$ .   A problem can be noted: $\hat{\mathbf{s}}\cdot \hat{\mathbf{n}}$ can be zero (e.g. Sun is horizontal, i.e. the ray is ortogonal to the normal of plane).   Are there some conceptual mistakes in my reasoning? Is there a way to rewrite the operation as a linear operator applied to the set of vertices position vectors?   $$ \left[\mathbf{A}\right]\left\{\mathbf{r}_{p_i}\right\} = \mathbf{r}_\text{proj}$$ Make OS X Terminal commands I type BOLD I'd like to make commands I've typed (input) into terminal stand out from all the output.   For example:  imac:~ buster$ chmod -R g-w myfolder  imac:~ buster$ cd myfolder imac:myfolder buster$ ls -l total 0 drwxr-xr-x   9 root  admin   306 Apr 20  2010 bin drwxr-xr-x   7 root  admin   238 Apr 20  2010 include drwxr-xr-x  73 root  admin  2482 May 18 17:16 lib drwxr-xr-x   6 root  admin   204 Apr 20  2010 man imac:myfolder buster$ echo Go Giants! Go Giants!  bold jumps to mind but I'd accept a color or even highlighting the whole line...   I'm sure there's a way to do this but it's not obvious to me...  thanks!