* Circuit_macros Version 10.8, copyright (c) 2025 J. D. Aplevich under *
* the LaTeX Project Public Licence in file Licence.txt. The files of *
* this distribution may be redistributed or modified provided that this *
* copyright notice is included and provided that modifications are clearly *
* marked to distinguish them from this distribution. There is no warranty *
* whatsoever for these files. *
dnl `tikznode(tikz_node_name,[location],[string])
dnl Define a tikz node at location (default Here)
dnl Must be used in the outermost scope of a pic
dnl diagram, and .PS <number> scaling is not allowed
dnl (thanks to Arnold Knott).'
define(`tikznode',`command dnl
sprintf("\draw (%g,%g) node[inner sep=0pt, minimum size=0pt](`$1'){`$3'};",dnl
ifelse(`$2',,Here,`($2)').x/scale,ifelse(`$2',,Here,`($2)').y/scale)')