Skip to content

Parentheses with \left and \right #38

Description

@Francesco-FL

When I was writing, using normal parentheses, if I entered internal fractions, the parenthesis was visibly small and not beautiful.

Immagine 2022-08-15 055735

So I tried to change the normal parenthesis to \left or \right, but each needs the other, and when the user writes the expression starting with opening the parenthesis '\left(' the system fails because it does not find the \right.

So I tried to create a button for myself, in order to create both the \left (and the \right) and let the user type in between. However, I'm not sure how to set it up, I've tried several cases but I don't understand how to do it or if it's possible.

Immagine 2022-08-15 060122
Immagine 2022-08-15 060207

Activity

  1. github-actions commented on Aug 15, 2022

    @github-actions
    Contributor

    Hi 👋🏽 Thank you for opening your first issue with simpleclub/math_keyboard ❤

    You can expect triage from us soon 🙂
    In the meantime, you can try to search for similar issues in our issue database.

  2. Sub6Resources commented on Aug 8, 2023

    @Sub6Resources

    If #59 gets merged, you should be able to do this with

    const BasicKeyboardButtonConfig(
      label: r'\left(\Box\right)',
      value: r'',
      args: [TeXArg.parentheses_lr],
      asTex: true,
      keyboardCharacters: ['(', ')'],
    ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions