Questions tagged [qrcode]

Questions about creating QR codes with TeX/LaTeX/etc.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

QR code in which every black module or corner has rounded corners

How would one begin to adapt this useful little package (https://ctan.org/pkg/qrcode?lang=en) to enable a call such as: \qrcode[rounded corners=0.1mm]{348b0b3}% Where the outcome is being able to ...
John Chris's user avatar
0 votes
1 answer
49 views

QR code that contains a Windows Document Path

in my LaTeX document, I need several QR codes in various places. The QR codes should contain file paths in the form of Z:\01 Customer\Projectname A\04 Picture. I intended to define the paths as a new ...
Christian's user avatar
1 vote
0 answers
134 views

QR code contains weird lines

When using the qrcode package my QR codes have all of their pixels spread out causing lines to appear, see the image (hope it's visible). How do I get rid of this? More importantly, will it be visible ...
Sorashi's user avatar
  • 163
1 vote
0 answers
47 views

How to speed up compilation with fancyqr?

I use fancyqr to generate qrcode on large LaTeX documents (more than 500 pages). There is a lot of qrcode to generate which increases the compilation time. How to reduce the time of creation of qrcode?...
Xavier Pessoles's user avatar
4 votes
3 answers
290 views

Using qrcode with koma variables?

Is there a way to create a qr code in LaTeX with koma variables as input? am using the package qrcode and everything works fine and the package is easy to use. However, when I am trying to use a koma ...
mrCarnivore's user avatar
  • 1,505
2 votes
1 answer
296 views

QR code aligning

tell me please how the QR code can be aligned to one of the corners? note: \qrcode[height=3cm]{https://github.com/AnMnv/eBook} works fine, but colorful QR code not \documentclass[14pt]{extreport} \...
WinnieNotThePooh's user avatar
2 votes
1 answer
106 views

How to make a glossary-like section with QR codes?

I'm writing a thesis and since I have to print it, I want to use QR (with the qrcode package) for all links in the document. The way I'd like to organize this is to have a section in the appendix, ...
ismxy's user avatar
  • 19
0 votes
1 answer
89 views

How to align qrcode to the right of the page without tables?

In the following example I am using \raggedleft which is supposed to align the text to the right. However it doesn't work. \documentclass{article} \usepackage{qrcode} \def\commit{abcdef} \def\...
nowox's user avatar
  • 1,375
2 votes
2 answers
556 views

How to escape characters being entered into the qrcode package

I am sure this has been asked before in some form, but I can't find an example, so. What I have are two variables (coming from an external system) x and y. I would like to encode them one on each line ...
diagprov's user avatar
  • 121
2 votes
1 answer
59 views

Using a macro in QRcode

I want to define a macro, \pfad, which i would like to use in \qrcode. It is not throwing errors at me, hurray, but isn't working perfectly. It includes a %20 in the url. \documentclass[10pt,a4paper]{...
Astrina's user avatar
  • 63
1 vote
2 answers
120 views

qrcode wont work inside a caption

i'd like to use a \qrcode inside of a \caption, like: % !TeX program = lualatex \documentclass{scrartcl} \usepackage{polyglossia}\setdefaultlanguage{german} \usepackage{graphicx, qrcode} \begin{...
Odeon Leviathan's user avatar
0 votes
1 answer
1k views

How to add custom fields to a QR code generated with pst-barcode?

I am currently using the following code to generate a QR code with my contact data. The idea is that scanning the QR code launches the Contacts app with all my contact information, in a way that it ...
EoDmnFOr3q's user avatar
  • 2,299
1 vote
1 answer
317 views

QR code in ConTeXt

In LaTeX there is a the qrcode package. Is there any way to create a qrcode in ConTeXt? Something like this: \qr[1in]{Your text to be QR encoded here}
somenxavier's user avatar
2 votes
2 answers
437 views

Special characters in QR code

I am trying to read a list of URLs from a file and create QR codes for them. If they contain a # like in the example, I get an Illegal parameter number in definition of \qr@texttoencode error. Is it ...
patheticpat's user avatar
1 vote
1 answer
332 views

I need a barcode in a PDF/A

as in the title, I need a (simple 128) barcode and I need the PDF/A standard. I know how to do both separately. But pdfx won't run with latex so I cannot create a DVI and so on, which I need for the ...
Namal's user avatar
  • 301
3 votes
2 answers
175 views

Why does qrcode not work with [ngerman] babel?

Consider the following MWE: \documentclass{scrartcl} \usepackage{qrcode} \usepackage[english]{babel} \begin{document} \pagestyle{empty} \qrcode[height=5cm,level="M"]{BCD\?001\?1\?SCT\?...
Ingmar's user avatar
  • 6,680
2 votes
2 answers
111 views

xelatex qrcode fails with arabic language set as default language

First time posting sorry for any mistakes. I am trying to generate qr codes for a document using qrcode package and xelatex. If the default language is set to arabic (lines 6 and 7 below) and the ...
Mohanad Ahmed's user avatar
6 votes
1 answer
655 views

How do make gradient colored Qr Code in LaTex?

I am using the qrcode package and I know how to make plain colored qr codes: \usepackage{qrcode}[] \color{blue}{\qrcode[height=7cm]{site qr code}} but I want to make with gradient colors, How to do ...
Sara Rodriguez's user avatar
3 votes
1 answer
174 views

How to put qrcode inside a cell in tabularx?

I am trying to put a qrcode inside the right column of a tabularx environment. The qrcode code outside of a tabularx works fine, but when I put the qrcode in a table cell, I get these errors: ...
Joachim Tuchel's user avatar
2 votes
1 answer
98 views

fivezeros macro in qrcode.sty

The qrcode.sty package is used for printing QR codes. It includes the following lines 1148-1155: \def\qr@Ni{3}% \def\qr@Nii{3}% \def\qr@Niii{40}% \def\qr@Niv{10}% \def\qr@fiveones{11111}% \def\qr@...
vilem's user avatar
  • 21
7 votes
2 answers
228 views

qrcode with amsart

If I use qrcode with amsart I get extra vertical spacings in the resulting qrcode. \documentclass{amsart} \usepackage{qrcode} \begin{document} \qrcode{http://www.ctan.org} \end{document} Am I doing ...
gerald's user avatar
  • 185
1 vote
1 answer
317 views

What are the practical limits of the `qrcode` package?

The manual for the qrcode package contains a section entitled "Limitations and Cautions," which warns: • The QR specification includes modes for encoding numeric, alphanumeric, or Kanji ...
crmdgn's user avatar
  • 2,628
2 votes
1 answer
825 views

QR-code in beamer footline

For some reason, using a qrcode package in beamer footline produces an invalid QR-code. \documentclass{beamer} \usepackage{qrcode} \newcommand{\insertqrcode}{% \qrcode{http://www.ctan.org} } % ...
cacamailg's user avatar
  • 8,385
4 votes
2 answers
476 views

How to replace photo in moderncv classic with a QR code?

I am making my resume using the moderncv package with the classic style. I wish to replace the photo with a QR-code to my personal website, using the qrcode package. I tried replacing the argument ...
Dr Krishnakumar Gopalakrishnan's user avatar
1 vote
0 answers
152 views

Can LaTeX embed PDF into the QR code too?

In this package, where strings, or texts are embedded into QR code. I recently learned that we can also include PDF into a QR code. Many online site does not provide this service for free. I am ...
Chen Stats Yu's user avatar
18 votes
2 answers
1k views

\newcommand distorts \qrcode

I have found that the output of \qrcode is distorted if the qrcode is placed inside of command in latex. Here below there is a MWE showing 2 qrcodes which are actually the same, one produced from ...
Charlie's user avatar
  • 1,135
1 vote
1 answer
122 views

List of QR Codes [duplicate]

Does anyone know how to create a "List of QR Codes"? I use QR codes all over a document and now I want to list them just like the "List of Figures" lists all figures. I use: \usepackage{qrcode} ...
Marc's user avatar
  • 11
1 vote
1 answer
208 views

Macro evaluation inside \qrcode{...}

I have two macros. The first, \qrwifidata, generates a string from two arguments and some optional key value. The second, \qrwifi, takes the same arguments and generates a QR code with text overlay. \...
DLichti's user avatar
  • 494
3 votes
2 answers
2k views

Unresolvable QRcode with accented characters

I'm trying to code czech names in QRcode using qrcode package and luaLaTeX engine. Some accents are encoded in QRcode and the reader (QR Code Reader or QR Extrme, both run on Xperia L1) is unable to ...
Crowley's user avatar
  • 4,257
3 votes
2 answers
245 views

CSV file and QR codes

I have a .csv file with some URLs. First I want to store each URL in a variable. Second I want to print the variables in QR codes. What's the easiest way to do this? MWE \documentclass{article} \...
Andreas Schneider's user avatar
10 votes
1 answer
532 views

Create QR-code from citeurl

How can I create a QR-code by using and citing an url from a bibliography-entry with \citeurl? \documentclass{scrartcl} \usepackage{filecontents} \usepackage{qrcode} \begin{filecontents}{\jobname....
lukascbossert's user avatar
4 votes
2 answers
198 views

\newcommand with argument (cases) in macro within qrcode

This works \newcommand within qrcode. \documentclass{article} \usepackage{qrcode} \newcommand{\aaa}{test1} \newcommand{\aab}{test2} \newcommand{\aac}{test3} \begin{document} \qrcode[height=5cm]{...
Andreas Schneider's user avatar
2 votes
1 answer
178 views

qrcode-Package: escaping special characters

What I want A qr-code which generates the following link: https://www.ctan.org/tex-archive/macros/latex/contrib/qrcode?lang=en?utm_source=test&utm_medium=test&utm_campaign=test%20test&...
Andreas Schneider's user avatar
4 votes
2 answers
2k views

Define the color of a QR code

I like the simple implementation for QR codes in Latex, for example: \usepackage{qrcode} ... \qrcode[height=1in]{https://www.ctan.org/tex-archive/macros/latex/contrib/qrcode?lang=en} But... is it ...
Joost Döbken's user avatar
5 votes
1 answer
1k views

Generating QR code from text file with empty lines

I'm trying to generate a QR code from a text file using the qrcode package. Using \qrcode{\input{file.txt}} fails with this error message: ! Undefined control sequence. \in@ #1#2->\begingroup \...
Sorashi's user avatar
  • 163
5 votes
2 answers
1k views

Hyperref and QR-code turn whole page into clickable hyperlink

I followed this link to introduce a clickable QR-code in my document. Something like: \documentclass[a4paper,10pt]{article} \usepackage{pst-barcode} \usepackage{hyperref} \begin{document} \href{...
A. Debugne's user avatar
3 votes
3 answers
1k views

How to insert a weblink QR code in caption or margin?

I want to insert a QR code image inside a figure caption (or in the margin). I then tried to write \begin{figure*}[!ht] \centering \includegraphics[height=.45\linewidth]{im1.eps} \hfill \...
Pierre Janin-Potiron's user avatar
5 votes
2 answers
679 views

How to convert \input{} to plain text?

This is what I have (a.txt contains http://www.google.com): \documentclass{article} \newcommand\myurl{\input{a.txt}} \usepackage{qrcode} \begin{document} \qrcode{\myurl} \end{document} Doesn't work. ...
yegor256's user avatar
  • 12k
2 votes
0 answers
172 views

QR codes for hyperrefs

There are lots of hyperrefs in a document I'm writing (pdflatex workflow, no pstricks please). In the preamble I have \def\Marginpar#1{\marginpar[{\bf \hfill {#1}}]{\bf #1}} \def\Qref#1#2{\href{#1}{...
user27280's user avatar
1 vote
1 answer
286 views

How to center \quad element in \cventry

I would like to center qrcode in cventry. Implemented solution (quad + qrcode) could be replaced. Current code (MWE): \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} ...
wdeb's user avatar
  • 13
2 votes
3 answers
2k views

How to properly align picture, text and QR-code vertically and horizontally?

Similar to this earlier question of mine, but this time: +a QR code, -itemize Ideally, the picture, the text and the QR code should be vertically top-aligned; the text should horizontally stick to ...
winkmal's user avatar
  • 845
0 votes
1 answer
521 views

Absolute positioning of pspicture

I am using pst-barcode to create qr code on page. I would like to be able to put a different qr code on every even page at the same place. I have no clue how to enforce absolute location of pspicture. ...
Tomas's user avatar
  • 151
6 votes
1 answer
559 views

qrcode in bibliography margin/bibliography entry with height of marginpar-content

Printed URLs are inconvenient and i just noticed, that there is a LaTeX package to generate QRCodes. I think using QRcodes to aid with URLs could turn out quite nice, so i used the code below to ...
MaPePeR's user avatar
  • 460
3 votes
1 answer
343 views

How to flip certain pixels of a QR code?

I would like to modify the data (black square or white square) in a QR code so that to display any graphic feature of my own choice in the code at the expense of sacrificing a certain amount of its ...
Matsmath's user avatar
  • 936
4 votes
1 answer
1k views

How to insert QR Code in CV

Given this CV/Resume template in xelatex (see picture below), how can I add an image above "contact" and a QR Code to the side panel under the category "programming"?
Til Hund's user avatar
  • 1,181
8 votes
1 answer
2k views

Generate QR Code with image inside

How can I generate in xelatex a QR code with any given image inside, like so or better like this, using either pstricks or the new qrcode package? Note that the QR-code must still work after including ...
Til Hund's user avatar
  • 1,181
4 votes
1 answer
223 views

How to get a customized number of decimal places in tex.sprint / directlua / qrCode?

The number of decimal places is "9" in the following example: string.format("\%0.9f", X). How can one achieve the replacement of the fixed "9" decimal places with "NumberOfDecimalPlaces" (in ...
SDrolet's user avatar
  • 4,878
2 votes
1 answer
2k views

How to get a carriage return (newline) in directlua (tex.sprint) inside a QRCode?

How can one get a carriage return at the end of each line (Lualatex) ? \documentclass{article} \usepackage[nolinks,forget]{qrcode}% \begin{document} \newcommand{\Space}[0]{\ }% \newcommand{\...
SDrolet's user avatar
  • 4,878
1 vote
0 answers
126 views

`QRCode` package and `polyglossia`

I think there may be a problem with QRCode when using polyglossia. In the MWE below, I want to encode a web address (ascii text, no strange unicode characters). I get an error when the main ...
Tim's user avatar
  • 1,539
1 vote
1 answer
86 views

Replicate header in the footer without regeneration

I am using the qrcode package to put qr codes in the right header of my document using fancyhdr. Each page has a different qr code in its header. I now need the same qrcode image to appear in the ...
tornadof3's user avatar
  • 349