Questions about typesetting units with (All)TeX.

learn more… | top users | synonyms

1
vote
0answers
47 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 ...
6
votes
1answer
56 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 ...
3
votes
0answers
55 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 ...
8
votes
1answer
168 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: ! ...
1
vote
0answers
48 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 ...
2
votes
1answer
78 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 - ...
3
votes
2answers
71 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 ...
6
votes
2answers
417 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µ Ω
3
votes
1answer
437 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: ...
9
votes
3answers
516 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 ...
5
votes
2answers
907 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 ...
4
votes
1answer
244 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 ...
2
votes
3answers
224 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 ...
3
votes
1answer
129 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 ...
3
votes
1answer
234 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 ...
3
votes
0answers
169 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 ...
17
votes
2answers
8k 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 ...
5
votes
1answer
136 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 ...
6
votes
1answer
156 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.
16
votes
2answers
2k 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 ...
9
votes
2answers
475 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 ...
6
votes
1answer
666 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 ...
5
votes
1answer
636 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 ...
5
votes
1answer
1k 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 ...
15
votes
3answers
271 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} ...
2
votes
1answer
1k 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 ...
1
vote
0answers
211 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 ...
8
votes
1answer
626 views

Polar Plot x and y ticks and units

I'm having some trouble with polar plots. I generate the plot coordinates using Scilab and then plot them in Latex. I can't figure out how to remove the points (mark = \empty does nothing, but ...
19
votes
1answer
2k views

How to achieve nomenclature entries like: symbol, Description, Dimension and unit, etc?

The title is pretty much I want to ask. More detail, the nomenclature entries should be sorted in groups like: Nomenclature Acronyms Symbol Description % no Dimensions and Units ...
3
votes
1answer
188 views

How to automatically switch unit systems?

The question Why use a package to typeset units? made me think about something else: In non-scientific context one may have to provide data for persons using ... imperial units (shiver). But there may ...
47
votes
5answers
7k views

Why use a package to typeset units?

I've seen a lot of posts about different packages for typesetting units and their relative strengths and weaknesses. Most posts seem to agree that the siunitx package is the most up to date package, ...
7
votes
1answer
377 views

Wrapper for siunitx' \SI macro to automatically split number and unit

Problem I use the siunitx-package to typeset numbers and units with correct spacing etc. There is a command \SI{<number>}{<unit>} for that. However, it would be much easier to write ...
4
votes
3answers
614 views

Subscripts and superscripts for Physiology paper

I'm writing a medicine/physiology article. I was writing the manuscript in Microsoft Word, but have recently discovered LaTeX for rendering math equations, which it does superbly; and wanted to learn ...
10
votes
1answer
976 views

How do I typeset units like MB, GB (megabytes, gigabytes)?

Is there a simple way to typeset byte units like MB, GB, TB in latex in math mode? How do you typeset 1GB for example?
5
votes
1answer
98 views

Handle currencies correctly depending on language conventions

Is there a standard way of handling currencies? Example: in American, you'd say "$2 a piece" in French, you'd say "2$ pièce" I'd like to be able to write \somecommand{dollars}{2}, that would ...
7
votes
2answers
395 views

Oldstyle numerals or lining numerals with units of measurement?

What is considered proper typography regarding which set of numerals to use with units of measurement? A real-life example: In the experiment, shown schematically in figure 2.2, we illuminate an ...
4
votes
1answer
287 views

canonical units for defining white space in a beamer presentation?

When using \hspace and \vspace, I often run into a decision of which units to use. In many examples I see the use of ex, cm, mm, pt, in, and so on. I also use .1\textwidth or .1\textheight. I wonder ...
5
votes
1answer
3k views

nomencl with units, nomgroups and longtable

I use nomencl with nomgroups and nomunit. The only way I achieved to properly align it is given in the picture. It was produced using the methods of the documentation. The file.ist is standard, ...
4
votes
2answers
728 views

Problem with \makebox and the unit in the dimensions

I want to superpose a text to some other object (in this aces a picture). My idea is to store the picture in \mabox, to display it with in a \makebox with 0 width and height, then to display the text ...
18
votes
5answers
7k views

Typesetting with Inch Symbols and Sizes in Inches

I'd be much obliged if somebody could tell me how to do the following. How does one typeset the symbol for inches in LaTeX? Is it "?. Neither Lamport nor Knuth seem to mention it. Assuming ...
13
votes
1answer
1k views

How to typeset imperial/US customary units, especially in combination with SI/metric units

I am just working on a document (a series of exercises for one of my classes), which uses both the SI and US customary unit systems (different exercises use different systems). I am trying to typeset ...
4
votes
1answer
1k views

Typesetting unit-less numbers and number-less units

I am using the siunitx package to typeset my numbers, but sometimes I find situations in which I have numbers without units (when the units are not nearby) and units without numbers. E.g.: The bird ...
1
vote
1answer
829 views

Use of math mode with SIstyle

When using the SIstyle package, I noticed that numbers inside \SI{}{} and \num{} appear in a slightly different style than inside $$. Do the \SI{}{} and \num{} commands come with math mode already? ...
29
votes
1answer
6k views

What are the possible dimensions / sizes / units LaTeX understands?

I know there are different ways of expressing sizes or dimensions in LaTeX such as points (pt), inches (in) and ex. As some commands, such as \hspace understand all of them, I would like to have a ...
6
votes
1answer
4k views

Helvetica font and ohm symbol

I am writing an industrial laboratory report, where I need to use Helvetica. My preamble contains: \usepackage[T1]{fontenc} \renewcommand{\familydefault}{phv}\selectfont \usepackage[margin=10pt, ...
11
votes
3answers
11k views

siunitx: µ doesn't work

I'm using TeXnicCenter for Windows (7) and I'm a bloody beginner in everything that concerns LaTeX. I'm using the siunitx package for mathematical formulas and it works just fine... with one ...
8
votes
2answers
2k views

Circuitikz doesn't recognize units

For example when I use \ohm or \micro it throws an error. For example, in the MWE: \documentclass{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw (0,0) to ...
7
votes
3answers
504 views

How to switch large document from units-package to siunitx?

For historical reasons, I've been using the units package in my thesis to typeset numbers with units or units with \usepackage[tight]{units} For formatting numbers in table columns I'm already using ...
8
votes
2answers
35k views

Angstrom not working

Using \AA for angstrom is not working for me. When I write 1 \AA all I get is 2 (r)A in the output. I have tried putting the curly brackets around it {\AA} but still no success. I do not know why. I ...
9
votes
1answer
575 views

How does PDF or PDF Viewer define a rounding rule for stroke thickness?

I defined a sequence of line segments of different thickness each as follows. \documentclass{article} \usepackage{multido} \parindent=0sp \begin{document} ...