A community for students.
Here's the question you clicked on:
 0 viewing
doc.brown
 2 years ago
How do you show latex code in your post?
doc.brown
 2 years ago
How do you show latex code in your post?

This Question is Closed

doc.brown
 2 years ago
Best ResponseYou've already chosen the best response.0A way to show the backslash, squarebracket.

e.mccormick
 2 years ago
Best ResponseYou've already chosen the best response.3Use the accent that is on the same key as ~. `\(\LaTeX\)`

doc.brown
 2 years ago
Best ResponseYou've already chosen the best response.0~\[\LaTeX\]'\[\LaTeX\]\`\[\LaTeX\]???

e.mccormick
 2 years ago
Best ResponseYou've already chosen the best response.3One on each side of the \(\LaTeX\) code block. ``` `\(\LaTeX\)` ```

doc.brown
 2 years ago
Best ResponseYou've already chosen the best response.0`\[\LaTeX\]` HAZAAAH!

e.mccormick
 2 years ago
Best ResponseYou've already chosen the best response.3The use of ``` on a single line above and below larger code blocks also does the code highlighting, and code blocks override \(\LaTeX\).

doc.brown
 2 years ago
Best ResponseYou've already chosen the best response.0`\[can =it+do\]\[multiple\times lines?\]` yup

doc.brown
 2 years ago
Best ResponseYou've already chosen the best response.0``` \[can =it+do\] \[multiple\times lines?\] ``` I see, thanks a bunch!

e.mccormick
 2 years ago
Best ResponseYou've already chosen the best response.3The 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.

e.mccormick
 2 years ago
Best ResponseYou've already chosen the best response.3Nope. It would be: 1 2 3 4 5 Hehe. Range starts at 0 and goes 1 less than what is put in.

doc.brown
 2 years ago
Best ResponseYou've already chosen the best response.0I've forgotten the rules of more programming languages then I can remember.

e.mccormick
 2 years ago
Best ResponseYou've already chosen the best response.3I 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.
Ask your own question
Sign UpFind 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
 Engagement 19 Mad Hatter
 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.