Math & Science ⇒ subscripts in \mathbb font
subscripts in \mathbb font
If I type $W_{\mathbb C}$, the subscript is too big.
If I type $W_{\tiny {\C}}$, I get a TEX warning (\tiny is not allowed
in math mode), but the actual page looks exactly as I want.
And if I try to use a macro, say, like that
\newcommand{\lc}{\tiny {\C}}
I even get an error message saying, again, that \tiny is not allowed
in math mode.
How can I ``legally'' get a subscript which looks like a small
$\mathbb C$ (i.e., something like what I get when I type
$W_{\tiny {\C}}$), but without warnings (I need to use this line a lot and
don't want to get hundreds of warning messages when I latex my file).
Thanks,
AB
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
subscripts in \mathbb font
Code: Select all
\documentclass{article}
\usepackage{amsfonts}
\usepackage{relsize}
\newcommand{\lc}{\ensuremath{\mathsmaller{\mathbb{C}}}}
\begin{document}
$W_\lc$
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
subscripts in \mathbb font
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{amsmath}
\parindent0em
\begin{document}
\[
W_\textbf{C}
\]
\[
W_{\boldsymbol{C}}
\]
\end{document}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: subscripts in \mathbb font
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
subscripts in \mathbb font
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
$W_\mathbb{C}$
\[
W_\mathbb{C}
\]
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10