Tag Info

Hot answers tagged

10

Something like this? \documentclass{amsart} \usepackage{amsmath} \newcommand\mynot[1]{% \mathrel% {% \ooalign{\hidewidth$\backslash$\hidewidth\cr$#1$}% }% } \begin{document} \[ a\mynot{=}b\] \[a\mynot{\geq}b\] \end{document}


6

This is not related to calculator and calculus packages. There are several utilities to print decimal numbers with comma as decimal separator. Try, for example, the numprint package: \documentclass{article} \usepackage{calculator} \usepackage{calculus} \usepackage{numprint} \newcommand\teo{3} \newcommand\job{,5} \begin{document} ...


3

\documentclass[12pt, letterpaper]{book} \usepackage{imakeidx} \makeindex[name=cat, title=Category, columns=1] \makeindex[name=type, title=Type of Dish] \newcommand\foo[1]{} \newcommand\textbfz[2]{\textbf{#1}} \begin{document} \index[type]{Casual@\textbfz{Casual}|foo} %Want this in bold and no page number \index[type]{Quick@\textbfz{Quick}|foo} ...


3

Here's a \backnot command: \documentclass{article} \usepackage{graphicx} \makeatletter \newcommand\backnot{\mathrel{\mathpalette\back@not\relax}} \newcommand\back@not[2]{% \makebox[0pt][l]{% \sbox\z@{$\m@th#1=$}% \kern\wd\z@ \reflectbox{$\m@th#1\not$}% }% } \makeatother \begin{document} $a\not= b_{\not=}$ $a\backnot= b_{\backnot=}$ ...


2

The changepage package provides this function. The simplest way is to use the adjustwidth environment. You have to specify an amount by which to increase the size of the margins, which you can calculate based on the textwidth, your default margins, and the desired textwidth of the new narrow block. One problem is defining that narrower textwidth based on ...


2

Here is an example of using mdframed to highlight the answer portion: References: You might want to try some of the other alternatives in Environments for visually setting text apart Code: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{microtype} ...


2

You can use siunitx with it's \num macro and output-decimal-marker option: \documentclass{article} \usepackage{calculator} \usepackage{calculus} \usepackage{siunitx} %% or make it global by \usepackage[output-decimal-marker = {,}]{siunitx} \newcommand\teo{3} \newcommand\job{,5} \begin{document} \MULTIPLY{\teo}{340}\W \MULTIPLY{\job}{5605}\WW ...



Only top voted, non community-wiki answers of a minimum length are eligible