# Tagged Questions

Questions about typesetting units with (All)TeX.

64 views

### How to typeset sampling rate using siunitx package? [duplicate]

I want to show 1 GS/s (one giga sample per second) in my article. How to make use of siunitx package to produce the rate correctly? I assume there to be something better, than \SI{1}{GS/s}. I would ...
492 views

### How can I write the unit Einstein in LaTeX (siunitx)? [duplicate]

I am currently writing my master's thesis with LaTeX and most things really go super good and a lot better than in Word, but I can't seem to get this one working. What I want: 60 yE/m2s (I hope you ...
217 views

### Per mille symbol in SIunitx

There was a previous question on the per mille symbol in latex. I was wondering if it is available in the SIunitx package.
200 views

### \frac not working

I'm new here so bear with me if I don't catch on to something immediately. I'm trying to write some script for some copyediting I'm doing and it automatically converts the code into the format once ...
36 views

### Specifying system of units in equation

A common way of specifying which system of units (e.g. SI, esu, CGS - not the units themselves, e.g. kg, J, K) an equation is written in, is adding the name of the system within brackets to the right ...
151 views

### siunitx - How can I typeset (-1/2)?

I'm trying to typeset the unit Å^(-1) eV^(-½) with siunitx, using \sisetup{locale=DE} (I don't think this makes any difference here). Thanks to this question, I have been able to figure out how to ...
446 views

### Undefined control sequence. \end{axis}

I am using TikZ to draw plots in LaTeX \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} %\usepackage{pgfplotstable} \pgfplotsset{compat=1.12} \begin{document} \begin{tikzpicture} \...
70 views

### Siunitx numbers within units preventing cdot use?

I'm using siunitx to handle my units for some notes I'm writing but am having a bit of trouble with defining units for glomerular filtration rate (a measure of kidney function). This is measured in ...
65 views

### tikz: positioning when using metrics without and with units

I am having some difficulties with my beamer theme, I think because I am using tikz with positions with and without units. I want a list that uses the page number (0,\pgnbr), which I defined as ...
62 views

### Unit spacing in bibliography with siunitx

I am using the siunitx package to manage unit spacing in my text, but I just realized that it is not working properly when used in the references (using BibTex). TeXmaker does not through any errors ...
647 views

### glossaries: How to customize list of symbols with additional column for units?

I want to add an additional column to the list of symbols for inserting the belonging units to the preceding variables. In my case, it is necessary to use three different and independent glossary-...
22 views

### Convert to ems for other font size

Let’s say I want to use \spaceskip=.33333em plus .33333em minus .13333em in my marginpar, with em means in the width of Ms in the actual font size, but I’ve redefined it to use \scriptsize; can I ...
99 views

### Strikeout in roboto font in texlive 2015

In texlive 2015 strike through for roboto font is a bit too high for lower case letters. I think the reason might be, that the unit 1ex for this font differs roughly by a factor 2 from what I would ...
133 views

### Good practice SI units align environment - tufte-book class

In a mission to purify my LaTeX-coding I encountered some problems. First problem after changing from book-class to tufte-book class I had to set all numbers in math-mode, meaning the units become ...
145 views

### Display French instead of English while using \SIlist

While using \SIlist from siunitx package, say something like \SIlist{-3;3}{\Pa}, the following is displayed: -3 Pa and 3 Pa However, I am writing a report in French. How can I change the default ...
173 views

### No newline before scientific units without using “~”

Is it possible to define a list of units (like ml, °C, nmol, eq., etc.) and forbid latex to insert a newline before those? I know it is possible to use a ~ between number an unit, but the above ...
50 views

### Computation of size in titlespacing

Consider the following example: \documentclass[11pt,a4paper]{book} \usepackage{lipsum} \usepackage{titlesec} \newlength{\textsize} \makeatletter \setlength{\textsize}{\f@size pt} \makeatother \...
143 views

### Control sequence with arbitrary number of parameters

I want a macro which can generate units consisting of several base units. Let the macro be \unit. For example, I want \unit{kg} to mean \mathrm{kg} and \unit{kg}{m}{s^{-2}} to mean \mathrm{kg \cdot m \...
1k views

### Is it possible in Latex to convert all numbers between imperial and metric?

This question led to a new package: smartunits I am currently writing a document that I would like to deploy to both European and American audiences. The problem is, as usual, the choice between ...
185 views

### How can I print a length in centimeters? [duplicate]

(I am a new to LaTeX.) I'm trying to print a length in centimeters. Here is my code: \documentclass{article} \begin{document} \newdimen\mylength \mylength=1in \the\mylength \end{document} And here ...
273 views

### Can I declare a new automatic kern for “eV” without modifying font metrics?

The "eV" (electronvolt) unit and its variants ("MeV", "GeV", "TeV", ...) are heavily used in nuclear and particle physics. By default Computer Modern and other common TeX fonts do not contain a pre-...
235 views

### Milestone aspect ratio in pgfgantt adjusted for units?

So: I have a Gantt chart created with pgfgantt where in order to fit my pages I have included x unit=1.4cm,y unit chart=6mm in its preamble. This means that milestone shapes are spread out ...
104 views

### Sum of quantities using siunitx

I'm trying to display the sum of two numbers using the siunitx package. Specifically, I'm trying to write out the conversion from Celsius to Kelvin. Ideally, I'd like to display the following equation:...
201 views

### For a group of symbols, how to get column headings(description) in the next page?

This question is with reference to the answer provided in How to achieve nomenclature entries like: symbol, Description, Dimension and unit, etc? I am able to achieve different styling for different ...
487 views

### mathtools with mu = Illegal unit?

I'm trying to change medmuskip while using mathtools: \documentclass{article} \usepackage{mathtools} \setlength{\medmuskip}{0mu} \begin{document} \end{document} But this results in an error: ! ...
54 views

### What are the unit of measurement in Tikz? [duplicate]

I want to know what are the units of measurement (of length) in tikz are available. I know that pt, in, mm like units are available , but what more are allowed in tikz? I work sometimes with qss ...
190 views

### Pgfplots, Units and “Modify Number Data Scale”

I've got a question with tikzpicture in LaTeX. Data of Tikzpicture are in a external file. The y-axis scale is like: 100,000 - 150,000... (thousands). I need to put the scale of this axis like 100 - ...
301 views

### Proper way to write down a range with units [closed]

The task is to document that the r-coordinate lasts from 10 to 100 m. What would be a good way to write this down? I thought about the following examples r = 10 to 100 [m] r = [10 - 100 [m]] r = 10 -...
1k views

### Recommended font for math symbols?

I need to show unit symbols of micro, nano, kilo, mega .. Is there a recommend front for this usage? ex: 10µ Ω
3k views

### Problem with pgfplots/pgfkeys: “I do not know the key '/tikz/use units'”

Problem in short: I'm using pgfplots but I can't use units in the labels. I tried this minimal example (from http://pgfplots.sourceforge.net/gallery.html) and get an error message: \documentclass{...
3k views

### Writing an equation with the units positioned off right

Okay so I have a have a lot of equations in the document I am writing and I am trying to display the units of an equation off to the right. I was wondering how I can achieve this? Right now, all I ...
4k views

### Unit spacing with siunitx in an equation

I'm just starting to get to grips with the siunitx package, but I've noticed that there seems to be some issues with regards to unit notation spacing in an equation. With siunitx it is possible to ...
540 views

### Abbreviations and acronyms

I need to make lists of acronyms, abbreviations and units. How do I do this in the easiest possible way? I tried looking into the glossaries package but it did not really seem like an easy solution to ...
1k views

### Space after comma in units package

I have a problem with using the units package. In my thesis I used it sometimes in math environment, sometimes not. Now I realized that there is an addition space after the comma in math mode. I think ...
354 views

### Siunitx Won't Display Reciprocal Powers

I have several SI units in my document which I would like to typeset using the siunitx package. According to the documentation the default mode for the \per command is 'reciprocal' meaning \si{m\per s}...
591 views

### Units, in brackets, right aligned in align environment

I need to supply the unit of the formulas I use, in square brackets, right aligned. I use the align environment. I have tried several things, like manually changing the style of the equation numbering ...
382 views

### Using the correct amount of space around unit symbols

This is from an old package I developed back in 2003. The idea was to cover international system units (SI) and other type of units, roughly following guidelines from that document. Units should ...
27k views

### Non italic math mode symbols?

I would like to insert a \mu command to form $\mu$ m (micro meters) i.e. as a unit, not a variable. This means I do not want \mu to be italic. However, LaTeX only accepts the \mu command in math-mode ...
251 views

### fancyunits VS siunitx

I am wondering which of the two packages (fancyunits or siunitx) is the best one to use ? is one of them depreciated ? is one if them more complete or easier to use or even more pretty ? which one is ...
342 views

### Wanting to write units properly [duplicate]

Could anyone explain how I write units properly in LaTeX? In the form kg.s^-1. They come out all slanted and squished together when i use math mode and \frac.
5k views

### How much space between number and unit?

Javier Bezos (famous of titlsec, tensind, spanish ... packages; and now maintainer of babel) wrote a nice book on typography and scientific notation in spanish. He says (pag. 82) that the space ...
729 views

### Customizing unit display position

How can I adjust the placement of y unit with pgfplots? I'm trying to put it near the top-left corner of the graph box. However, there may (but does not have to) be a scientific multiplier. As shown ...
1k views

### Change font for units with \unit (In LyX, \unittwo)

Using the command (defined in units.sty) \unit[value]{dimensions}, the dimensions are set using \mathrm. I am working on a presentation that uses the standard Beamer sans serif font (can't remember ...
2k views

### How do I set units in pgfplots without square brackets?

This MWE: \documentclass{article} % translate with >> pdflatex -shell-escape <file> % This file is an extract of the PGFPLOTS manual, copyright by Christian Feuersaenger. % % Feel free ...
2k views

### Exponent notation in siunitx

I would like to use numbers in siunitx where the main number and uncertainty have exponents like: \num{1.1e-2\pm0.1e-2} However this gives a Misplaced sign token error and I have to first find a ...
344 views

### How to print a length accurately and with user-controlled rounding?

Tried the printlen package, but it seems to not understand what 2.5in means: \documentclass{minimal} \usepackage{printlen} \uselengthunit{in} \begin{document} \newlength{\advertwidth} \setlength{...
4k views

### Degrees, as numbers or units in SI system

When typesetting degrees the correct way is to make the degrees symbol part of the number (without the space between the degree symbol and the number.) Technically in the SI system then degrees C or ...
383 views

### In SI units, use text font numerals or math font numerals? [closed]

I am using Palatino and Neo Euler. When typesetting SI units with siunitx package the font for the unit is changed to the text roman, but the numerals are still from the math alphabet. Euler has a ...