Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the following definition for a symbol I call \nstn:

\DeclareSymbolFont{largesym}{OML}{cmm}{m}{it}
\DeclareMathSymbol{\nstn}{0}{largesym}{"22}

How can I set the size of this single symbol (which is basically \varepsilon) to a specific number (I would like it to be larger than usual/default)?

share|improve this question

2 Answers 2

You could just declare one symbol, and then define another using a scalebox or something...

\documentclass{article}
\usepackage{graphicx}
\DeclareSymbolFont{largesym}{OML}{cmm}{m}{it}
\DeclareMathSymbol{\nstnsmall}{0}{largesym}{"22}
\newcommand{\nstn}{\mathrel{\scalebox{1.5}{$\nstnsmall$}}}

\begin{document}
\[
A \nstn B
\]
\end{document}

alt text

You might change \mathrel to \mathord or \mathop or something depending on the mathematical syntax category. For some reason this said "relation sign" to me.

share|improve this answer

You can by-pass NFSS and use TeX primitives:

\documentclass{article}
\DeclareFixedFont{\nstnfont}{OML}{cmm}{m}{it}{14.5pt}
\newfam\nstnfam
\textfont\nstnfam=\nstnfont
\makeatletter
\set@mathsymbol\nstnfam\nstn\mathbin{22}
\makeatother
\begin{document}
\[ A \nstn B \]
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.