Questions tagged [typewriter]
{typewriter} is the term used for a "monospaced" font, that is, a font in which all characters have the same width.
392
questions
2
votes
1
answer
50
views
How to use a the tt font for mathrm?
I am using a combination of Computer Modern TT and Euler Math for my document:
\usepackage[euler-digits,euler-hat-accent]{eulervm}
\usepackage[T1]{fontenc}
\renewcommand*\familydefault{\ttdefault}
\...
0
votes
0
answers
31
views
XeLaTeX: fallback specifically for monospace
I'm using a package that ends up delegating to pygments for some code rendering. I use ≡ and ∈ as symbols within the code, which lmmono10-regular complains about not having.
What can I add to the ...
3
votes
2
answers
100
views
How to produce a stable mathematical symbol & in the typewriter font?
First a minimal working sample is as follows.
\documentclass{article}
\newcommand*\ttand{\mathord{\texttt{\&}}}
\begin{document}
$\ttand$
\itshape$\ttand$
\end{document}
As you see I defined ...
1
vote
1
answer
69
views
aligning typewriter text in different rows
I am putting together a table with letters, and numbers below the letters to track progress.
\documentclass{article}
\usepackage{xcolor, placeins, cmbright}
\usepackage[margin=0.5in]{geometry}
\begin{...
7
votes
3
answers
427
views
Greek typewriter characters with \symtt (or \mathtt)
I want to have Greek typewriter characters in math mode, using unicode-math.
I use a font having Greek characters:
\setmonofont{NewCMMono10}[
Extension = .otf,
UprightFont = *...
1
vote
0
answers
73
views
How to perfectly simulate typewriter style?
I want to simulate typewriter style typesetted math articles. There are a few major requirements:
All characters in all environments be tt style and of the same size and width (including super and ...
6
votes
3
answers
833
views
How to get real minuses in typewriter font
In many fonts the minus signs - have been shrunken to hyphens in the last decades which looks quite odd in the context of programming languages. How can I get back the original size which is exactly ...
2
votes
1
answer
115
views
Type of k strange in Lehmann's Analytical geometry book
How can I enter this 'K' in LaTeX?
0
votes
0
answers
36
views
Help with minipage/colum space
I am currently making a non-professional document in latex, I am using the typewriter package.
I'm trying to put two photos (one below the other) and right next to them, as if it were another column, ...
2
votes
1
answer
544
views
\textbf \texttt \textit is not working anymore
I am trying latex for the first time to write an essay for school, in the beginning the \textbf \texttt and \textit worked normaly. But i started to use more and more different packages and copied ...
0
votes
0
answers
100
views
How to use backticks exactly like in markdown
For processing documents with a lot of program code and code fragments, I would like to use backticks for inline program code. So far I use the suggestions from this answer (which already declutters a ...
0
votes
1
answer
40
views
Force hyphenation or make newline in \tt
Overview
The goal is to get a tt rendering but with no right text overflow, in any case. I try to force LaTeX to make hyphenation or, if it’s not possible, newline. No matter if sometimes it let a gap ...
4
votes
2
answers
543
views
Changing mono font with PDFLaTeX
I'd like to change the default monofont (used with \texttt{} and \url{}) to "CMU Typewriter Text Variable Width", without touching the default main font.
I was able to do it with
\usepackage{...
13
votes
2
answers
472
views
replacing tt italic with tt slanted at LaTeX level?
I have a personal dislike of the CM typewriter italic design. (Sorry,
DEK :). It's fine for what it is, but I just find it distractingly fancy.) For TUGboat, I always want to replace it with ...
0
votes
1
answer
70
views
Hyphen too wide in texttt when combined with microtype
I'm currently writing a paper with a lot of code references. I want to typeset class and method names using \texttt{}. I am explicitly indicating word splitting points using e.g. \texttt{Very\-Long\-...