Skip to main content

Questions tagged [xint]

The xint package provides a powerful suite of expandable macros for (integer) calculations

3 votes
3 answers
107 views

This is my first time using of xint.sty; therefore, I have a few questions: (1) Is \NewDocumentCommand{\sn}{m}{ subsn(expr, var1=value1; var2=#1) } ​​the correct way to define a macro with a mandatory ...
cis's user avatar
  • 13.5k
9 votes
3 answers
131 views

I calc values of the Standard normal table (with 5-digit accuracy). So I wrote a calculation with numerica.sty (using approximate values ​​of the error function). This works so far; if I put in a ...
cis's user avatar
  • 13.5k
1 vote
0 answers
125 views

xinttools package allows to plot function summation. Given a function f(x,n), these curves f(x,1) f(x,1) + f(x,2) f(x,1) + f(x,2) + f(x,3) will be plotted using \def\myterm#1{#1*x + 7} ... \...
user3713179's user avatar
4 votes
1 answer
178 views

According to the xint packages source code, the definition of \xint_bye is \long\def\xint_bye #1\xint_bye {}%. Somehow it invokes itself, but I do not understand it. What does \xint_bye do?
Chilote's user avatar
  • 199
0 votes
1 answer
72 views

I use the solution suggested in “Non-rectangular body geometry” by the (deleted) user @user4686 but the render failed when it reached a verse environment in the body: The MWE As I need the non-...
fauve's user avatar
  • 2,601
1 vote
1 answer
186 views

I've grown fond of this xintexpr package for its nice syntax. I'd like to repeat a command M times and another one 5-M = N times. I'm getting an error due to the arithmetic expression of the latter ...
likethevegetable's user avatar
1 vote
1 answer
166 views

I found this page giving macros for simplifying the square roots of integers: Simplifying square roots Can we generalize this method to simplify the square roots of fractions, for example \sqrt{4/3}=...
Faouzi Bellalouna's user avatar
7 votes
3 answers
467 views

I'm trying to setup an animated counter with PSTricks predefined digits. Got it to work up to 18 frames. However when increasing the number of frames, I can't handle it clever enough. No problem for ...
user avatar
3 votes
2 answers
605 views

This is my first time asking a question on Stack Exchange, although I'm a frequent reader. I tried to build a tabular that generates a sort of array, with indexes displayed above. This is the code: $...
Gemma's user avatar
  • 33
2 votes
1 answer
643 views

My aim is to build an automatic Traceability Matrix at the end of my document. For that, I define all requirements to be validated at first and after, in different sections which one is tested. The ...
Darkilious's user avatar
1 vote
3 answers
352 views

I want to use a macro to sort numbers that have different representations. For example 3.5%, 0.321, 17/5, ... If possible, the output of the sorted list should be in the same format again, or 17/5 ...
user avatar
2 votes
1 answer
118 views

Is there a table package which automatically calculates the needed number of columns? Take for example this: \documentclass{article} \usepackage{pgf} \usepackage{siunitx} \usepackage{xinttools} \...
student's user avatar
  • 30.1k
2 votes
1 answer
1k views

I'm writing a paper that involves many values. In order to be consistent in all the papers, I'm using \def and xint to assign and calculate these values. However, in part of this paper I have to ...
user1032817's user avatar