Questions tagged [number]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Babylonian numbers 1-9 in Unicode [duplicate]

Can someone explain this piece of Unicode to me at some detail? It is supposed to print the numbers 1-9 in Babylonian notation, but I do not follow the carrets ^ and the syntax ^^^^^^0133fa\or \...
0
votes
0answers
36 views

convert uppercase numbers with otftotfm [duplicate]

I'm trying to get uppercase numbers for Linux Libertine/Biolinum with PdfLaTeX because Libertine font numbers have a different height than text and I think it doesn't look nice in headers and captions....
0
votes
0answers
37 views

Libertine font numbers have a different height than text in mathmode

The number in libertine font have different height than capital letter. In this discussion : Libertine font numbers have a different height than text, the answer works fine in textmode but it doesn't ...
0
votes
1answer
30 views

Format a number/pageref range according to Oxford (OUP) elision rules

The Oxford style guide rules say this about abbreviating ranges of numbers and page references: For a span of numbers generally, use an en rule, eliding to the fewest number of figures possible: 30–...
4
votes
2answers
154 views

Split phone numbers into groups based on first digit

Problem I am trying to split some numbers based on some very simple criteria. Numbers with 8 digits starting with 4, 8 or 9 should be split into digit groups of length 3 2 3. Any other digit of ...
0
votes
1answer
38 views

How can I reduce the size of index numbers? (I'm using makeidx package)

I want to reduce the font size of the numbers that shown in index. \Thanks :)
6
votes
3answers
276 views

How to get maximum number that \newcount can hold?

Is there a command that contains greatest positive integer that \newcount can hold?
6
votes
1answer
90 views

How to convert English letter to its alphabet index, and to its ASCII/Unicode index?

I need to convert a letter to its index in the alphabet, and to its ASCII / Unicode index. And would like to have more than one way of achieving each of the cases (because I remember there are more ...
6
votes
2answers
292 views

Checking if an integer is a member of an integer list

Is there any way to check whether an integer is a member of a list of integer numbers and return a boolean? I found this neat solution, here that does a great job. It checks whether a string exists ...
0
votes
0answers
48 views

Conversion of a String to Integer [duplicate]

How can I convert a string of a small integer? In my code below, I check whether a string is a member of a list, which returns a string of "0" or "1". I am trying to use this returned value in \fpeval ...
1
vote
0answers
32 views

Membership checking inside fpeval [duplicate]

I would like to check whether a number is in a list and make a decision in the calculation of a macro. I found a neat solution to check the membership of a number, here and it works as long as I don't ...
0
votes
1answer
55 views

Continuous table numbering problem

I have the following problem: I'm writing an article. I wrote text, then inserted a table. The first table is labeled as Table I with the caption command. I also have, for instance, two other tables ...
0
votes
2answers
54 views

How do I increase spacing between chapter number and chapter title in thesis

I want to give space between chapter number and title, I tried in .cls file but not getting any idea. %% %% This is file `iitbreport.cls', %% %% Time-stamp:<2016-04-18 01:32:05, v1.3 sunthar> %%...
3
votes
1answer
62 views

Spanish numbers rules

The Real Academia de la Lengua Española (Royal Academy of Spanish Language) prohibits the use of commas as separators within numbers for every factor of 1000, since the comma is used as decimal ...
6
votes
3answers
340 views

Automatically convert a number to use the correct SI unit prefix

Say one is talking about numbers 10^6, 10^7, 10^8, 10^9 and so forth one can also write them as 1M, 10M, 100M,1G, with their corresponding SI unit prefixes. Is there a way to convert a number on the ...
0
votes
0answers
59 views

Number equation problem in eqnarray

I have a little problem with my equations using eqnarray and I can't solve some of them. 1) I have zeros between the equations numbers (in all equations). To solve that I saw this code below (and it ...
0
votes
1answer
22 views

pgfplots: x label at sixth decimal number [duplicate]

As suggested by similar topics on this site, I followed the procedure to write the x labels in decimal form. However, they continue to appear in scientific form. These are decimal numbers of the order ...
12
votes
2answers
458 views

LuaLaTex - how to use number, computed later in the document

I am trying to print a number at the beginning of my document, say x. The problem is, that this number gets computed at a later part of my document, for example x = 2 + 3. How do I use the result of ...
6
votes
1answer
48 views

The listings package highlights “e3” in “20e3” as identifier

LaTeX code: \documentclass{article} \usepackage{listings} \usepackage{textcomp} \usepackage{xcolor} \lstset{ basicstyle=\ttfamily, columns=fullflexible, keepspaces=true, upquote=true, ...
2
votes
2answers
24 views

Missing number, treated as zero formatdate

So I am fairly new to latex and most of my use of it is in combination with Rmarkdown files, but am trying to integrate the two. Essentially, I have a command which takes is supposed to be a date (in ...
13
votes
1answer
397 views

Libertine font numbers have a different height than text

Currently I am writing my thesis and I want the libertine font because for example the Capital "ß" and other stuff. Following to my question, is it possible to set the numbers height on the same ...
2
votes
3answers
33 views

Formula doesn't fit, equation number strolls behind (using flalign)

I have spent some time already trying to fix the way this formula looks, but to no avail. Does anyone have an idea on how to make this look better? Mainly the equation number should fit to the right ...
1
vote
1answer
46 views

Acquire article page number in beamerarticle slide

I'm typesetting lecture notes (book class) as my main document. I'm also creating supplementary slides from that document using beamer and beamerarticle, mostly using the figures in the lecture notes ...
0
votes
1answer
143 views

How to write 1 Chapter instead of Chapter 1

I want to write 1 Chapter instead of Chapter 1. Any suggestion? Thank you
2
votes
2answers
83 views

page number latex

Sorry for the message in french, I'm starting again my question. I have a problem with page number. Even if I use the command : \pagestyle{empty} my first page keep a number but not the others. I don'...
2
votes
1answer
39 views

Adding/subtracting to the /thecsvrow number in csvsimple

Assume a simple example centered on the csvsimple package. \documentclass{standalone} \usepackage{csvsimple} \usepackage{fp} \usepackage[table]{xcolor} \begin{filecontents*}{input.csv} Foo,...
0
votes
0answers
49 views

Vertical line in chapter name

I added the vertical line after chapter number with following comma nds: \usepackage{titlesec, blindtext, color} \newsavebox\theCT \definecolor{gray75}{gray}{0.75} \newcommand{\hsp}{\hspace{20pt}} \...
1
vote
2answers
196 views

Adding text above page number on last page

I am wondering how to add the text "[Last Page]" above the page number on the last page of my latex document? Thanks. Hannah
8
votes
1answer
122 views

How to correctly write the thousands separator in American English?

I am not a native speaker and I must write a scientific document in American English. How would you correctly write "10000" using LaTeX ? with a space only (10 000): $10\,000$ with a coma and no ...
1
vote
1answer
118 views

Height of equation number in multiline equation

I have found some satisfying start of answer to my problem on this related post` Sadly with the code displayed hereunder, the equation number is displayed on the same level as the last equation line (...
1
vote
1answer
349 views

Table error: Missing number treated as zero

When making a table in Latex with "tabular", I always get the following errors: "Missing number, treated as zero \begin{tabular}" "Illegal unit of measure (pt inserted) \begin{tabular}" This is the ...
0
votes
0answers
85 views

pgfplots: Reduce number of minor ticks in a log log plot

I want to reduce the number of ticks in my log log plot to exactly 3. But I can't tamper with the max space between ticks option, otherwise I'll lose the minor ticks on the y axis. I tried to give ...
3
votes
1answer
351 views

siunitx: Always force two decimal numbers behind decimal marker

I want to display 2.00 m instead of 2 m, even if the leading number is not a decimal number (= is an integer). Unfortunately all \sisetup-commands I tried did not work... Minimum Working Example (...