Search found 478 matches

by svend_tveskaeg
Sun Mar 22, 2015 11:39 am
Forum: General
Topic: Cleaning up code
Replies: 2
Views: 1407

Re: Cleaning up code

Hi Stefan. I've used at few multido s and created a macro to shorten the code in the bar plots and the box plot but I don't know how to simplify the rest of the code. (I've never learned LaTeX 3 syntax and I don't have the time to learn it at the moment.) Any chance I can make you (or someone else) ...
by svend_tveskaeg
Sat Mar 21, 2015 11:28 pm
Forum: General
Topic: Cleaning up code
Replies: 2
Views: 1407

Cleaning up code

I've collected code that I've gotten from different answers over at {TeX} Stackexchange ; * Find the number of elements in a list that occurs most often , * Count the number of elements of each size in a list , * Calculate quartiles of data set , * Multiple \if condition using etoolbox . Code \docum...
by svend_tveskaeg
Sun Jan 12, 2014 6:25 pm
Forum: Graphics, Figures & Tables
Topic: Remove trailing Zeros in Axis Labels Topic is solved
Replies: 1
Views: 1889

Re: Remove trailing Zeros in Axis Labels Topic is solved

Here is a solution from Marco Daniel : \documentclass{article} \usepackage{pst-plot} \makeatletter \def\@LabelComma#1.#2.#3\@nil{% \def\pst@tempA{#1}% \ifx\pst@tempA\@empty\the\@zero\else#1\fi% the integer part \def\pst@tempA{#2} \ifx\pst@tempA\@empty \@writeDecimals{}% \else% \ifnum#2=0\relax\else%...
by svend_tveskaeg
Sat Jan 11, 2014 1:17 pm
Forum: Graphics, Figures & Tables
Topic: Remove trailing Zeros in Axis Labels Topic is solved
Replies: 1
Views: 1889

Remove trailing Zeros in Axis Labels Topic is solved

I've also asked this question on TeX StackExchange . \documentclass{article} \usepackage{pst-plot} \begin{document} \psset{xunit=2} \begin{pspicture}(3,1) \psaxes[Dx = 0.5]{->}(3,1) \end{pspicture} \end{document} Is it possible to get "1" and "2" instead of "1.0" and &q...
by svend_tveskaeg
Wed Jun 12, 2013 3:02 pm
Forum: Graphics, Figures & Tables
Topic: Drawing a Cogwheel Topic is solved
Replies: 7
Views: 4414

Re: Drawing a Cogwheel Topic is solved

Maybe the package pst-spirograph (list of files) is useful. Unfortunately, it is not on CTAN.
by svend_tveskaeg
Mon Apr 29, 2013 7:43 pm
Forum: Text Formatting
Topic: Best Practice for typesetting physical Quantities Topic is solved
Replies: 4
Views: 3167

Re: Best Practice for typesetting physical Quantities Topic is solved

This is really nice. I'll use the following: \documentclass{article} \usepackage{amsmath} \usepackage[ locale=DE ]{siunitx} \newcommand*\horse[3]{ \SIlist[ list-separator=#1, list-final-separator=#1, list-units=brackets ]{#2}{#3} } \begin{document} \[ \SI{38.0}{\cm} + 2 \cdot \SI{26.2}{\cm} + \SI{32...
by svend_tveskaeg
Mon Apr 29, 2013 12:40 am
Forum: Text Formatting
Topic: Best Practice for typesetting physical Quantities Topic is solved
Replies: 4
Views: 3167

Best Practice for typesetting physical Quantities Topic is solved

Consider the following example. \documentclass{article} \usepackage{amsmath} \usepackage[ locale=DE ]{siunitx} \begin{document} \noindent Should I use \[ \SI{38.0}{\cm} + 2 \cdot \SI{26.2}{\cm} + \SI{32.6}{\cm} = \SI[parse-numbers=false]{(38{,}0 + 52{,}4 + 32{,}6)}{\cm} = \SI{123.0}{\cm}. \] or \[ \...
by svend_tveskaeg
Thu Apr 18, 2013 4:44 am
Forum: Graphics, Figures & Tables
Topic: Rescaling for commutative Diagram Topic is solved
Replies: 5
Views: 4840

Re: Rescaling for commutative Diagram Topic is solved

(1) Please provide a minimal working example . (2) I think you have posted the question in the wrong subforum; I would put it in Graphics, Figures & Tables . (3) Use the code make-up botton Code just above the editing window to highlight the code. P.S. I don't know Ti k Z myself, but the chance ...

Go to advanced search