I often want to printout programs so that I can read them when away from the computer, and I'm wondering what tools people use to make the code readable when printed.
Today I'm using a2ps which works reasonably well, but it shouldn't be impossible to improve it. For example: index over functions etc. cross references from usage to defin...
What are some good practices when typesetting LaTeX documents?
I use LaTeX mostly to typeset papers.
Here is a short list of what I consider LaTeX good practices, most of them would be common sense in any programming language:
When writing a large document (book), keep the chapters in separate files
Use a versioning system
Repeated c...
Given LaTeX likeso:
\section{Heading}
Here is some text after the heading.
How could one prevent the Heading from showing up at the very bottom of the page?
In other words, how could one prevent a page-break after Heading and before the following text?
This seems to be happening in a document that I've got. If there's more informat...
So, I just have a little question:
What is the "best way" to typeset new functions in LaTeX which aren't already included in the various packages? Right now I'm just using \mbox as my go-to method, but I just was wondering if there was a more "acceptable way of doing it (as with mbox, I have to make sure to include spaces around the t...
I'd like to use LaTeX's \tableofcontents command (or some equivalent) to automatically generate a table of contents, but I'd also like to add a sentence or two to each line in the table of contents that describes what the referenced section is about. How can I do this?
...
problem
I'm using LilyPond to typeset sheet music for a church choir to perform. Depending on who is available on any given week, songs will be played in various keys. We have an amazing pianist who can play anything we throw at her and the guitarists will typically pencil in alternate chords, but I want to make things easier by having...
I know that LaTeX is big in the world of academia, and was probably a big name in desktop publishing before the glory days of WordPerfect and Microsoft Office but as a Windows user that is interested in the power of LaTeX and the general smoothness of a LaTeX generated page is it really worth learning?
In a couple of months I'll be star...
Impressed by is-latex-worth-learning-today, and many how-to's on Windows,
How do you have someone started with LaTeX on Linux.
How do you generate a pdf out of it and give up the OOO Word processer.
Update:
Thanks to all the suggestions given in here. I was able to create an awesome ppt using the Beamer class: http://github.com/beco...
If you have a traditional letter with content like-so.
From Someone
50 Example Drive
Random City, ZIP
Country
Tel: 444-555-6666
July 30, 2009
To Somebody
51 Example Drive
Random City, ZIP
Country
Tel: 444-555-7777
Dear Somebody:
Get off my lawn!
Sincerely yours,
Someone
How can one create such a letter using the LaTeX Memoir c...
Mathematica's notebook front end has provided a hugely productive next-generation development environment for over 13 years, particularly suited to technical computing but also more widely applicable.
What other languages have IDEs that allow code to be typeset and have inline graphics?
...
I am using a LaTeX class file which sets various parameters such as margins, line spacing, ... according to the parameters passed to it. For some reason, the end result does not look right. Some margins are not properly set. I'd like to print out the values of various variables that LaTeX have computed along the way to see where the prob...
How can I insert a figure (i.e. graphic) that extends 100% of the viewport but with a given height?
...
(I can't tell if this is meant to be SO or SU, so please move it as necessary.)
Lilypond automatically puts in measure bars for me, but only if there's more than one line. I'm writing a part for which I'm doing:
\override StaffSymbol #'line-count = #1
and measure bars do not appear. (That's kind of odd: just because there's no pitc...
I'm writing a document in LaTeX, and am encountering a problem when I have a line of text that wraps around. What I need is for the text, when it wraps around, to indent so that it matches the label (much like the \item[Label:] Text function, except I can't use a {description} context. Any ideas?
This happens in the context of
\newcom...
how can I make equations smaller in TeX? For example, I want to use the equation environment as follows:
\begin{equation}
long equation here
\end{equation}
but then it's displayed in a way that's too large to fit in the margin. I get around this by using:
$ long equation here $
but then I don't get the automatic numbering and all ...
I'm working on Carnatic music scores that involve complex time signatures, that will require modified bar lines
Pattern for barlines for: 8/4
beats: 1 2 3 4 (dashed bar here) 5, 6 (Dotted Bar) 7, 8 (double bar)
Here's one bar of actual score
g16( f) d8 ees( ees) d16( c d8) bes16[( d c bes \bar "dashed"
a g]) a[( bes c] d[ ...
I've been looking for a more elegant solution to the following typesetting problem. Consider those banners found in print media where the text is aligned like:
B I G T E X T
small text small text small text
m o r e m e d i u m t e x t
The font sizes are adjusted so that the height is scaled down for longer line...
Please see the snippet below and tell me how can I achieve the same strike-out effect as in the main text. I am using the version of LaTeX from the latest Ubuntu repositories.
\documentclass{article}
\usepackage{ulem}
\begin{document}
The sout tag works perfect in the \sout{main text area} but not inside the equations.
$$
list = [1, \so...
Hello there.
I've been looking for the answer to this question for a while now but can't seem to find it, so I'm hoping someone on here can help me.
I'm writing up a thesis in Latex, and really like the \frontmatter, \mainmatter and \backmatter ability when using the "book" environment. However I need to add an abstract and the \begin...
I'm trying to typeset something in LaTeX and I would like to know if I'm doing it right. The basic idea is that section number hangs in the left margin. The number takes the height of the header+2 lines for a chapter heading, +1 line for section heading, and has the same height as the header for subsections, and is aligned to the top of ...