Hi
Hi i sent ths earlierand got a message that i should get a mail within
24 hours. (approval?). But i havent seen anything so now i send it
again.
I'm writing my exam project in restructuredText and Sphinx.
ps. thank you for these nice utilities (reST, Sphinx,
rst2pdf(R.Alsina)).
These utilities saves my time, in that i only need to write laTeX,
When i need something fancier or special.
Also it has increased my documentation speed/production x5 or
something like that.
But i have trouble styling laTeX, im ok with stylesheets for html.
I also made some styles changes for rst2pdf.
But after i while i found out that i needed to use the LaTeX output
for
designing the documentation content presentation i want.
I did make a design in css. that is the closest to what i want.
This is my needs
----------------
1. i want chapter styles in different shades of blue and grey
1.1 Chapter/Parts should be on darkgrey background with black
border
Rounded corners. lightgrey text
1.2 section/subsection/subsubsections is in
darkblue -> lightblue -> verylight grey(greyblueish)
border get thinner and thinner, letter white, except
subsub. where its black.
2. Background colour should be a light sandcolour(like paper not
completely
bleached),(but not in print)?
3. i want to have lists surrounded by a kind of box with thin border
or a line along the list length for visual guidance
http://en.wikibooks.org/wiki/LaTeX/Colors#Adding_the_color_package
look at the greenish sidebar table of contents, something like
that
surrounding my lists
I looked at the latex memoir class, and want something like
http://www.tex.ac.uk/tex-archive/info/MemoirChapStyles/MemoirChapStyles.pdf
see page 37.
Is this possible, are there anybody that have some styles they use.
That i can hack, instead of starting from zero.
Trying to use memoir gives me this error (offcourse!).
! LaTeX Error: Two \documentclass or \documentstyle commands.
A latex knowlegdeable guy helped me make a list with a sidebar,
but i don't knowhow to make use of if via sphinx. (make a directive).
here is his code:
--------
\documentclass{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lmodern,lipsum}
\usepackage{framed,xcolor} % needed for the new environments
\definecolor{linecolor}{rgb}{.64,.79,.62}
\newenvironment{fancyenv}{%
\def\FrameCommand{\textcolor{linecolor}{\vrule width 4pt} \hspace{4pt}}
%
\MakeFramed{\advance\hsize-\width \FrameRestore}}
{\endMakeFramed}
\newenvironment{fancylist}{%
\def\FrameCommand{\textcolor{linecolor}{\vrule width 4pt}
\hspace{-8pt}}%
\MakeFramed{\advance\hsize-\width \FrameRestore}%
\begin{itemize}}
{\end{itemize}\endMakeFramed}
\begin{document}
\lipsum[1]
\begin{itemize}
\item Test
\item Wup wup
\end{itemize}
\begin{fancyenv}
\noindent Text
\begin{itemize}
\item Test
\item Wup wup
\end{itemize}
\end{fancyenv}
\lipsum[2]
\begin{fancylist}
\item test
\item double cool
\end{fancylist}
\end{document}
-------
Can i get help on how to use that?
Maybe without the memoir calss if that not doable?!
Pheew that was quite a lot, hope it's ok.
regards Michael
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.