Skip to main content

Questions tagged [ascii]

The tag has no usage guidance.

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

Use ASCII to display math (no ASCII math) from latex

In the early days of the internet, it was recommended to use ASCII to in email to represent mathematical formula (see for example http://accounts.smccd.edu/churchg/m120ww/ascii_examples.html Does ...
Uwe Brauer's user avatar
0 votes
2 answers
115 views

Typeset good-looking -> arrow

I have a piece of software that includes the string "Data -> Memory" in a toolbar; that is, an arrow comprised of a dash and a greater than. I want to write about it in LaTeX. The dash is ...
ttshaw1's user avatar
5 votes
3 answers
786 views

Convert integer to its ASCII character

In the ASCII table, … ! (exclamation mark) is a printable character and its decimal representation is 33 a (latin small letter a) is also a printable character and its decimal representation is 97 } (...
Rodrigo Morales's user avatar
5 votes
2 answers
314 views

Delete non-ascii characters from string? No special chars involved. Do not need to replace them

After browsing, I see that this kind of question has been answered for other programming languages (R, Python, etc.) but not for TeX (specifically lualatex) The only related questions on this topic ...
user avatar
0 votes
1 answer
63 views

Converting String Coordinates to Number Coordinates (e.g. ab -> 1 and 2)

I'm trying to draw stones on a grid, and my macro API will have two ways of doing it: either you give the X and Y coordinates, or you give it a string of the coordinates. So, for example, ab should be ...
psygo's user avatar
  • 438
0 votes
2 answers
130 views

What follows the `^^` in TeX? Hex or Dec or symbol?

^^6\bye will produces v. I can understand this. 6 is the symbol of ASCII table, and the DEC of 6 symbol is 54. As 54 is smaller than 64, so 54+64=128. The 128th symbol of ASCII table is v. ^^61 ...
Y. zeng's user avatar
  • 2,105
0 votes
1 answer
76 views

Why can the character number 127 be ouput by default?

On page 44 of The TeXbook, it says, the “dangerous bend” sign used in this manual appears as character number 127 of font manfnt, and that font is selected by the control sequence \manual On page 45 ...
Y. zeng's user avatar
  • 2,105
2 votes
3 answers
936 views

"^^A" does not work in TeX?

On page 45 of The TeXbook, TEX has a standard way to refer to the invisible characters of ASCII: Code 0 can be typed as the sequence of three characters ^^@, code 1 can be typed ^^A, and so on up to ...
Y. zeng's user avatar
  • 2,105
0 votes
0 answers
112 views

How can I create a plain text ascii file from a latex document?

I've found some books in *.tex format on Project Gutenberg and I want to create plain text ascii files from them. How can I do this?
user1642449's user avatar
3 votes
2 answers
505 views

How to do a -- sign in latex?

I'd like to print out two minus signs just after each other, like this -- (as in the C operator to subtract one). Doing -- gives one longer - sign. I've tried \char"2D\char"2D but that also ...
baldanders777's user avatar
1 vote
2 answers
220 views

Unicode character not set up for use with LaTeX error

I use latex command and want to insert a simple ASCII diagram into my .tex file: ┌───► Intensity transformation ┌───────...
hasanghaforian's user avatar
1 vote
2 answers
265 views

Output the ASCII tilde character

The internet is awash with questions and answers for producing a nice looking tilde. But my goal is to produce output (PDF, let's say) from which one can copy-paste into another application and get ...
James6M's user avatar
  • 11
0 votes
0 answers
230 views

Mylatexformat with a filename containing non-ascii characters like ä

When I use a filename like ü.tex I have some problems to compile using mylatexformat, without mylatexformat everything is just fine. I get an error: This is pdfTeX, Version 3.141592653-2.6-1.40.24 (...
realGottlob's user avatar
0 votes
0 answers
72 views

How to make my non-latin pdflatex document more copy-paste friendly?

I write and typeset articles in languages that do not use the latin alphabet using pdflatex. I have received requests from foreigners to make it easier to run the document in Google Translator. ...
anly25786's user avatar
0 votes
1 answer
95 views

What is Unicode? [closed]

I am a complete novice to using LaTeX and have begun with overleaf online and noticed one of the first lines run in the source code is \usepackage[utf8]{inputenc}. I understand this is to run a ...
blaze3211's user avatar
2 votes
1 answer
1k views

How can I convert LaTeX code into minimal HTML?

I'm using Texmaker from the MikTex distribution. What I would like to do, is to create Latex code run Texmaker to do all the substituitons, e.g. from \newcommand build it as pure ASCII-code rather ...
MS-SPO's user avatar
  • 13.7k
2 votes
1 answer
858 views

Package natbib Warning: There were undefined citations.[entries with non-ascii characters]

I checked various related answers but, I am new to Natbib and couldn't figure out the problem if you might please be able to help. Here is the tex code: \documentclass{article} % for 2-column layout ...
katso  rikodo's user avatar
1 vote
0 answers
109 views

How to use non-ascii characters in hyperref's pdftitle option?

I'm trying to use non-ascii characters via hyperref's pdftitle option. I've read a similar question, but its solution isn't working for me. I'm working on Overleaf and when I download the PDF, a new ...
vitor taira's user avatar
0 votes
0 answers
185 views

Formatting Math as Text

I usually use *roff or LaTeX for Math writing when outputting PDF. For writing Math on Canvas, email or other platforms, it seems to be more convenient to format Math using only ASCII. Is there a ...
Good Bye's user avatar
2 votes
2 answers
199 views

Drawing an old punched card using tikz

I am trying to draw a punch card using tikz. The card is a 8 x 80 matrix. A card "stores" a sentence (e.g. a line from a program's source code) printed in the card header via an encoding ...
Cristian Koliver's user avatar
0 votes
0 answers
57 views

PdfLatex Xelatex Ascii

I have extracted the following code from the awesome-cv cls: \documentclass{article} \usepackage{xcolor} \def\sectionstyle#1#2#3{% \textcolor{red}{#1#2#3}% } \begin{document} \sectionstyle ...
Metalhead's user avatar
  • 109
1 vote
1 answer
173 views

XeTeX: How to *globally* replace an ASCII character with another symbol?

A few months ago, I asked whether the “EB Garamond” font contains a short-arched version of the letter f. I have now found out how to access this letter because it actually exists. Writing \...
Nemgathos's user avatar
  • 545
1 vote
1 answer
276 views

How do I change all curly single and double quote marks to basic ascii ' and " quotes?

I noticed XeLaTeX uses different unicode such as the SINGLE RIGHT QUOTATION MARK (and related others), and for hyphens too. How can I get it to just use ' and " and - regular ascii marks like you use ...
Lance's user avatar
  • 1,799
6 votes
1 answer
1k 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 ...
bp2017's user avatar
  • 3,796
2 votes
0 answers
866 views

Make words like naïve searchable via naive

very short question about the handling of umlaut and other unicode characters. Is it possible to make them searchable via their ascii-"equivalent" (e.g. a for ä)? Or can that only be done by the pdf ...
user179444's user avatar
5 votes
1 answer
837 views

How to use extended ASCII characters in the lstlisting environment?

When using extended ASCII characters inside the lstlisting environment, i.e. those corresponding to codes 191 - 197 (literally: ┐, └, ┴, ┬, ├, ─, ┼), latex produces the following error: Package ...
norritt's user avatar
  • 187
3 votes
0 answers
244 views

UnicodeDecodeError pythontex

An error occurred when I try to compile the following minimal example with xelatex --8bit and pythontex. \documentclass[a4paper]{book} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} \...
jowe_19's user avatar
  • 971
0 votes
1 answer
403 views

txt file with ascii tables in Lyx

I have txt file with some ascii characters (report from a software simulation) and i want to copy it in Lyx but the result is awfull. For example in txt file i have the following. table: I want to ...
ALdaperan's user avatar
  • 1,255