Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

doc.brown

  • one year ago

How do you show latex code in your post?

  • This Question is Closed
  1. doc.brown
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    A way to show the backslash, square-bracket.

  2. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 3

    Use the accent that is on the same key as ~. `\(\LaTeX\)`

  3. doc.brown
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    ~\[\LaTeX\]'\[\LaTeX\]\`\[\LaTeX\]???

  4. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 3

    One on each side of the \(\LaTeX\) code block. ``` `\(\LaTeX\)` ```

  5. doc.brown
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    `\[\LaTeX\]` HAZAAAH!

  6. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 3

    The use of ``` on a single line above and below larger code blocks also does the code highlighting, and code blocks override \(\LaTeX\).

  7. doc.brown
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    `\[can =it+do\]\[multiple\times lines?\]` yup

  8. doc.brown
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    ``` \[can =it+do\] \[multiple\times lines?\] ``` I see, thanks a bunch!

  9. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 3

    The code highlighting system was built for programming: ``` def function(int i): for x in range(i): print x+1 function(5) ``` But it works well for \(\LaTeX\) too. Just don't be surprised if you see the code highlight colors at times.

  10. doc.brown
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    2 3 4 5 6

  11. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 3

    Nope. It would be: 1 2 3 4 5 Hehe. Range starts at 0 and goes 1 less than what is put in.

  12. doc.brown
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I've forgotten the rules of more programming languages then I can remember.

  13. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 3

    I get that. I started with ROM based BASIC, learned some ASM, C, and Pascal (Not much), and don't use them at all. Know an OK amount of C++, Python, and Java. But try and do anything with Pascal and about all I remember is that statements end in ; and the program must have a defined begin and end.

  14. Not the answer you are looking for?
    Search for more explanations.

    Search OpenStudy
    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.