LaTeX error related to tcolorbox.sty not found

After installing tcolorbox using LaTex’s package manager tlmgr, I was getting similar errors for other dependencies. The solution below worked for me on Ubuntu 18.04 (64 bit) at the terminal: tlmgr update –all –self tlmgr install tcolorbox tlmgr install pgf tlmgr install xcolor tlmgr install environ tlmgr install trimspaces tlmgr install mathpazo tlmgr install parskip … Read more

Is it possible to include multiple file types when using the `FileType` event?

Absolutely: au FileType tex,latex,context,plaintex nm <C-H> <Plug>IMAP_JumpForward Some thoughts: Should be using a buffer local mapping instead of a global mapping Using short names has only cons and zero pros. Don’t. This autocmd should be in a group Autocmd’s should be cleared (inside a group) so that re-sourcing is not a problem Maybe use a … Read more

How do I prevent LaTeX from padding spaces between paragraphs so that next section begins at top of next page?

The parameter that controls inter-paragraph spacing is called \parskip(See Paragraph Spacing ). You set it (with “rubber” values) using something like: \setlength{\parskip}{1cm plus4mm minus3mm} The defualt value of \parskip is class dependent. The “plus” and “minus” parts tell TeX how much it can adjust the value to improve the layout (that is they make the … Read more

How do I convert a document from Latex into Microsoft Word 2003? [closed]

All programs that allegedly convert a document from LaTeX to some word-processing format will lose some information that was there in the original, but apparently you’re willing to live with that. Here’s one trick that may or may not be suitable for your purposes: if latex2rtf does a good enough conversion (I have no idea … Read more

How do I get Emacs to fill sentences, but not paragraphs?

Here’s what I use, which was mostly cribbed from Luca de Alfaro: (defun fill-sentence () (interactive) (save-excursion (or (eq (point) (point-max)) (forward-char)) (forward-sentence -1) (indent-relative t) (let ((beg (point)) (ix (string-match “LaTeX” mode-name))) (forward-sentence) (if (and ix (equal “LaTeX” (substring mode-name ix))) (LaTeX-fill-region-as-paragraph beg (point)) (fill-region-as-paragraph beg (point)))))) I bind this to M-j with (global-set-key … Read more