diff options
author | Karl Berry <karl@freefriends.org> | 2012-03-17 23:10:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-03-17 23:10:28 +0000 |
commit | 63d3000c4b397c52ad8017366f49f98a07f6a795 (patch) | |
tree | be7e866586aa7c98b0cda08084d826470359f1af /Master/texmf-dist/doc/latex/bchart | |
parent | b85e85862ea9263c2a0ed994368016498e31d3eb (diff) |
bchart (17mar12)
git-svn-id: svn://tug.org/texlive/trunk@25677 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 | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bchart/bchart.pdf | bin | 138879 -> 141445 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/bchart/bchart.tex | 47 |
3 files changed, 51 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/bchart/CHANGES.txt b/Master/texmf-dist/doc/latex/bchart/CHANGES.txt new file mode 100644 index 00000000000..dd24339b477 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bchart/CHANGES.txt @@ -0,0 +1,7 @@ +Changelog for bchart +==================== + +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 b1465748b74..430cd442c95 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 d483a23dcea..9e0447c6dd8 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.0 + \large Version 0.1.1 } \author{Tobias Kuhn} -\date{22 November 2011} +\date{16 March 2012} \begin{document} @@ -152,6 +152,22 @@ The \texttt{plain}-flag can be used to prevent the value of the bar to be displa \end{bchart} \end{quote} +With the \texttt{value}-option, the value to be displayed to the right of the bar can be modified: +\begin{quote}\small +\begin{verbatim} +\begin{bchart}[step=2,max=8] + \bcbar[value=six]{6} + \bcbar[value=III]{3} +\end{bchart} +\end{verbatim} +\end{quote} +\begin{quote} +\begin{bchart}[step=2,max=8] + \bcbar[value=six]{6} + \bcbar[value=III]{3} +\end{bchart} +\end{quote} + \section{Skips} @@ -360,7 +376,9 @@ These three ways to change the size of the chart can all be combined to produce \section{Known Issues} -There is currently one known issue with this package. When using fractions in the \texttt{step}-option, sometimes rounding errors become apparent: +There are some known issues with this package. Below, they are discussed and workarounds are presented. + +When using fractions in the \texttt{step}-option, sometimes rounding errors become apparent: \begin{quote}\small \begin{verbatim} \begin{bchart}[step=0.2,max=1] @@ -387,5 +405,28 @@ As a workaround, the \texttt{steps}-option can be used instead, where all marks \end{bchart} \end{quote} +Another known issue is the fact that you can get a \LaTeX{} error message saying ``Dimension too large'' when using large numbers: +\begin{quote}\small +\begin{verbatim} +\begin{bchart}[max=20000] + \bcbar{18000} +\end{bchart} +\end{verbatim} +\end{quote} +A possible workaround is moving the decimal point of all numbers by a couple of digits and manually adding the real value with the \texttt{value}-option: +\begin{quote}\small +\begin{verbatim} +\begin{bchart}[max=20] + \bcbar[value=18000]{18} +\end{bchart} +\end{verbatim} +\end{quote} +\begin{quote} +\begin{bchart}[max=20] + \bcbar[value=18000]{18} +\end{bchart} +\end{quote} +This is only a partial workaround though, since the numbers on the x-axis cannot be manually modified. + \end{document} |