Browse Source

scalar with simpler method

main
parent
commit
5a5c0e472e
  1. BIN
      scalar_logics/figures/scalar.pdf
  2. 61
      scalar_logics/figures/scalar.pdf_tex
  3. BIN
      scalar_logics/scalar-logic.pdf
  4. 28
      scalar_logics/scalar-logic.tex
  5. BIN
      scalar_logics/scalar.pdf
  6. 0
      scalar_logics/scalar.svg

BIN
scalar_logics/figures/scalar.pdf

61
scalar_logics/figures/scalar.pdf_tex

@ -1,61 +0,0 @@
%% Creator: Inkscape 1.0 (1.0+r73+1), www.inkscape.org
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
%% Accompanies image file 'scalar.pdf' (pdf, eps, ps)
%%
%% To include the image in your LaTeX document, write
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics{<filename>.pdf}
%% To scale the image, write
%% \def\svgwidth{<desired width>}
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics[width=<desired width>]{<filename>.pdf}
%%
%% Images with a different path to the parent latex file can
%% be accessed with the `import' package (which may need to be
%% installed) using
%% \usepackage{import}
%% in the preamble, and then including the image with
%% \import{<path to file>}{<filename>.pdf_tex}
%% Alternatively, one can specify
%% \graphicspath{{<path to file>/}}
%%
%% For more information, please see info/svg-inkscape on CTAN:
%% http://tug.ctan.org/tex-archive/info/svg-inkscape
%%
\begingroup%
\makeatletter%
\providecommand\color[2][]{%
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%
\renewcommand\color[2][]{}%
}%
\providecommand\transparent[1]{%
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%
\renewcommand\transparent[1]{}%
}%
\providecommand\rotatebox[2]{#2}%
\newcommand*\fsize{\dimexpr\f@size pt\relax}%
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{595.27559055bp}%
\ifx\svgscale\undefined%
\relax%
\else%
\setlength{\unitlength}{\unitlength * \real{\svgscale}}%
\fi%
\else%
\setlength{\unitlength}{\svgwidth}%
\fi%
\global\let\svgwidth\undefined%
\global\let\svgscale\undefined%
\makeatother%
\begin{picture}(1,1.41428571)%
\lineheight{1}%
\setlength\tabcolsep{0pt}%
\put(0,0){\includegraphics[width=\unitlength,page=1]{scalar.pdf}}%
\put(0.67756762,0.21836889){\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}Particle\end{tabular}}}}%
\put(0.72468872,0.42072122){\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}Body\end{tabular}}}}%
\put(0.76320416,0.59666566){\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}State\end{tabular}}}}%
\end{picture}%
\endgroup%

BIN
scalar_logics/scalar-logic.pdf

28
scalar_logics/scalar-logic.tex

@ -1,28 +1,16 @@
\documentclass{article}
\usepackage{import}
\usepackage{xifthen}
\usepackage{pdfpages}
\usepackage{transparent}
\usepackage{graphicx}
\usepackage{color}
\usepackage{geometry}
\geometry{a4paper, portrait, margin=0.5cm}
\geometry{a5paper, portrait}
\setlength\parindent{0pt}
\newcommand{\incfig}[1]{
\def\svgwidth{\columnwidth}
\import{./figures/}{#1.pdf_tex}
}
\begin{document}
\centering
\Large
\def\svgwidth{10cm}
\input{scalar.pdf_tex}
\begin{figure}[ht]
\centering
\incfig{scalar}
\caption{Loop: the scalar logic.}
\label{fig:scalar-logic}
\end{figure}
\end{document}
\end{document}

BIN
scalar_logics/scalar.pdf

0
scalar_logics/figures/scalar.svg → scalar_logics/scalar.svg

Loading…
Cancel
Save