diff options
author | Karl Berry <karl@freefriends.org> | 2012-08-22 23:07:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-08-22 23:07:49 +0000 |
commit | f4edadfb71516f69b11060db846a8d500528cdc7 (patch) | |
tree | d46b0cb69a858af5761517d3cacbbe84097acf70 /Master/texmf-dist/doc/latex/bchart | |
parent | 8af9cbd92109db849ae5e929d232a0dda2e25d5f (diff) |
bchart (22aug12)
git-svn-id: svn://tug.org/texlive/trunk@27496 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bchart')
-rw-r--r-- | Master/texmf-dist/doc/latex/bchart/CHANGES.txt | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bchart/bchart.pdf | bin | 141445 -> 154679 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/bchart/bchart.tex | 38 |
3 files changed, 37 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/bchart/CHANGES.txt b/Master/texmf-dist/doc/latex/bchart/CHANGES.txt index dd24339b477..f7b70418503 100644 --- a/Master/texmf-dist/doc/latex/bchart/CHANGES.txt +++ b/Master/texmf-dist/doc/latex/bchart/CHANGES.txt @@ -1,6 +1,9 @@ Changelog for bchart ==================== +Version 0.1.2: +- Customizable font style + Version 0.1.1: - New "value" option for bars - Discussion of known issue with "Dimension too large" error diff --git a/Master/texmf-dist/doc/latex/bchart/bchart.pdf b/Master/texmf-dist/doc/latex/bchart/bchart.pdf Binary files differindex 430cd442c95..baf4d889d33 100644 --- a/Master/texmf-dist/doc/latex/bchart/bchart.pdf +++ b/Master/texmf-dist/doc/latex/bchart/bchart.pdf diff --git a/Master/texmf-dist/doc/latex/bchart/bchart.tex b/Master/texmf-dist/doc/latex/bchart/bchart.tex index 9e0447c6dd8..68a87ea7a4a 100644 --- a/Master/texmf-dist/doc/latex/bchart/bchart.tex +++ b/Master/texmf-dist/doc/latex/bchart/bchart.tex @@ -7,10 +7,10 @@ \title{ \texttt{bchart}: Simple Bar Charts in \LaTeX \medskip\\ - \large Version 0.1.1 + \large Version 0.1.2 } \author{Tobias Kuhn} -\date{16 March 2012} +\date{22 August 2012} \begin{document} @@ -97,6 +97,36 @@ The \texttt{plain}-flag hides all marks: \bcbar{1.8} \end{bchart} \end{quote} +The font style is sans-serif by default. This can be changed by redefining the command \texttt{bcfontstyle}: +\begin{quote}\small +\begin{verbatim} +\renewcommand{\bcfontstyle}{\bfseries} +\begin{bchart}[max=10,step=1] + \bcbar{5.7} +\end{bchart} +\end{verbatim} +\end{quote} +\begin{quote} +\renewcommand{\bcfontstyle}{\bfseries} +\begin{bchart}[max=10,step=1] + \bcbar{5.7} +\end{bchart} +\end{quote} +With an empty argument, the default font of the document is used: +\begin{quote}\small +\begin{verbatim} +\renewcommand{\bcfontstyle}{} +\begin{bchart}[max=10,step=1] + \bcbar{5.7} +\end{bchart} +\end{verbatim} +\end{quote} +\begin{quote} +\renewcommand{\bcfontstyle}{} +\begin{bchart}[max=10,step=1] + \bcbar{5.7} +\end{bchart} +\end{quote} \section{Bars} @@ -221,7 +251,7 @@ With the \texttt{bcskip}-command, skips of arbitrary size can be inserted: \section{Labels} -The x-axis can be labelled by calling the \texttt{bcxlabel}-command: +The x-axis can be labeled by calling the \texttt{bcxlabel}-command: \begin{quote}\small \begin{verbatim} \begin{bchart}[step=200,max=1000] @@ -391,7 +421,7 @@ When using fractions in the \texttt{step}-option, sometimes rounding errors beco \bcbar{0.76} \end{bchart} \end{quote} -As a workaround, the \texttt{steps}-option can be used instead, where all marks must be listed explicitely: +As a workaround, the \texttt{steps}-option can be used instead, where all marks must be listed explicitly: \begin{quote}\small \begin{verbatim} \begin{bchart}[steps={0.2,0.4,0.6,0.8,1},max=1] |