Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/brclc

brclc v0.1.3 - calculations under LaTeX.
Copyright (C) 09/1999 Bernd Radgen.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Roadmap
-------

The COPYING file contains a copy of the GPL described above.

The sourcecode is brclc.c.

The brclc.sty is the LaTeX package.

Makefile is the Makefile for the program brclc under LINUX (may also
work with other systems).

the testclc.sh shellscript for testing.

The README.DOS, testclc.bat and a compiled brclc.exe for DOS-users.

Installation
-------------
Copy all files in 1 directory.

Compile the source brclc.c:

You can use the Makefile just typing:

make

or type

gcc -O2 -Wall -lm -s brclc.c -o brclc.

Now copy the file brclc in your PATH (/usr/bin/).

Test the function by typing:
testclc.sh test.tex

You may copy the brclc.sty file in your TeX-tree where the
other macro-packages can be found.

Description
-----------
The program brclc and the package brclc.sty implements a possibility
for doing 16-bit(double) calculations within a LaTeX file. The
following calculations are implemented:

+, -, *, /, ^, exp, log, ln, sin, cos, tan, asin, acos, atan.

The output can be formated and rounded.

Usage:
------
The program brclc is a preprocessor so it must be run before you
run LaTeX! So it is recommended using a shellscript like 'testclc'
which does this for you.

In the LaTeX-File you must load the package brclc.sty:

\usepackage{brclc}

now the new command \clc{arg} is implemented.

The program brclc outputs a file called *.clc. In this file LaTeX finds
the definitions needed to completed the \clc{arg}-command. It is
automatically loaded by the brclc.sty package.

The program brclc also outputs a log-file named *.clg.

The LaTeX-commands:

\verb, \begin/end{verbatim}, \includeonly, \include, \input

are also interpreted by brclc.

For more Information read the brclc_ge.dvi file. Maybe someone will
translate this File in english? Contact me.

Limitations:
------------
You can not implement the \clc{arg}-command in new command-definitions
because the brclc-program will not understand this!

Other then the above shown verbatim-Modes will not work over the \clc{arg}
command.

LaTeX-commands or -enviroments which made virtual printing for internal
calculations may not work. But 'tabularx' is now implemented.

Contacting me
-------------

Email: radgen@physik.uni-frankfurt.de

Share and enjoy!

-Bernd.



Files

Name Size Date Notes
CHANGES 346 1999-09-09 10:29:00
COPYING 18114 1999-08-02 03:48:00
Makefile 284 1999-09-01 04:05:00
README 3010 1999-09-09 10:33:00
README.DOS 254 1999-08-04 06:14:00
brclc.c 28482 1999-09-09 10:15:00
brclc.exe 140229 1999-09-09 10:10:00
brclc.lsm 601 1999-09-09 07:53:00
brclc.sty 1056 1999-09-09 07:57:00
brclc_ge.dvi 20740 1999-09-09 10:38:00
testclc.bat 44 1999-08-04 06:22:00
testclc.sh 123 1999-08-04 06:23:00
testclc.tex 4059 1999-09-09 07:54:00

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (79.9k).

br­clc – Sup­port 16-bit (dou­ble) cal­cu­la­tions in LaTeX

The pack­age pro­vides a pre­pro­ces­sor br­clc (writ­ten in C; a DOS ex­e­cutable is avail­able), and a pack­age, which pro­cesses a LaTeX file that's been run through the pre­pro­ces­sor (the out­put of the pre­pro­ces­sor tells LaTeX how to pro­cess the \clc com­mands in the in the LaTeX file. The script test­clc (avail­able as a shell script or a DOS batch file) shows a typ­i­cal pro­cess­ing run.

Doc­u­men­ta­tion
Ver­sion0.1.3
Li­censeGNU Gen­eral Public Li­cense
Copy­right1999 Bernd Rad­gen
Main­tainerBernd Rad­gen
Topics per­form cal­cu­la­tions within TeX
Guest Book Sitemap Contact 2014-04-18 11:03 CEST