Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureRequest: Support showing indices #10

Open
jasonf20 opened this issue Jul 13, 2018 · 4 comments
Open

FeatureRequest: Support showing indices #10

jasonf20 opened this issue Jul 13, 2018 · 4 comments

Comments

@jasonf20
Copy link

allowing printing the indices of the cells would be nice.

If you ever come back to this project and make improvements this could be cool

@abondis
Copy link

abondis commented Oct 2, 2019

I don't know if it would be of any use to anybody but I did this to add indices. I'm really new to LaTeX so I did with what I know ... I'm just dropping that here in case anybody in my situation wants something similar:
abondis@da0bf5e

@2pi 2pi removed this from the v2.0 milestone Dec 12, 2021
@2pi
Copy link
Owner

2pi commented Dec 12, 2021

I've tried a few versions of this. But I'm not really happy with the look of any of them. Taking this off v2.0 for now but leaving this open.

@2pi 2pi removed their assignment Dec 12, 2021
@ukanuk
Copy link

ukanuk commented Sep 3, 2024

For reference, here are three examples I found online which I think look fine. I notice a few tricks they use to improve the look:

  1. Bigger cell margins / smaller text. The increased margins leave space between cell label, index, and implicant edges with less overlapping and crowding. I think it is ok for some indices to overlap with edges, as the pattern will typically be clear anyway from adjacent cells.
  2. Indices in different color; maybe grey if table is in greyscale.
  3. Implicant edges very close to cell edges; i.e. implicant edges may go either inside index or outside index. Either one works to reduce crowding.

https://ctan.math.washington.edu/tex-archive/graphics/pgf/contrib/tikz-karnaugh/doc/tikz-karnaugh-doc.pdf
image

https://www.techtarget.com/whatis/definition/Karnaugh-map-K-map
image

https://bid.meetbirmingham.com/la/mapa-de-karnaugh-3-variaveis.html
image

@2pi
Copy link
Owner

2pi commented Sep 4, 2024

Thanks for the suggestions! That is quite similar to one option that I tried before and wasn't happy about. Therefore I'm currently more in favor of

Maybe an API exposing positions of different parts of the map would be better.

from #5 and let users add the numbering however they like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants