I try to create a little booklet with formulas that I need for university. Since we are allowed to use formularies (I'm not shure, if this is the right word for that!) in exams, it's absolutely crucial to find each formula as fast as possible.   Therefore I try to create a register at the page margin like on phonebooks or addressbooks as seen in the picture below.  (What I would like to generate are those red letters. But preferably not only one letter but a few words)   Do you know any package that could do this for me automatically?  Thanks in advance!  Frieder
27633
I would like to place a letter (that indicates which letter in the dictionary is shown) on the outer side of the book, set it for example in a darker box and position that letter vertically. Users of the dictionary can later easily access  a searched headword by using the letter division on the side.   Minimum example:  \documentclass[twocolumn]{book} \usepackage[top=1.5cm, bottom=1.5cm, left=2cm, right=2cm]{geometry} \usepackage{fancyhdr} \usepackage[utf8x, utf8]{inputenc} \usepackage[T1]{fontenc} \newcommand\entry[3][]{\hangpara{2em}{1}{\fontfamily{phv} selectfont{\textbf{{#2}}}}\      #3\ifx\relax#1\relax\markboth{#2}{#2}\else\markboth{#1}{#1}\fi     \par}\nopagebreak[4] \newcommand*{\dictchar}[1]{\centerline{\LARGE\textbf{#1}}\par} \pagestyle{fancy} \fancypagestyle{basicstyle}{% \fancyhf{} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0pt} \fancyhead[LE,RO]{\textbf{\chaptitle}} \fancyhead[LO,RE]{\textbf{\thepage}}} \fancypagestyle{dictstyle}{% \fancyhf{} \fancyhead[LE,LO]{{\fontfamily{phv}\selectfont{\textbf{\rightmark}}}} \fancyhead[CO,CE]{\thepage} \fancyhead[RE,RO]{{\fontfamily{phv}\selectfont{\textbf{\leftmark}}}}} \begin{document} \pagestyle{dictstyle} \dictchar{a} \entry[headwords]{headwords}{translations} \clearpage \dictchar{b} \entry[headwords]{headwords}{translations} \end{document}   How can I place thumb indexes from \dictchar values now to the right odd and left even margin?
103306
I'm doing the following thing  \documentclass[leqno]{amsart} \begin{document} Example. \begin{itemize} \item Such and so \item the following holds    \begin{align}        x - 2    \end{align}        always. \item whatever else \end{itemize} \end{document}   Since I number my equations on the left, what I don't like about this is that the equation number is closer to the margin than the itemize bullets, while I would like it to be the other way around. Is there a way to do that? Maybe I should create a box or minipage with tikz (or something similar)?
86665
I use the term database loosely here -- it can be an actual database, or a spreadsheet (in any format including CSV) or can be package-dependent.   Is there a way to create mail-merged documents similar to what can be done in word processing packages? I found the  which sort of works but it puts all the mail-merged data into one document.   Is there a package or way to generate new, individual documents for each part of the database? In other words, if I have a firstName value in whatever storage system, can I get LaTeX to generate a file called &lt;firstName&gt;.dvi for each of the names in the database? Or do I need to resort to a scripting language driver to pull that off?  EDIT  So to further explain what I am trying to do (and will now set it up based on the answer to  ) :  I'm trying to create a "welcome to the company" sort of document that has a cover page, table of contents, welcome letter, then various sections of information. I've never tried this in anything other than a word processor where it's easy to set "master pages" or "template pages" for individual pages in the document. So I could use a letterhead template page for the welcome letter part and a standard article-type template for the rest and still have the letter numbered/referenced in the ToC.   If I use the approach on the answer there, how can I tell \pdfpages which page to include? Ultimately I would like to have many files like Bob.pdf, Sue.pdf, John.pdf etc. where each file is the same document with a custom letter embedded within.
104579
I know there are planty of similar questions, but I haven't found the answer to this particular one.   I have a long word (say some long acronym like ABCDEFGH). It happens to be at the and of the line in the text, going over the margins and creating a bad box.  How can I avoid this, and force the acronym into the new line, but without breaking it ?  The concreete example is displayed in the attached image.
6017
So I'm making this summary of a course where I've only been getting information from one book. Sometimes I want to show what page from the book a statement is taken from but I can't figure out a clean way of doing it.  Basically I would like to have something (in function) similar to:  "Statement[Book p123]"  Do you have any suggestions?
45740
I need every amsmath equation to place at the top of the page. So I use \noindent to do that. Everything is fine except equation+split environment. Than formula is placed a bit higher (by \vskip-\lineskiplimit (it's -3pt) from asmmath.sty \@display@init macro). align+split is ok. The glue is discardable item but it's in a box so it's not discarded.  ....\glue(\topskip) 0.0 ....\hbox(21.00012+16.0001)x430.00462, direction TLT .....\vbox(21.00012+16.0001)x430.00462, direction TLT ......\glue -3.0 ......\glue 0.0   MWE:  \documentclass{article} \usepackage[showframe,paperwidth=10cm,paperheight=5cm]{geometry} \usepackage{amsmath}  \begin{document}  \noindent \[ \begin{split} \left(a^{B^{B^{B}}}\right) \\ bb \end{split} \]  \clearpage \noindent \begin{align} \begin{split} \left(a^{B^{B^{B}}}\right) \\ bb \end{split} \end{align}  \end{document}   Result:   Questions:   Is there a way to test am I on the top of page? Then I could fix that \vskip. I tried leaders but its very tricky.  Is there an other way to place formulas forcing \topskip?
96485
I'm searching for a template which makes a document look like it's written with a real typewriter. Ideally, this means it's not only in mono-spaced font, but the hyphenation is adjusted accordingly. Also, some randomness would be nice (e.g. some characters more bold than others), so that it looks more natural.
69728
I often used \boxed{...} from the AMS math package to place a box around important equations.  However, this approach often produces somewhat awkward looking output.  Consider  \documentclass{article} \pagestyle{empty} \usepackage{amsmath} \begin{document}  \[  \boxed{c_i = \sum_jA_{ij}}  \]  \[  \boxed{c_i = \langle\psi|\phi\rangle}  \] \end{document}     Observe that in the first case the  box looks unbalanced while in the second case could do with more padding on both the top and bottom.  What is the best way to go about this?  I know that I could use a \phantom but am wondering if more elegant solutions exist.
65229
I am quite new to LaTeX so my question may be trivial, but I haven't found a good solution so far.  I am preparing some lecture notes and I would like to have 2 different versions: one for myself, containing all the info I need during the lecture, and one for the students, with some of the text and/or graphics and/or equations blanked out (with some white space occupying the same space on the page, so the students could fill the gaps). I know of \phantom, but it does not seem very efficient as I would have to prepare 2 versions of the same document. I have also seen the censor package, but it does not seem to play nicely with equations. Any other suggestion on how to do this cleanly and efficiently?
38035
Does anyone know a package for ?    Failing that, is anyone interested in writing a command to create one? I'm thinking of something that would have optional and configurable separators above and below (e.g., lines or large quotation marks), and option to float left, right, or center. Ideally the command should print the argument and the pull quote so you do not have to duplicate the text that you want to quote.   To avoid duplicating existing questions, perhaps we should focus on single column documents, so that the pull quote has to be boxed?
40353
I'm trying to split up the following equation so that it fits the margins of my document, so far I have:  \documentclass{article}  \usepackage{amsmath}  \begin{document}   \begin{equation} 0 = n_1^3 n_2 n_3^2(\lambda+\mu)^2 +n_1 n_2^3 n_3^2(\lambda + \mu)^2  + (\lambda + \mu)(\mu - \rho c^2)n_1^3 n_2 + (\lambda + \mu)(\mu - \rho c^2) n_1 n_2^3 + n_1 n_2 n_3^2 (\lambda + \mu)(\mu - \rho c^2) + n_1 n_2 (\mu- \rho c^2)^2 - n_1^3 n_2 n_3^2 (\lambda + \mu)^2 - n_1 n_2^3 n_3^2 (\lambda + \mu)^2  \end{equation}  \end{document}    How do I make the equation split so that it fits?
59750
I want some advice about how to format it better if I have to write a long text below a $\sum$ or a $\prod$ sign. Basically I want to explain the restriction over which the sum or the product is being taken.   For example how can I improve the looks of these equations,  $N_i (\rho) = \sum _ {B \in \rho s.t n_{\delta_j}(B) = 0    \forall j \neq i} n_{\delta_i} (B)$  $\sum _{ \rho s.t N_i(\rho) = a_i and M_i(\rho) = b_i}    \prod _{B \in \rho} \langle \prod_{i=1}^{n} \delta_i ^{n_{\delta_i}(B)}    y_i ^{n_{y_i}(B)} \rangle_c$
40109
I am looking for an example for using the  package to write a cover letter, with names and addresses on a spreadsheet. The package comes with an example, but you have to manually enter all the data.
67696
My document class is article with a4paper. The margins that I want for the body are:  top: 1 inch bottom: 1 inch right: 0.5 inch left: 1.5 inch   The title page should have a 1 inch margin on all four sides, but the body of my paper should have margins as specified above.   I tried using the geometry package to specify these margins. But it didn't come out as I wanted. How can I achieve this?
10750
I'm trying to create a signature and date line in a document.  I need the date line to always be in the same spot on the page no matter what name is under the signature line, such as:  ----------------------   ---------------------- Representative           Date  ----------------------   ---------------------- Program Manager          Date   Here is the code I currently have:  \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ User Representative \makebox[2.5in][r]{Date} \\  \vspace{.2in} \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ Program Manager \makebox[2.5in][r]{Date} \   I want to be able to change the names, such as change Program Manager to Joe Foo and have the word 'Date' stay in the exact place.  Any help would be greatly appreciated.  I'm still a newbie at TeX so please forgive my ignorance.
115342
Does anyone know if Notepad++ can display a vertical line on the right margin to indicated that the text will or will not fit on a printed page?  I have looked but I cannot find it.  Word wrap does work, but it wraps by my screen width, not by the width of a printed page.
88365
This has bugged me for a while. Are there any packages/templates/methodologies for effectively creating flyers in LaTeX?  Just in case there's some ambiguity in my terminology, I'm looking to create single-page, letter-sized pamphlets/posters, posted to advertise events.  Any ideas?