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

Can't mix bricks with different heights in the same wall #4

Open
chrisaga opened this issue Jun 2, 2023 · 1 comment
Open

Can't mix bricks with different heights in the same wall #4

chrisaga opened this issue Jun 2, 2023 · 1 comment

Comments

@chrisaga
Copy link

chrisaga commented Jun 2, 2023

I'have just found that if you change the height of the cyan brick in the wall example of the documentation, the position of the brick is wrong.

 \begin{wall}
  \wallbrick[color=blue]{2}{1}
  \wallbrick[color=red]{1}{1}
  \addtocounter{brickx}{1}
  \wallbrick[color=orange]{1}{1}
  \newrow
  \addtocounter{brickx}{1}{1}
  \wallbrick[color=cyan,brickheight=0.3]{4}{1}
 \end{wall}

I suspect the solution would be to use a "default height" to compute the "z-coordinate" of the brick, not the actual brick's height.
Thought I didn't checked if it would complicate the code very much.

@samcarter
Copy link
Owner

Thanks for the report!

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

2 participants