New answers tagged

3

Here is a possibility with stackengine and the \bigovoid symbol from mathabx (without replacing the default maths fonts with the mathabx fonts): \documentclass{article} \usepackage{amsmath} \DeclareFontFamily{U}{mathx}{\hyphenchar\font45} \DeclareFontShape{U}{mathx}{m}{n}{% <-6> mathx5 <6-7> mathx6 <7-8> mathx7 <8-9> mathx8 <9-...


5

You can use a scaled up version of \bigcirc and \ooalign: \documentclass{article} \usepackage{amsmath,graphicx} \makeatletter \newcommand{\makecircled}[2][\mathord]{#1{\mathpalette\make@circled{#2}}} \newcommand{\make@circled}[2]{% \begingroup\m@th \vphantom{\biggercirc{#1}}% \ooalign{$#1\biggercirc{#1}$\cr\hidewidth$#1#2$\hidewidth\cr}% \endgroup }...


3

You can use TikZ to draw a circle node with a # inside. Using \DeclareMathOperator from amsmath improves the spacing. The character should be a bit smaller than the current font, which you can do using \smaller from the relsize package, to make sure it works in different fontsizes. MWE: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \...


3

I have created your symbol with a combination of packages. Excuse me for the complicated code. The symbol has the name \disj. It is a variable name that you can change. Here is my MWE: \documentclass{article} \usepackage{amsmath,amssymb} \usepackage{MnSymbol,scalerel} \newcommand{\disj}{\mathrel{{\bigcircle}\mkern-4mu\raise.3ex\llap{$\scaleobj{.6}{\#}$}}} \...


3

The not so short answer, where the code turned out to be longer than in my head. The code may look a bit cumbersome, but I did not optimise it in any way. I just wanted to show a solution where the input is interpreted and a truthtable is generated e.g. (A\oplus B)' as A XOR B and the result is negated. The code does not except every possible inputs. For ...


7

This is something quickly written. Does not steer the Mars rover, in fact it is just a one-liner. If you make your code copyable I will add all the table options, if needed. (In fact, I made zero efforts to make the output "pretty", nor to suppress spaces or empty lines.) Also one can use a loop to create all the rows. I added explanations to the output. \...


Top 50 recent answers are included