Closed till-m closed 2 years ago
Thank you for reporting this. Within groups, the frameless
attribute was applied via a normal style, not an argument. This did not get reset at all appropriate places.
Thank you for the quick fix!
On an unrelated sidenote, I was wondering if it was possible to make gates with dashed instead of solid borders?
Sure, just pass [dashed]
as an attribute to the gate (or any line dashing pattern that TikZ understands). You can use arbitrary TikZ styles, as shown in the manual examples (have a look for example at pages 122 and 123 in the current master version).
Or, if you want to apply it to all gates of a certain type, add it to the respective style of the gate (e.g. \begin{yquant}[operators/every h/.append style={dashed}]
, or even globally in the document by using \yquantset{operators/every h.....}
.
Describe the bug When using subcircuits in a
yquantgroup
environment, the borders of the subcircuit box don't render.To Reproduce
I also tried using a
dashed
style, which unfortunately doesn't seem to work either. Neither produces an error, it just won't render the borders.Expected output I would expect a solid-border subcircuit box around the two X gates.
Screenshots![image](https://user-images.githubusercontent.com/36440677/148796685-ca24effa-faec-415a-b1b8-e0a5df737e96.png)
Environment Compiled using PdfLaTeX with yquant 0.6 and tikz v3.1.8b.
Once again, thank you for the project @projekter!