You can add this to you project as bower package using a git endpoint.
Alternatively, add any files in the tex directory
that begin with an underscore to your project.
Once the files are available under your project root,
include the tex files with \input:
_packages.texshould be included in your preamble._headand_nonlocal_spin_valve.texshould be included wherever you want to include the picture as follows:
\input{_head}
\begin{tikzpicture}
\input{_nonlocal_spin_valve}
\end{tikzpicture}If you have Ruby with Bundler, install the needed gems with
$ bundleTo build all targets,
$ rakeOutput files will be saved in the build directory.
To see other rake tasks,
$ rake -DYou can run
$ guardwhich will automatically rebuild on changes.
By default, this method will use
latexmk with xelatex.
To build the tex source,
$ cd tex
$ latexmk -xelatex nonlocal_spin_valve.texYou can substitute -xelatex with -pdf to use pdfLaTeX.
Alternatively, compile nonlocal_spin_valve.tex using your preferred method.
Nonlocal Spin Valve in TikZ by Evan Sosenko is licensed under a Creative Commons Attribution 4.0 International License.
This work is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.

