logisim-evolution / logisim-evolution/logisim-evolution

Logisim has textfields. You can use latex-style math to have logic equations in a tikz-export. Would it not be nice to render it the same way in logisim

Open
#2,942 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
7.6k
Forks
1k
Avg merge
17h 46m
Merged PRs (30d)
68

Description

When making a textfield in logisim you can enter:
```$\overline{\text{A}}$```
which will render in logisim exactly as:
```$\overline{\text{A}}$```
however, in a tikz-export you get the wanted:
$\overline{\text{A}}$
Would it not be nice if we could either:
1. Enter a formula like in the expression editor from the combinational analsys like Y=B⋅~C+A⋅B and it would render:
$\text{Y}=\text{B}\cdot\overline{\text{C}}+\text{A}\cdot\text{B}$
2. Or enter ```$\text{Y}=\text{B}\cdot\overline{\text{C}}+\text{A}\cdot\text{B}$```, rendering on screen:
$\text{Y}=\text{B}\cdot\overline{\text{C}}+\text{A}\cdot\text{B}$

One thing to take into account is the new boundary boxes as the entered text is now larger as the rendered text on screen/image export.

Contributor guide

Open the contributing guide

Research direction

Start with the textfield rendering, combinational-analysis expression editor, and TikZ export paths mentioned in the issue. Compare how formulas are rendered on screen versus export, then define one accepted input form and account for expanded boundary boxes. Done means the chosen formula display is consistent in Logisim and TikZ export.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.