Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [compare]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
3 answers
174 views

Can't compare clist item with string

I can't compare comma list item with string. \clist_a is a temp var. \documentclass[12pt]{article} \usepackage{expl3} \begin{document} \ExplSyntaxOn \clist_new:N \clist_a \keys_define:nn { mymodule } ...
zongpingding's user avatar
4 votes
1 answer
130 views

What's the best way to see the most important differences in the contents between a PDF file with Type 1 & 3 fonts and a PDF file with Type 1 fonts?

Continuing What's the best way to view changes that emerged due to upgrades of TeX Live? , let's assume we have two files, old.pdf and new.pdf, obtained from the same LaTeX sources (a two-column ...
AlMa1r's user avatar
  • 445
1 vote
0 answers
87 views

TeX Output Compare

Is there a way to compare two LaTeX outputs such as DVI compare or PS compare from the LaTeX utilities? P.S: Please do not mention the PDF compared with Adobe Acrobat or other PDF tools or with ...
RampSmart's user avatar
  • 125
2 votes
1 answer
69 views

Treating spaces and hyphen in a hangman command

I want to make a hangman command with latex, which use would be \hangman[]{word to guess}, with the following specifications: a switch \ifhide allow to show the hangman or the answer; both hangman or ...
mathteacher's user avatar
1 vote
1 answer
58 views

smaller than sign between underbraced expressions

How to include smaller than sign between underbraced expressions
Máximo Sangiácomo's user avatar
5 votes
1 answer
419 views

Comparing strings; genitiv version of \cref command

I am working with cleveref in a German document and i need in some cases the genitive of the word given by \cref{}. The problem is, that the German genitive is not equally build for all words, so i ...
moro11's user avatar
  • 150
2 votes
1 answer
43 views

Page numbering affected by recursive programming

I asked this question How to do recursive program with latex and got the following excellent answer by @JosephWright \documentclass{article} \usepackage{advdate} % Set the first practice date \...
Brasil's user avatar
  • 1,358
2 votes
1 answer
955 views

How to do recursive program with latex

I am trying to make a schedule for two groups of people who will watch the same experimental lectures at the same laboratory in different dates. I need to skip the holidays. I intend to get something ...
Brasil's user avatar
  • 1,358
2 votes
2 answers
240 views

How to compare two lists?

As shown below, the code fails to redefine the color when it is white (e.g. rgb(1,1,1)). \documentclass{standalone} \usepackage{tikz} \usepackage{xcolor} \begin{document} \foreach \code/\col in {% ...
Tony Tan's user avatar
  • 353
14 votes
1 answer
917 views

(La)TeX vs other typesetting systems: the glue

Short background Once a latex document is seen, almost everyone want to start using it. Then, as it is difficult to use, one get interested in the comparison to other typesetting systems like Word ...
user avatar
17 votes
6 answers
993 views

check that two tex sources generate the same pdf

I have a problem which is in my opinion quite reasonable and common, still I cannot find an answer anywhere. I have two .tex files and I just want to check whether pdflatex will produce exactly the ...
Giulio's user avatar
  • 327
2 votes
2 answers
1k views

Does Lyx have the facility to compare two document and to search for for pieces of text or code within mathsmode

(1)Does Lyx have the facility using the find command to search for certain symbols or pieces of text within sections of maths-code, (2)In addition where can one find the tracking changing facility , ...
William Balthes's user avatar
3 votes
1 answer
337 views

Comparing linenumbers derived from \linelabel as numeric variables in XeTeX

I have a document with transcripts of interviews and I'd like to automate the process of getting the right linenumbers as a reference. So compiling with XeTeX I use \linelabel in a lineno environment ...
Bernd Mi's user avatar
  • 307
1 vote
2 answers
531 views

How to compare two char in Latex

I need to compare two char (or string), but I can't: could you help me, please!! \documentclass[a4paper,openright,twoside]{book} \usepackage{xstring,ifthen} \begin{document} \def\cero{\StrMid{01}{1}...
Salvador Alcaraz's user avatar
4 votes
1 answer
1k views

Why XeLateX is slower than pdfLaTex, and some times has a long pause before running the main file?

My question is very straightforward, Why XeLateX is slower than pdfLaTex, and some times has a long pause before running the main file? I know XeTeX/XeLaTeX has to load a lot of packages, but why, ...
Omid Ghayour's user avatar
4 votes
3 answers
356 views

Etoolbox: how to compare two lists?

My wish is to have two different lists: \listone{a,b,c} \listtwo{a,c,d,e} and to have two macros: \iflistincludedAND{lista}{listb}{<true>}{<false>} which returns true if every item of ...
Olivier Vogel's user avatar
2 votes
1 answer
274 views

How to compare and see if an expanded command is equal to another

Okay, I'm processing a CSV file using datatool: "TRANSID","DATE","QUANTITY" "141f8b4a-e83e-4222-911a-5a977b4d0afca","11/9/2015","10" "88cdad7e-eb21-4010-94c5-acca8ac2e559a","11/9/2015","5" "f15c1ef0-...
WillAdams's user avatar
  • 7,207