Search found 478 matches
- Tue May 05, 2015 5:46 am
- Forum: General
- Topic: Recommended LaTeX Editor for Windows 7
- Replies: 4
- Views: 33184
- Sun Mar 22, 2015 11:39 am
- Forum: General
- Topic: Cleaning up code
- Replies: 2
- Views: 3053
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 ...
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 ...
- Sat Mar 21, 2015 11:28 pm
- Forum: General
- Topic: Cleaning up code
- Replies: 2
- Views: 3053
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 ...
* 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 ...
- Sun Jan 12, 2014 6:25 pm
- Forum: Graphics, Figures & Tables
- Topic: Remove trailing Zeros in Axis Labels
- Replies: 1
- Views: 4364
Remove trailing Zeros in Axis Labels
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 ...
\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 ...
- Sat Jan 11, 2014 1:17 pm
- Forum: Graphics, Figures & Tables
- Topic: Remove trailing Zeros in Axis Labels
- Replies: 1
- Views: 4364
Remove trailing Zeros in Axis Labels
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 "2.0" (as with 0) as ...
\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 "2.0" (as with 0) as ...
- Wed Jun 12, 2013 3:02 pm
- Forum: Graphics, Figures & Tables
- Topic: Drawing a Cogwheel
- Replies: 7
- Views: 10595
- Mon Apr 29, 2013 7:43 pm
- Forum: Text Formatting
- Topic: Best Practice for typesetting physical Quantities
- Replies: 4
- Views: 7269
Best Practice for typesetting physical Quantities
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 ...
\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 ...
- Mon Apr 29, 2013 5:37 pm
- Forum: Text Formatting
- Topic: Best Practice for typesetting physical Quantities
- Replies: 4
- Views: 7269
Re: Best Practice for typesetting physical Quantities
Okay. Thank you, Clemens.
- Mon Apr 29, 2013 12:40 am
- Forum: Text Formatting
- Topic: Best Practice for typesetting physical Quantities
- Replies: 4
- Views: 7269
Best Practice for typesetting physical Quantities
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 ...
\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 ...
- Thu Apr 18, 2013 4:44 am
- Forum: Graphics, Figures & Tables
- Topic: Rescaling for commutative Diagram
- Replies: 5
- Views: 9690
Rescaling for commutative Diagram
(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 ...
(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 ...