3

Is it possible to type the tab character in the TexWorks find window
without needing to create a tab character elsewhere and then copy paste it in?

5

Depending on the operating system it can be possible; it isn't on Mac OS X (no Linux box available now and no Windows at all).

Instead, use regular expressions, which is possible by checking the appropriate option

enter image description here

This should teach everybody about never using TAB in TeX files. ;-)

  • Is this an answer to "typing the tab character" in the Find window? – Matsmath Jun 8 '16 at 18:05
  • Most dope. Good use of the word 'tab' as the separator for added clarity. – kando Jun 8 '16 at 18:07
  • 1
    @Matsmath Since the OS usually intercepts TAB as “switch between fields”, it's not possible to type a TAB in the window; with regular expressions, \t is translated to TAB. I clarified, thanks for commenting. – egreg Jun 8 '16 at 18:10
  • Haha, hey mister - my problem wasn't my own types of tab - I was converting someone's MS Word mess to tex, and all of my monospace code was jarred since the copypasta pulled hidden tab characters with it. – kando Jun 9 '16 at 11:20
  • 1
    @kando You might be interested in How to find characters that LaTeX doesn't like in case there are other problematic characters that have been pulled in from Word. – Nicola Talbot Jun 9 '16 at 15:43

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.