Get custom css property with js
Can I fetch the value of a non-standard CSS property via Javascript?
How to add line break to caption without using caption package I wish to add a line break to a caption, but I would wish to avoid adding of caption package. Is it possible?  \documentclass{article} \usepackage[format=plain,  justification=raggedright,singlelinecheck=false]{caption} \begin{document} \begin{figure} \caption{This is the caption\\ This is the second line} \end{figure} \end{document} How to prepare data for ListVectorPlot[]? Earlier this year, I read a huge (1000+ pg) novel about a cloistered group of monks that sort of worshiped math. The story involved alternate dimensions or time travel or something. A big thing in the book was coordinates, containing data like for speed or something as an alternate axis. There were several rings of the monastery.   At some point the main character was called out of his monastery to never return. I'm hoping to figure out the name so I can discuss it with my book club. Controlling the value of 'this' in a jQuery event I have created a 'control' using jQuery and used jQuery.extend to assist in making it as OO as possible.  During the initialisation of my control I wire up various click events like so  jQuery('#available input',              this.controlDiv).bind('click', this, this.availableCategoryClick);   Notice that I am pasing 'this' as the data argument in the bind method. I do this so that I can get at data attached to the control instance rather from the element that fires the click event.   This works perfectly, however i suspect there is a better way  Having used Prototype in the past, I remember a bind syntax that allowed you to control what the value of 'this' was in the event.  What is the jQuery way? Is  "choose from one of four options" wrong? I need backup in pressing my case that the phrase “choose from one of four options” is grammatically incorrect. Is there some resource that can prove my case, that the incorrect phrase should be replaced with one of the two following ones?        Choose one of four options   Choose from four options In C# how do I get the list of local computer names like what one gets viewing the Network in windows explorer Does anybody of a way to access files and directories that have a % in their name (which is valid) from the command-line? Specifically, if there are two %’s and the text between them happens to correspond to an environment variable.  For example, if there is a file called C:\blah\%temp%.txt or a folder called C:\Program Files\%temp%\, none of the following will work because the variable gets expanded:  &gt; dir "c:\blah\%temp%.txt" &gt; dir "c:\blah\^%temp^%.txt" &gt; dir "c:\blah\%%temp%%.txt" &gt; dir "c:\blah\\%temp\%.txt"  &gt; dir "c:\program files\%temp%" &gt; dir "c:\program files\^%temp^%" &gt; dir "c:\program files\%%temp%%" &gt; dir "c:\program files\\%temp\%"    Using wildcards will work, but does not uniquely select the file/folder and may include others:  &gt; dir "c:\blah\?temp?.txt"        (also shows ztempz.temp, 1tempa.txt, etc.) &gt; dir "c:\program files\?temp?"   (likewise)    (This is frustrating because every now and then—usually when Explorer is restarted for whatever reason—the environment variables stop expanding and some places where they are used end up creating files or directories with the environment variable in it. For example, because I configured Chromium to store its cache in a subdirectory of %temp%, if the variable expands, it is fine, but when it doesn’t, Chromium creates a directory called %temp% under its own directory and stores the cache—which can get large—there. I want to add a line to my temp-/junk-file cleaning script to automatically delete that folder if it exists, but I cannot figure out how to access it from the command-line without resorting to wildcards.) biblatex ieee style same authors Is “all women who are mothers of daughters” right? Is the expression      All women who are mothers of daughters are here.   correct? I mean every woman who has at least one daughter is here. I am thinking of buying a digital SLR camera. What things should I be looking for? I'll be generous and say it might be reasonable to assume that nature would tend to minimize, or maybe even maximize, the integral over time of $T-V$.  Okay, fine.  You write down the action functional, require that it be a minimum (or maximum), and arrive at the Euler-Lagrange equations.  Great.  But now you want these Euler-Lagrange equations to not just be derivable from the Principle of Least Action, but you want it to be equivalent to the Principle of Least Action.  After thinking about it for awhile, you realize that this implies that the Principle of Least Action isn't really the Principle of Least Action at all:  it's the "Principle of Stationary Action".  Maybe this is just me, but as generous as I may be, I will not grant you that it is "natural" to assume that nature tends to choose the path that is stationary point of the action functional.  Not to mention, it isn't even obvious that there is such a path, or if there is one, that it is unique.  But the problems don't stop there.  Even if you grant the "Principle of Stationary Action" as fundamentally and universally true, you realize that not all the equations of motions that you would like to have are derivable from this if you restrict yourself to a Lagrangian of the form $T-V$.  As far as I can tell, from here it's a matter of playing around until you get a Lagrangian that produces the equations of motion you want.  From my (perhaps naive point of view), there is nothing at all particularly natural (although I will admit, it is quite useful) about the formulation of classical mechanics this way.  Of course, this wouldn't be such a big deal if these classical ideas stayed with the classical physics, but these ideas are absolutely fundamental to how we think about things as modern as quantum field theory.  Could someone please convince me that there is something natural about the choice of the Lagrangian formulation of classical mechanics (I don't mean in comparison with the Hamiltonian formulation; I mean period), and in fact, that it is so natural that we would not even dare abandon these ideas? How to solve "sudo: /etc/sudoers.d is world writable" Creating a node fitting the horizontal width of two other nodes I have the two PGF nodes foo and bar positioned in a row.  \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document}   \begin{tikzpicture}[node distance=0.2cm,mynode/.style={rectangle,draw}]     \node[mynode] (foo)                {foo};     \node[mynode] (bar) [right=of foo] {bar};   \end{tikzpicture} \end{document}   How can I create a third node below those two nodes with the width of foo, bar and the node distance between them? Is there a way to do this with the fit library or is this the wrong approach? Short story about aliens that are parts of a spaceship Why is $a^n - b^n$ divisible by $a-b$? I did some mathematical induction problems on divisibility   $9^n$ $-$ $2^n$ is divisible by 7. $4^n$ $-$ $1$ is divisible by 3. $9^n$ $-$ $4^n$ is divisible by 5.   Can these be generalized as $a^n$ $-$ $b^n$$ = (a-b)N$, where N is an integer? But why is $a^n$ $-$ $b^n$$ = (a-b)N$ ?  I also see that $6^n$ $- 5n + 4$ is divisible by $5$ which is $6-5+4$ and $7^n$$+3n + 8$ is divisible by $9$ which is $7+3+8=18=9\cdot2$.  Are they just a coincidence or is there a theory behind?  Is it about modular arithmetic? How many characters have appeared in both Marvel and DC comics? The  (the character from Guardians of the Galaxy) says that she has appeared in both Marvel comics as Mantis and DC comics as Willow because her creator "took her with him".     After leaving Marvel Comics, writer Steve Englehart carried Mantis' tale through two other companies before returning to Marvel. In DC Comics' Justice League of America #142, she appears as Willow. Asked where she came from, Willow replies, "This one has come from a place she must not name, to reach a place no man must know." (Mantis refers to herself as "this one").   Are there any other examples of a character appearing in both Marvel and DC comics?  Especially if it's because the original creator has switched companies but still wants to utilize the same character, even under a different name? Why can't Chromium suddenly access any partition except for /home? Toy Line (Production) Run I am not sure about the meaning of this:          Transformers: Generation 1 (also known as Generation One or G1) was a children's toy line that ran from 1984 to 1991 and was produced by Hasbro.     Would the following rewrite be better?        Transformers: Generation 1 (also known as Generation One or G1) was a children's toy line the production of which ran from 1984 to 1991 and was produced by Hasbro. Viewshed Analysis With GDAL I am looking to perform a simple (one observer location) viewshed analysis on a standard DEM using GDAL (either python or .NET bindings).  I have searched, but haven't found any readily available implementation.  Can anyone point me in the right direction? How do I turn a String into a InputStreamReader in java? How can I transform a String value into an InputStreamReader?