I am trying to improve upon this, which is just really horrible I think.  I want the sorted grouped index like layout, but it seems to be quite a fight to get rid of the page numbers which are kind of meaningless in this case, since I just want an index that gives the persons name, and a date associated with them in a kind of book of anniversaries.  \documentclass[twoside, 12pt]{book} \RequirePackage[a5paper,includehead,top=0.5in,inner=0.75in,outer=0.5in,bottom=0.5in]{geometry}   \usepackage{imakeidx}  % this hides the commar \begin{filecontents*}{necrology-book.ist} delim_0 " " delim_1 " " delim_2 " " \end{filecontents*}  \makeindex[name=persons,title={Table of Names in Alphabetical Order}, options=-s necrology-book] \def\todayentrydate{} \usepackage[]{idxlayout}  \newcommand*{\nop}[1]{} % this eats pages numbers  \makeatletter \renewcommand{\index}[2][]{     \imki@wrindexentry{#1}{#2 \todayentrydate|nop}{0} } \makeatother  \begin{document}     \def\todayentrydate{2000 May 19}      \index[persons]{Member!Joe Blow}     Joe Blow did a lot of nice stuff.      \index[persons]{Boss!Jane Doe}     Jane Doe was the boss.      \printindex[persons] \end{document}
122840
I want to create a collection of exercises. For this I constructed an environment for the exercises:  \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc}  \newcounter{wf} \setcounter{wf}{0}  \newcounter{Aufg} \setcounter{Aufg}{0}  \newcommand{\Punkte}{0}  \newenvironment{Aufgabe}[1]{% \renewcommand*{\Punkte}{#1}% \nopagebreak% \begin{list}{}{} \item[]% \makebox[0pt][l]{%       \hspace{-1cm}\refstepcounter{Aufg}\textbf{\arabic{Aufg}}}%}% \ignorespaces}{ \ifnum \Punkte&gt;0 \hspace*{0pt} \hfill \mbox{(\Punkte\ BE)} \fi% \end{list}% }  \begin{document} \begin{Aufgabe}{5} This is exercise number one. Topic: Alpha \end{Aufgabe} \begin{Aufgabe}{4} And here we have exercise number two. Topic: Beta \end{Aufgabe} \begin{Aufgabe}{2} Finally exercise number three. Topic: Gamma \end{Aufgabe} \end{document}   I also have substructures for the exercises (exercise A2.1.1 or so) but I want to keep it simple here and just take a look on the exercise numbers.  For an index normally I would write \index{Alpha} in exercise number one (and Beta in two and gamma in three) and this would give me:   Alpha   1  Beta    1  Gamma   1  Because it refers to the page number. But what I really want is an index which gives me the exercise number. So for example using \myindex{Alpha} in exercise one (and Beta in two and Gamma in three) and it should result to  Alpha   1  Beta    2  Gamma   3  Or if there is a more complex structure and exercises with the same topic it should be like this:  Alpha   A2.2; A3.4  Beta    B1.1; B1.2.1; B1.2.2  Gamma   A1; B5.4   and so on.   Do you have any ideas for this special problem?  Thank you in advance for your help.
85414
So far I have this, which half gets the job done, but I really wanted a slightly better looking and more descriptive timeline. Really I wanted to be able to write more than one line for each new addition to the timeline.  \documentclass[a4paper, twoside, 11pt]{report}  \usepackage[pdftex]{graphicx}  \newcommand{\foo}{\hspace{-2.3pt}$\bullet$ \hspace{5pt}}  \begin{document}  \scalebox{1}{ \begin{tabular}{r |@{\foo} l}  1947 &amp; AT and T Bell Labs develop the idea of cellular phones\\ 1968 &amp; Xerox Palo Alto Research Centre envisage the 'Dynabook\\ 1971 &amp; Busicom 'Handy-LE' Calculator\\ 1973 &amp; First mobile handset invented by Martin Cooper\\ 1978 &amp; Parker Bros. Merlin Computer Toy\\ 1981 &amp; Osborne 1 Portable Computer\\ 1982 &amp; Grid Compass 1100 Clamshell Laptop\\ 1983 &amp; TRS-80 Model 100 Portable PC\\ 1984 &amp; Psion Organiser Handheld Computer\\ 1991 &amp; Psion Series 3 Minicomputer\\  \end{tabular} }  \end{document}   This code produces:    I really need something that works in the same way the horizontal timeline does when using the chronology package.  Any help would be appreciated!
35913
page is what I am referring to. I have often wondered how journals TeX their articles like this, and the trick that I have tried in the past of saving the pdf and looking at the info with Preview (on a Mac) doesn't provide me with any additional information.
43249
describes a method for generating an index of URLs that are used in the document, including page number.  However, the URLs are sorted alphanumerically.  I'd like to make a URL index that sorts them per page, in the order in which the links appear on the page.  Furthermore, my links are actually in \hrefs and I would like to include the link text in the index:  p. 1      Wikipedia... http://wikipedia.org      SXE... http://stackexchange.com p. 2      Google... http://google.com   I've created a MWE following the instructions from Heiko Oberdiek in the post I linked to above (compile with xelatex links.tex, makeindex links-url, xelatex links.tex).  Note, the output I currently get is, as expected (but not desired) in alphabetical order rather than page order:        \documentclass[12pt,article]{memoir}  \settrimmedsize{11in}{8.5in}{*} \settrims{0in}{0in} \settypeblocksize{9in}{6.5in}{*} \setlrmargins{1in}{*}{*} \setulmargins{1in}{*}{*} \setheadfoot{\onelineskip}{2\onelineskip} \setheaderspaces{*}{1.5\onelineskip}{*}  \checkandfixthelayout  \PassOptionsToPackage{hyphens}{url} \usepackage[linktoc=all,frenchlinks,pdfborderstyle={/S/U/W .5},citebordercolor={1 1 1},linkbordercolor={1 1 1},urlbordercolor={1 1 1}]{hyperref} \makeatletter \g@addto@macro{\UrlBreaks}{\UrlOrds} \makeatother  \usepackage{filecontents}  \begin{filecontents*}{\jobname-url.mst} % Input style specifiers keyword "\\urlentry" % Output style specifiers preamble "\\begin{theurls}" postamble "\\end{theurls}\n" group_skip "" headings_flag 0 item_0 "\n\\urlitem{" delim_0 "}{" delim_t "}" line_max 500 \end{filecontents*}  \usepackage{pdfescape}  \makeatletter \newwrite\file@url \openout\file@url=\jobname-url.idx\relax  \def\instring#1#2{TT\fi\begingroup   \edef\x{\endgroup\noexpand\in@{#1}{#2}}\x\ifin@}  \newcommand*{\write@url}[1]{%   \begingroup     \EdefEscapeHex\@tmp{#1}%     \protected@write\file@url{}{%       \protect\urlentry{\@tmp}{\thepage}%     }%   \endgroup } \let\saved@hyper@linkurl\hyper@linkurl \renewcommand*{\hyper@linkurl}[2]{%   \write@url{#2}%   \saved@hyper@linkurl{#1}{#2}% } \newcommand*{\listurlname}{List of URLs} \newcommand*{\printurls}{%   \InputIfFileExists{\jobname-url.ind}{}{}% } \newenvironment{theurls}{%   \begin{center}{\Huge \listurlname}% \vspace{.7in}\\ \end{center} {All of these links were active as of \today.} \\ \quad \\ \noindent   %\section*{\listurlname}%   \@mkboth{\listurlname}{\listurlname}%   \let\write@url\@gobble   \ttfamily\footnotesize   \raggedright   \hspace{-1.4em} }{%   \par } \newcommand*{\urlitem}[2]{%   \hangindent=1em   \hangafter=1   \begingroup     \urlpages{#2}%     \EdefUnescapeHex\@tmp{#1}%     \expandafter\url\expandafter{\@tmp}%   \endgroup   \newline } \newcommand*{\urlpages}[1]{% {% \normalfont \space(\if\instring{,}{#1}{pp.\space#1}\else{p.\space\hyperlink{page.#1}{#1}}\fi)} } \makeatother  \begin{document} \href{http://wikipedia.org}{Wikipedia} \href{http://stackexchange.com}{SXE}   \newpage \href{http://google.com}{Google}  \section*{Index of URLs} \printurls \end{document}
87761
Currently, (and this is even mentioned in the current , Chapter 19), in-frame notes are ordered such that those notes that used the "[item]" option are all bunched up at the end of the subject note page.  Is there a relatively painless way to change this so that you can list said "[item]" notes, say, in the middle of the notes page?  Here is a MWE to show what I'm looking for:  \documentclass{beamer}  \setbeameroption{show notes}  \begin{document}  \begin{frame}     This is boring.     \note{I want this to be line 1\par}     \note[item]{I want this to be line 2}     \note{I want this to be line 3} \end{frame}  \end{document}   The output (notes page) of this code is:    WHAT FINALLY WORKED FOR ME:  Please see the selected answer below, plus the comments attached to same, for the explanation behind the following code.  Also note that the indentation problem (as per ted_kingdom's comment below said selected answer) still exists.  \documentclass{beamer} \setbeameroption{show notes} \begin{document}   \makeatletter \def\myrenewcommand{\@ifnextchar&lt;{\beamer@myrenewcom}{\beamer@origrenewcommand}} \def\beamer@myrenewcom&lt;&gt;{\@star@or@long\beamer@myrenew@command} \def\beamer@myrenew@command#1{%   \expandafter\def\expandafter\beamer@name\expandafter{\csname @orig\string#1\endcsname}%   \expandafter\let\beamer@name=#1\relax% \@ifnextchar[{\beamer@@myrenewcom{#1}}{\beamer@myrenewcomnoopt {#1}{0}}} \def\beamer@@myrenewcom#1[#2]{\@ifnextchar[{\beamer@myrenewcomopt{#1}{#2}}{\beamer@myrenewcomnoopt{#1}{#2}}} \long\def\beamer@myrenewcomnoopt#1#2#3{%   \ifnum#2=0\relax%     \expandafter\def\expandafter#1\expandafter{\expandafter\beamer@sortzero\expandafter{\csname beamerx@\string#1\endcsname}}%   \else     \expandafter\def\expandafter#1\expandafter{\expandafter\beamer@sort\expandafter{\csname beamerx@\string#1\endcsname}{#2}}%   \fi%   \beamer@argscount=#2\relax%   \advance\beamer@argscount by 1\relax%   \expandafter\renewcommand\csname beamerx@\string#1\endcsname[\beamer@argscount]{#3}% } \long\def\beamer@myrenewcomopt#1#2[#3]#4{%   \expandafter\def\expandafter#1\expandafter{\expandafter\beamer@presort\expandafter{\csname beamerx@\string#1\endcsname}{#2}{#3}}%   \beamer@argscount=#2\relax%   \advance\beamer@argscount by 1\relax%   \expandafter\renewcommand\csname beamerx@\string#1\endcsname[\beamer@argscount]{#4}% }   \makeatletter \myrenewcommand&lt;&gt;{\beamer@inframenote}[2][]{%   \ifbeamer@inlecture%     \only#3{%       \def\beamer@temp{#1}%       \ifx\beamer@temp\beamer@itemtext%         \expandafter\gdef\expandafter\beamer@notes%         \expandafter{\beamer@notes\par\hskip30pt$\bullet$\hskip10pt#2\par}%       \else         \expandafter\gdef\expandafter\beamer@notes%          \expandafter{\beamer@notes#2\par}       \fi%     }%   \fi%   }  \begin{frame}     This is boring.     \note{I want this to be line 1}     \note[item]{I want this to be line 2}     \note[item]{I want this to be line 3}     \note{I want this to be line 4}     \note{I want this to be line 5}     \note[item]{I want this to be line 6}     \note[item]{I want this to be line 7}     \note{I want this to be line 8}     \note{I want this to be line 9}     \note[item]{I want this to be line 10} \end{frame}  \end{document}
15327
The title is pretty much I want to ask. More detail, the nomenclature entries should be sorted in groups like:   Nomenclature     Acronyms     Symbol  Description     % no Dimensions and Units      ...     Greek Symbols     Symbol  Description             Dimensions     Units     ...     Roman Symbols     Symbol  Description             Dimensions     Units     S       Surface area vector     L^2            m^2     ...    Superscripts     Symbol  Description     % no Dimensions and Units      ...    Dimensionless Numbers     Symbol  Description     Definition     ...   e.g. expected entries like this:       My current nomenclature settings for grouping [book class]:  %---------------------------------------------------------- %                        Nomenclature %---------------------------------------------------------- %\renewcommand{\nomname}{List of Symbols and Abbrev.} \renewcommand\nomgroup[1]{%   \ifthenelse{\equal{#1}{A}}{%    \item[\textbf{Acronyms}] }{%                  A - Acronyms     \ifthenelse{\equal{#1}{R}}{%      \item[\textbf{Roman Symbols}]}{%            R - Roman       \ifthenelse{\equal{#1}{G}}{%         \item[\textbf{•} Symbols }]}{%          G - Greek           \ifthenelse{\equal{#1}{S}}{%            \item[\textbf{Superscripts  }]}{{%          S - Superscripts         \ifthenelse{\equal{#1}{U}}{%          \item[\textbf{Subscripts }]}{{%                 U - Subscripts         \ifthenelse{\equal{#1}{X}}{%          \item[\textbf{Other Symbols }]}%            X - Other Symbols                     {{}}}}}}}}}} %\ifpdf \renewcommand{\nomlabel}[1]{\hspace{1 em}#1}%{\hspace{1.5 em}#1} \renewcommand*{\nompreamble}{\markboth{\nomname}{\nomname}}   But how to extend it with Dimensions and Units?
44938
My question is just like the title. Here is a MWE for my case :  \usepackage[paperwidth=16cm,paperheight=24cm]{geometry} \usepackage{amsmath,amsxtra,amssymb,latexsym,amscd,amsfonts,enumerate,ifthen,stmaryrd,amsthm,amstext} \usepackage[mathscr]{eucal} \usepackage[pdftex]{graphicx} \usepackage{xspace} \usepackage{multicol,color} \usepackage{mathrsfs} \usepackage{makeidx} \usepackage{indentfirst} \usepackage[utf8]{inputenc} \usepackage[utf8]{vietnam}  \usepackage{eso-pic} \usepackage{perpage}  \MakePerPage{footnote} \usepackage{fancyhdr} \renewcommand{\headrulewidth}{0pt}  \makeindex \begin{document} \pagenumbering{roman} \pagestyle{fancy} \tableofcontents  \chapter*{Foreword}  Blah blah blah  \chapter*{Preface}  \pagenumbering{arabic}     Blah Blah   Mirella gọi là papa, dạy toán ở nhà cho Mirella.   \thispagestyle{plain}  \chapter{Dido's problem}  \label{chapter:Dido}  \index{Dido (công chúa)} \index{bài toán công chúa Dido}    Blah blah blah   \end{document}   Why the unnumered chapter does not appear in the table of content ? Please help me. Thanks.
35388
I'm writing a document with lots of numbered items, and I would like each of those items to be contained on a single page (rather than split across two pages). Is there a way to do this? samepage doesn't seem to work.  For example, if the following two items were too big to fit on the same page, I would like item 2 to move to the next page:  \begin{enumerate}  \item Blah blah blah ... ...  \item More babbling ... ...  \end{enumerate}
80383
I am having trouble formatting my list of figures and list of tables.  Currently, my tex document is printing the list in the following manner:     1 Foreign Key Constraint Problem Due   to Improper Table Design. . . . 3      2 Application Flow of Territory   Maintenance Tool. . . . . . . . . . .   . . 4   But I want to number figures by their sections:     3.1.2 Foreign Key Constraint Problem Due to Improper Table Design
97930
As of now my uploaded files are organized by year and month.  But I would like to organize them by year, month and day.  I mean like this 2012/10/30/image goes here  PS: There is a  to do this. But I don't want to use a plugin for this simple task. Thanks
15831
I have the following:   \documentclass{article}  \usepackage{multicol}   \begin{document}  \begin{multicols}{2}   \section{}  \begin{thebibliography}{99}   \subsection{Differentiation}   \bibitem{DifIntWiki}    \emph{URL}   \end{thebibliography}  \end{multicols}  \end{document}   It creates a section with a number, and the Bibliography follows on the next line.  I'm interested in combining these two lines together, essentially turning the bibliography into a section.  Is there any way to do this?  Additionally, I'm using the multicol package, so I'm wondering if there is a way to do this without affecting the columns.
56184
I want to list all the posts with alphabetical headings like this site:    How can I do this with drupal 7 using views?
83288
So for a report my teacher gave us exact prerequisite for the layout. He wants in text footnote citations in the author-year style and the bibliography in  the APA (5th) style. EDIT: The reference list should be numberd and sorted according to the appearence and I think corresponding to the footnote number.  Because I do not want to merge 5 .doc (MS Word) files from my group members and format everything in MS Word I need to get this to work in LaTeX.  Currently I am trying to get this to work with biblatex and Biber, but the combination of the two styles turns out to be very difficult to me. I am not set on biblatex. So, if it can be done with BibTeX or whatever, that is fine.
97196
I'm using biblatex for my references.  Normally, if I use \cite{source1, source2, source3}, I get a citation like  [3, 45, 98]   If I now want to give a page number for one of them, it looks confusing imho, as I should get (did not try it out up to now, honestly)   [3, 45, 78, p. 23f, 98]   So imho it would make sense to change one of the separator from a comma to e. g. a semicolon like:  [3; 45; 78, p. 23f; 98]   Question 1: Does that make sense, or are there other conventions for citing sources with and without page numbers together?  (Up to now I collected the citations without page number in one cite command and added singular \cite[][p. xy]{} commands for those with page numbers., so I'd get:   [3, 45, 98][78, p. 23f]   )  the \cites[]{}[]{}[]{} could also do that, but it also uses the same separators for entries and postnotes.  Question 2: How could I change the separator globally for those number-citations from comma to semicolon in biblatex?
90815
I don't know why each section is shown in one separate page when I use \onecolumn rather that the normal (two columns) format.  \onecolumn \section{Goals}  some text
88814
I want to arrange pages of my presentation in a rectangular array.  I want to print on each page (what may be the equivalent of) a watermark which is a portion of a glyph.  For this discussion let us say the glyph is a katakana symbol for ka, spread across 6 pages.  When I am done, I should have an array of three rows and two columns of pages with print and with a light-gray water mark on each page, so when I step back some distance, I can look at the watermark(s) and make out the symbol for ka which is about two pages high and two pages wide, but centered so that part of the symbol is on all 6 pages.  I suspect I can use a TeX package for watermarking, but I am asking for an example (or pointer to an example:  I am a TeX beginner) that someone more adept than I can post that I can adapt.   It is my hope that I can for each page issue the same watermark command, using the same scale for the watermark glyph, but using different offsets for each page (which I am willing to input manually).  I am willing to compute the offsets myself to account for the physical space I will use in arranging the pages.  For this example, suppose I will have one inch vertically between sheet edges as well as one inch horizontally.  If there is a better package for this effect, I am willing to use it, but I am hoping the learning curve will be mild.
123289
We're using the index package in order to get several indexes (name index, subject index, language index), and we're basically happy with it. There's only one obstinate problem: index does not propagate footnote numbers as desired, unlike makeidx (which doesn't support multiple indexes though):  \documentclass{scrbook}  \usepackage{index} \usepackage{hyperref}  \def\fn#1#2{% \hyperpage{#2}n#1% }%  \newcommand{\is}[1]{\if@noftnote% \index{#1}% \else% \index{#1|fn{\thefootnote}}% \fi% }  \makeindex  \begin{document}  \footnote{First footnote.} \footnote{Second footnote.\is{inside second footnote}} \footnote{Third footnote.}  \printindex  \end{document}   This outputs inside second footnote, 1n3 instead of inside second footnote, 1n2. Hence, \thefootnote seems to be expanded at the very end, and not immediately in the footnote.  Any suggestions how to do it right with index?