I would like to know how to set up buttons for math commands (such as fraction, square root, subscript and superscript, etc.) in Texstudio. I attach a screenshot of my Texstudio below.

My texstudio toolbar

I selected Options-->Configure Texstudio-->Shortcuts and I found a list of math commands. However I wasn't able to proceed further. Please see second screenshot below. For example how I can create a button on my toolbar representing the square root, so that when I click on it I get automatically \sqrt{}? (Just to be clear, I do not want to create or modify a keyboard shortcut)

Configure texstudio shortcuts

  • 1
    If you click in "Advanced", you will also get "Toolbars" there to fiddle with. – gusbrs Feb 7 '19 at 22:24
  • I did what you suggest but I don't see the new custom toolbars that I added – Alessandro Feb 7 '19 at 22:35
  • 1
    To enable the custom bar right click on one of the existing ones, you will get a menu on which you can then check "Custom". – gusbrs Feb 7 '19 at 22:37
  • Unfortunately StackExchange does not let me add any image in the comments, otherwise I'd attach a screenshot – Alessandro Feb 7 '19 at 22:38
  • You can edit your question, if need be. – gusbrs Feb 7 '19 at 22:42

I guess this is what your question is asking for ?

![enter image description here

  • 1
    Nice "turbo screenshot"! (+1) – gusbrs Feb 8 '19 at 0:58
  • 1
    gusbrs not as quick as @marmot could draw it in TikZ :-) – user170109 Feb 8 '19 at 1:12
  • 1
    And it would even be animated in 3D! :-) – gusbrs Feb 8 '19 at 1:21
  • @KJO Best explanation ever! – Alessandro Feb 8 '19 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.