Linked Questions

279
votes
9answers
41k views

Are \( and \) preferable to dollar signs for math mode?

Along the lines of Why is \[ ... \] preferable to $$ ... $$?, what reasons are there (if any) to favor \( ... \) over $ ... $?
133
votes
4answers
287k views

how to write ceil and floor in latex?

Is there a macro in latex to write ceil(x) and floor(x) in short form? The long form \left \lceil{x}\right \rceil is a bit lengthy to type every time it is used.
102
votes
3answers
16k views

Are there any coding style guidelines for LaTeX?

I have been using LaTeX for a long time now, but still all my document files look a bit messy. Now I want to get rid of this bad habit and get some order into my code. That is why I am wondering ...
13
votes
4answers
13k views

Markdown vs latex for thesis

I have to face the decision what markup I use for my thesis (mostly mathematical formulas). I dont want to start learning the chosen language while I should focus on my thesis. I dont know much latex, ...
10
votes
2answers
1k views

What are good packages / techniques for writing more readable LaTeX *code*?

A while ago I stumbled upon the semantic package --- its 'math ligatures' feature in particular --- and the whole way in which I write math-code in LaTeX changed. Instead of \[ \sem{\sigma}_s^x \...
10
votes
3answers
2k views

Are there any downsides to using macros to avoid typing accents?

As a native English speaker, I am not used to many words with accents on them, so I find it somewhat difficult to keep the various accents straight in my head, and moreso to also remember the TeX ...
3
votes
2answers
128 views

Defining Commands With Multiple Meaning

I have defined a new command in my source code: \newcommand{\IN}{interface} which prints out interface, but there are times where I would like it to print Interface (with a capital I) or interfaces ...
2
votes
1answer
449 views

Automatic style guide for LaTeX?

Is there some kind of automatic test to check for best practice according to some sort of style guide in LaTeX, or will there be any in near future? For python we have pep8, pyflakes, pyflint, and ...
3
votes
2answers
251 views

Break the line in array mode

I have used the array mode to write cases. But sometimes the lines are too closed to each others, I want to add a break line between them, sometimes it works, but sometimes no. Here is my MWE: \...
2
votes
1answer
98 views

Creating a custom macro for limits

I'd like to experiment with making custom macros to see if I can find a way to structure things to efficiently take notes in class starting in January... as it is right now, there's a lot of typing to ...
0
votes
0answers
84 views

Visual Latex Editor on Mac [duplicate]

I am looking for visual Latex editor (Something like Microsoft Word). Is there any helpful. The reason why I am looking for one is that I am tied to a deadline and I don't have enough time to get ...