I am currently trying to create a freehand style as seen in technical drawings:  (see the thin line to the right of the shaded part) This is what I have so far: \documentclass{article} % https://tex.stackexchange.com/questions/586063/reusing-decorated-path  \usepackage{tikz} \usetikzlibrary{decorations, decorations.pathmorphing}  \tikzstyle{freehand}=[decoration = {random steps, amplitude = 10}]  \begin{document} \begin{tikzpicture}     \draw[thick] (0, 0) rectangle (6, 3);     \draw[thin, freehand, decorate] (3, 0) -- (3, 3);     \fill[red, opacity = .5] (0, 0) -- (3, 0) decorate [freehand] { -- (3, 3)} -- (0, 3); \end{tikzpicture} \end{document}  This somewhat does what I want:  However, the line and the background don't match. I think I can fix this through either  setting a random seed to the same value for both parts use filldraw from the beginning name the random path &amp; reuse it for the fill command  I couldn't find any way to do 1. 2 I don't like because there could be situations where I want to fill both sides of the lines. So my question is, how do I save a morphed path to reuse it later? Thanks in advance.
I'm creating a beamer presentation, in which I use TikZ.  I am making a figure, on which I would like to highlight something (using \only&lt;&gt; command). My figure contains an ellipse that is decorated with random steps:  ... \node[ellipse,minimum width=1cm,black!30,decorate,decoration={random steps,segment length=0.2cm,amplitude=.1cm}] {};  \only&lt;1&gt;{ \node (n) at (0,0) {A}; } \only&lt;2&gt;{ \node (n) at (0,0) {B}; }   The ellipse is rendered in differenlty. How can I make it to render the same? or what other decoration can I use to get a similar effect to random steps?
Gravity in 2d space and inverse linear law In our three-dimensional universe, gravity obeys the inverse square law. In a four-dimensional universe, gravity would be expected to obey the inverse cube law et cetera.  In a two-dimensional universe, one would similarly expect gravity to obey an inverse linear law. I've seen it claimed that this is not actually true, when you work it out according to general relativity there would actually be no gravity at all in such a universe. Is this true? If so, is there a layman's explanation of why? Is it related to the fact that gravitational potential wells would be infinitely deep?  Would electrostatic forces follow the same law as gravity?  If there existed infinitely long strings in our universe, would they have the same gravitational effect as point particles in a 2d universe? In the 90's I read a book about two children (I think they were siblings, boy and girl) who climbed a tree. At the end they found a door to another world. After some time the (fantasy) worlds switched to another one. Once they got stuck in a world, because the world went on traveling and therefore the door couldn't be reached anymore. They met many curious individuals during their adventures.  It's a completed novel for kids. I've read it in German, but I can't remember if the author was a German one, so it might've been available in English as well. It was a fairly thick book.  EDIT: After some thought I remember a pancake kind of person Security importance of Key Schedule in Block Cipher YA dystopia novel of battle school with unusual military control scheme Some sort of battle school (no, not Ender's Game), where teens are being trained as military commanders.   The control system for their army hinges around some sort of system that requires extremely fine motor control -- being able to "push" around digital representations of military units using a special interface that interprets minute finger movements.  The boy protagonist eventually meets a girl in the battle school, and is astonished to learn that most people do not live as well as he does -- for instance, he gets a fresh jumpsuit outfit every day and disposes of the old one; this is a luxury.  One scene I recall is them kissing for a moment in some sort of underground passageway; the boy protagonist notes the exact length of the kiss, as he has been trained to have heightened time perception.  I don't recall much about other commander characters; I think they have different special abilities, and one other major character might have physical deformities, possibly because of postwar-radiation-related birth defects.  They have been training for an upcoming, prearranged final battle between all the existing national governments; the military units are very possibly robotic or entirely digital in nature, so as to avoid wasting materiel / human life.    They ultimately win the battle, just barely; I think the girl protagonist gives them an edge in the competition by hacking the timing / control system in favor of their team, causing a discrepancy which only the boy protagonist notices due to his heightened perceptions.  It was agreed that the winning government gets dominion over one of the few islands of land left that was not irradiated in some previous war; the protagonists get to live there as a reward for their victory.  I believe the boy protagonist later realizes he's gradually losing his ability to exactly quantify the passage of time.  Published no later than 2004, likely somewhere between 1980-2000, probably sometime in the '90s. Uncountable subset with uncountable complement, without the Axiom of Choice Let $X$ be a set and consider the collection $\mathcal{A}(X)$ of countable or cocountable subsets of $X$, that is, $E \in \mathcal{A}(X)$ if $E$ is countable or $X-E$ is countable. If $X$ is countable, then $\mathcal{A}(X)$ coincides with the power set $\mathcal{P}(X)$ of $X$. Now suppose that $X$ is uncountable. Assuming the axiom of choice, we can conclude that $\mathcal{A}(X) \ne \mathcal{P}(X)$, since $|X| = |X| + |X|$. So the question is:     Can we prove in ZF that $\mathcal{A}(X) \ne \mathcal{P}(X)$ for every uncountable set $X$?   I'm assuming that a set $X$ is uncountable if there is no injective function $f : X \rightarrow \mathbb{N}$. I'm writing a tool to report information about .NET applications deployed across environments and regions within my client's systems.  I'd like to read the values of assembly attributes in these assemblies.  This can be achieved using Assembly.ReflectionOnlyLoad, however even this approach keeps the assembly loaded.  The issue here is that I cannot load two assemblies that have the same name from different paths, so naturally I can't compare the same application deployed in different systems.  At this point I'm assuming the solution will involve using temporary AppDomains.  Can someone detail how to load an assembly into another AppDomain, read the attributes from it and then unload the AppDomain?  This needs to work for assemblies on the file system as well as those at URL addresses. MySQL Insert query doesn't work with WHERE clause Indian passport holder. Do I need transit visa in Sydney? Is a semigroup with unique right identity and left inverse a group? why would curl and wget result in a 403 forbidden? I understand if I boot from a live cd  I can see all the system logs under System > Administration > File Log Viewer   I have a major error with a disk not mounting and I want to trace i tback to the last time it did work and what may have corrupted the ext4 filesystem on it.  So within the File Log Viewer Where do I start examining? error tex capacity exceeded log files added How do I upgrade to a newer version of Ubuntu? What are the different ways I can use to upgrade Ubuntu from one release to another? Converting a short cage rear derailleur to a long cage derailleur Is it possible to convert a short cage rear derailleur (for example the Huret Svelto) to a long cage derailleur by just taking the lower cage and replacing it by a longer one? In my cssh config file, I have:  terminal_font=6x13   this default font is too small for me.   man cssh says, I can specify other font size with the -f argument, while using "standard X font notation".  is a wikipedia page containing some other fonts types. Unfortunately, none of these work for me:  $ cssh host1 host2 -f "7x14" Fatal: Unrecognised font used (7x14). Please amend $HOME/.clusterssh/config with a valid font (see man page).   Why does "7x14" not work?  How can I use bigger fonts with cssh ? In Windows Vista, I have tried to set the setting 'the following number of lines at a time' to zero. I assumed my scroll wheel would not scroll anymore. But it still works.  I'm trying to disable the wheel because my RSI complaints worsen when using the scroll wheel often.  Does anyone have an idea on how to achieve this? I have a header file  x.h which is included by more than one *.c source files. This header file has some structure variables defined.  I have put multiple inclusion prevention guard at the beginning of the header file as:  #ifndef X_H #define X_H ... .. //header file declarations and definitons.   #endif//X_H   On building I get linker errors related to multiple definitions. I understand the problem.   Won't a multiple inclusion prevention guard at the top of header file as I have, prevent multiple inclusions of the header file x.h and thereby avoid multiple definitions of the variables that are there in x.h? #pragma once does not work on this particular compiler, so what is the solution?  Someone had posted  answer to a similar question. It doesn't seem to work for me. How does this solution work? Usage of __slots__? What is the purpose of  in Python — especially with respect to when I would want to use it, and when not? Setting print layout to portrait using QGIS 3? How to prove Fibonacci sequence with matrices?