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.tex
should be included in your preamble._head
and_nonlocal_spin_valve.tex
should 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
$ bundle
To build all targets,
$ rake
Output files will be saved in the build
directory.
To see other rake tasks,
$ rake -D
You can run
$ guard
which 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.tex
You 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.