Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In the memoir class, is there a way to get the \sidebar notes to be in paragraph style? I am looking for a similar effect that fnpara provides to footnotes.

I have included an image of what I would like my sidenote column to look like.

Image of what I desire my sidenote column to look like.

share|improve this question
    
Related: Sidenote formatting –  Werner Oct 18 '12 at 19:59
    
And by paragraph formatting you mean that the notes start from the top of the text block regardless of where they are made. –  Werner Oct 18 '12 at 20:00
    
From my understanding, the \sidebar automatically starts the notes at the top of the text block. I have added an image of what I mean by paragraph style. The subsequent note will start on the same line as the previous note, if possible. –  themarshian Oct 18 '12 at 20:13
add comment

1 Answer 1

Does this come anywhere close to what you seek? (You may or may not want to reset the counter sbrefs in the \showsidebar invocation, as I did)

\documentclass{memoir}
\edef\sbar{}
\newcounter{sbrefs}
\setcounter{sbrefs}{0}
\newcommand\addtosidebar[1]{%
\addtocounter{sbrefs}{1}%
$^\alph{sbrefs}$%
\edef\sbar{\sbar$^\alph{sbrefs}$#1 }%
}
\newcommand\showsidebar{%
\sidebar{\sbar}%
\edef\sbar{}%
\setcounter{sbrefs}{0}%
}
\begin{document}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Gn 1:1}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Ex 3:2; Ex 3:16}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Jn 3:16}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Mt 1:17}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth 
\showsidebar

\end{document}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.