Articles of formatting

How to format the references heading when using multiple bibliographies

I have what I hope is a simple question. I finally figured out how to get the multiple bibliographies to work (mostly) like I want it. The one additional formatting thing I would like is to make the “References” heading centered upon the page. What I am getting now is the heading “References” flush left. […]

How can very long algorithms be automatically split over multiple pages?

I have a very long algorithm than spans several pages. I can not get Latex to make it span across several pages. I know that several questions similar to this one have already been asked, but I haven’t been able to find the answer I’m looking for in any of them. My algorithm comprises several […]

Ideas for a physical (non-PDF-digital) Bookmark

I’d like to make a physical bookmark, so that readers can leave inside the page numbers to mark where to continue reading. I haven’t ever seen any examples of this through the site. This would be a piece of cardboard that may have some printing in words on it. I’m open for any ideas. Some […]

Footer in Beamer

I found in this related topic Add Footer Text to All Slides in Beamer a nice code for footer in beamer with the Frankfurt theme. \setbeamertemplate{footline}[text line]{% \parbox{\linewidth}{\vspace*{-8pt}some text\hfill\insertshortauthor\hfill\insertpagenumber}} \setbeamertemplate{navigation symbols}{} That is exactly what I need. But when I add it to my presentation I lost default “navigation” icons. So my questions are: Is […]

Formatting an array of complex numbers with pgfplotstable

Say I have two csv files representing the real and imaginary part of a complex matrix. I would like to nicely display this matrix in LaTeX. The difficulty is to correctly round numbers and not displaying them if they are rounded to 0. For example, 1.0000000e+00 and 5.0000000e-01 should give 1+0.5i and 5.0000000e-01 and 0.0000000e+00 […]

A package for formatting Linux terminal excerpts?

I know about minted and listings, but either of those are intended for formatting of programming languages excerpts. Is there a package that would do the same for Linux terminal excerpts? Such as: peter@kbpet:~$ echo $(uname -i) x86_64 The minimal solution would be to automatically embolden the peter@kbpet: to every line and indent the leading […]

coordinate number format \ang{}

In a table, I am listing several coordinates. I want to use a number format such as this W 95°13’14” W 95°03’00” … I am using the \ang{} environment of the siunitx package. However, there seems to be no control over the number format when e.g. W 94°02’09”, then W\ang{94;02;09} produces W94°2’9” i.e. eliminates automatically […]

Programatically style words/sentences/paragraphs based on arbitrary metrics?

It’d be nice to be able to style words or sentences or subsections based on arbitrary metrics. For example, it might be useful to highlight words based on their length – bolder highlighting for longer words, so that you can zoom out of the document, and get a quick picture of where it is getting […]

Trouble with Bible Style page header lines

I’m attempting to typeset a Bible for my mom and I’m running into a few problems and I was hoping someone here could help. First I’ll start with the easy question. I’m currently using two columns and adding a line to separate them in the center like this: \documentclass[twoside,twocolumn]{book} \setlength{\columnseprule}{0.5pt} After I use \maketitle it […]

titlesec: why is contents a section?

I’ve been playing around with the titlesec package combined with the scrartcl class. I find the headings titles of scrartcl a bit ugly, but I do like the fact that I can scale font sizes to 8pt. Anyway that’s not the point. I’m defining sections to be of the form 1.8 — Sectionname. But Contents […]