Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qrcode]

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

1
vote
1answer
39 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} } % ...
5
votes
2answers
136 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 ...
0
votes
0answers
18 views

Trying to render qrcodes in latex from multiple markdown files in a single pdf. The qrcode package inserts an empty qrcode at the start

I have multiple md files that each contain a different url in their yaml block: url: https://google.com these urls get parsed as inputs in a latex template where I use the qrcode package in order ...
0
votes
0answers
55 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 ...
17
votes
2answers
711 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 ...
1
vote
1answer
74 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} ...
1
vote
1answer
42 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. \...
2
votes
1answer
191 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 ...
3
votes
2answers
101 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} \...
7
votes
1answer
212 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....
4
votes
2answers
123 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]{...
2
votes
1answer
72 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&...
1
vote
1answer
351 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 ...
4
votes
1answer
666 views

Generating QR code from text file

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 \...
4
votes
2answers
204 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{...
3
votes
3answers
224 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 \...
4
votes
2answers
314 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. ...
1
vote
0answers
71 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}{...
1
vote
1answer
134 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} ...
3
votes
3answers
334 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 ...
0
votes
1answer
287 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. ...
5
votes
1answer
244 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 ...
2
votes
1answer
202 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 ...
3
votes
1answer
466 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"?
3
votes
0answers
220 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 ...
4
votes
1answer
131 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 ...
2
votes
1answer
1k 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{\...
1
vote
0answers
82 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 ...
1
vote
1answer
66 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 ...
8
votes
1answer
461 views

QR code for plain TeX

I am looking for a macro package for QR codes applicable in plain TeX. The QR code should be calculated from string at TeX macro level like in qrcode.sty, but this package is usable only for LaTeX. I ...
3
votes
1answer
119 views

QRCode package fails to convert to HTML

I'm using the CTAN QRcode package. It works great with PDF, but unfortunately doesn't work at all for HTML. Does anyone know if I'm doing something wrong or how I can force htlatex to use images for ...
4
votes
1answer
746 views

Including a centered icon into a QR code

Some people like having a icon in the centre of their QR code... I want to use the QRCode library to produce such a QR code. For now, I'm using \documentclass[landscape,8pt]{minimal} \usepackage{...
5
votes
1answer
382 views

Why are Accented Capital Letters not well decoded in QRCODE?

Double accented capital letters, such as ÙÇ, ÙÉ, ÀÇ, and ÈÏ, are not well decoded in a qrcode. Is there a way to fix that ? \documentclass[french]{article} \usepackage{fontspec} % if this package is ...
5
votes
1answer
713 views

Vanishing spaces between words inside a QRcode

When the text of a QRcode comes from a \newcommand{\TextInsideQRcode}, the spaces between the words vanish. Is there a way to maintain the spaces between the words ? \documentclass[]{article} \...