I am overriding the index functionality it possibly horrible ways to make a list of songs in my document.
\documentclass[b5paper]{book}
\usepackage{multicol}
\makeatletter
\newcommand{\makesongs}{%
\makeindex
\bgroup
\def\indexsection\numberline##1##2\endindexsection{%
\protected@write ...
Search found 22 matches
- Sun Dec 27, 2009 7:55 am
- Forum: MakeIndex, Nomenclature, Glossaries and Acronyms
- Topic: Make index list section, index item?
- Replies: 0
- Views: 2678
- Wed Dec 23, 2009 9:40 pm
- Forum: Page Layout
- Topic: Make section headings always appear furthest from the spine
- Replies: 6
- Views: 5164
Make section headings always appear furthest from the spine
This is what I finalized on:
\titleformat{name=\section,page=even}[runin]
{\normalfont\Large\bfseries}{\makebox[0pt][l]{\thesection}}{0pt}{\hfill}[\hspace*{\fill}\\]
\titleformat{name=\section,page=odd}[runin]
{\normalfont\Large\bfseries}{}{0pt}{\hfill}[{\hspace*{\fill}\makebox[0pt][r ...
\titleformat{name=\section,page=even}[runin]
{\normalfont\Large\bfseries}{\makebox[0pt][l]{\thesection}}{0pt}{\hfill}[\hspace*{\fill}\\]
\titleformat{name=\section,page=odd}[runin]
{\normalfont\Large\bfseries}{}{0pt}{\hfill}[{\hspace*{\fill}\makebox[0pt][r ...
- Wed Dec 23, 2009 9:33 pm
- Forum: General
- Topic: \href to refer to a local pdf file
- Replies: 1
- Views: 1827
Re: \href to refer to a local pdf file
One highly dirty trick would be to create a link for acroread that calls Preview.app or something.
But the real way is to figure out how to set the viewer to call the right application.
But the real way is to figure out how to set the viewer to call the right application.
- Wed Dec 23, 2009 9:29 pm
- Forum: BibTeX, biblatex and biber
- Topic: Pull title from bibliography?
- Replies: 1
- Views: 1855
Pull title from bibliography?
I want to be able to do something like:
In \citetitle{book1} he says ``Stuff''\cite{book1}
or something, and have "\citetitle" format the reference to the title of the object correctly. Right now I'm using \emph{The Name of the Book} or similar, but I have to update it if the reference was ...
In \citetitle{book1} he says ``Stuff''\cite{book1}
or something, and have "\citetitle" format the reference to the title of the object correctly. Right now I'm using \emph{The Name of the Book} or similar, but I have to update it if the reference was ...
- Wed Dec 09, 2009 5:44 am
- Forum: Page Layout
- Topic: titlesec creates "Unsynchronized" warning
- Replies: 2
- Views: 1780
titlesec creates "Unsynchronized" warning
That must be what it was; I had
I moved the second call to after the third, which seems to work.
I'm not sure why I was calling it twice before makeindex.
Code: Select all
pdflatex $*
pdflatex $*
makeindex -s ../songs.ist $*.idx
pdflatex $*
I'm not sure why I was calling it twice before makeindex.
- Tue Dec 08, 2009 6:27 am
- Forum: Page Layout
- Topic: titlesec creates "Unsynchronized" warning
- Replies: 2
- Views: 1780
titlesec creates "Unsynchronized" warning
I have:
\documentclass[b5paper]{book}
\usepackage{titlesec}
\titleformat{name=\section,page=odd}
{\normalfont\Large\bfseries}{\thesection}{1em}{}
\titleformat{name=\section,page=even}
{\normalfont\Large\bfseries}{\thesection}{1em}{}
\begin{document}
\section{A Section}
\end{document}
This ...
\documentclass[b5paper]{book}
\usepackage{titlesec}
\titleformat{name=\section,page=odd}
{\normalfont\Large\bfseries}{\thesection}{1em}{}
\titleformat{name=\section,page=even}
{\normalfont\Large\bfseries}{\thesection}{1em}{}
\begin{document}
\section{A Section}
\end{document}
This ...
- Mon Dec 07, 2009 8:43 pm
- Forum: Page Layout
- Topic: Make section headings always appear furthest from the spine
- Replies: 6
- Views: 5164
Make section headings always appear furthest from the spine
I finally figured out how to use the titlesec package, and this gets closer to what I want:
\usepackage{titlesec}
\titleformat{name=\section,page=even}[runin]
{\normalfont\Large\bfseries}{\thesection}{1em}{\hfill}[\hspace*{\fill}\\ ]
\titleformat{name=\section,page=odd}[runin]
{\normalfont\Large ...
\usepackage{titlesec}
\titleformat{name=\section,page=even}[runin]
{\normalfont\Large\bfseries}{\thesection}{1em}{\hfill}[\hspace*{\fill}\\ ]
\titleformat{name=\section,page=odd}[runin]
{\normalfont\Large ...
- Sat Apr 18, 2009 9:19 pm
- Forum: Page Layout
- Topic: Make section headings always appear furthest from the spine
- Replies: 6
- Views: 5164
Make section headings always appear furthest from the spine
I've gotten closer (I found how to center the section headings) but I can't get the Section number to move to the left/right depending on even/odd page.
Here's what I have (titlesec didn't work because it somehow broke my \songsection command}:
%!TEX TS-program = Lilypond-LaTeX
\documentclass ...
Here's what I have (titlesec didn't work because it somehow broke my \songsection command}:
%!TEX TS-program = Lilypond-LaTeX
\documentclass ...
- Tue Apr 07, 2009 5:11 pm
- Forum: Page Layout
- Topic: Make section headings always appear furthest from the spine
- Replies: 6
- Views: 5164
Re: Make section headings always appear furthest from the spine
I tried using titlesec which seems that it should be able to do what I want, but I couldn't figure it out.
What I'm looking for is:
SectionNumberLeft {Section Title, Centered}
on left pages, and:
{Section Title, Centered} SectionNumberRight
on even pages.
What I'm looking for is:
SectionNumberLeft {Section Title, Centered}
on left pages, and:
{Section Title, Centered} SectionNumberRight
on even pages.
- Tue Apr 07, 2009 4:20 pm
- Forum: General
- Topic: Insert output of a shell command into LaTeX file at compile?
- Replies: 3
- Views: 7544
Re: Insert output of a shell command into LaTeX file at compile?
Thanks! The first one worked great. Unfortunately, it doesn't look like Bazaar supports anything like the "properties."