Skip to content

evansosenko/tikz-nonlocal_spin_valve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nonlocal Spin Valve in TikZ

Release Creative Commons License

Nonlocal spin valve

Requirements

Including in a TeX document

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}

Building

With Ruby

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 la­texmk with xelatex.

Without Ruby

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.

License

Creative Commons License
Nonlocal Spin Valve in TikZ by Evan Sosenko is licensed under a Creative Commons Attribution 4.0 International License.

Warranty

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.