4 lines
1.8 KiB
Plaintext
4 lines
1.8 KiB
Plaintext
<p>Here are a couple of mini-tutorials on using two Emacs packages. They’re both pretty short so I’ve combined them into a single post. In <a href="https://readingworldmagazine.com/emacs/2021-09-06-emacs-stripes-visual-fill-column-word-wrap/">the first</a>, Yuri Tricys presents some configurations and packages to customize <a href="https://github.com/rnkn/olivetti">Olivetti-mode</a>. He shows how to adjust the margins, toggle the fringe on and off, and configure wrap and fill columns, He also shows using the <a href="https://github.com/Fanael/highlight-numbers/tree/8b4744c7f46c72b1d3d599d4fb75ef8183dee307">highlight-numbers</a> and the <a href="https://melpa.org/#/stripes">stripes</a> packages.</p>
|
||
<p>Unfortunately, Tricys doesn’t provide any examples of the output but most of his configurations are self explanatory. If you’re a writer who uses or is considering using Olivetti-mode, take a quick look at Tricys’ post.</p>
|
||
<p>The <a href="https://francopasut.netlify.app/post/emacs_expand_region/">second tutorial</a> is by Franco Pasut and considers using <a href="https://github.com/magnars/expand-region.el">expand-region</a> with LaTeX. Many Irreal readers are probably familiar with expand-region from using it with their programming buffers but it’s also useful for dealing with LaTeX source. Pasut has a series of animated GIFs that show it in action. Judging from the GIFs, expand-region has some shortcomings when used with LaTeX as compared to other languages. For example, I’d expect the highlighting to go from word to sentence and <i>then</i> to paragraph.</p>
|
||
<p>Of course, Magnar anticipated that people would want to add capabilities and made that easy. If you’re really interested in using expand-region with LaTeX, you should look into adding the features you need.</p> |