Tag Info

New answers tagged

5

As stated in the comments ~ inserts a non-breaking space. This means that you tell the typesetting algorithm that it should not insert a linebreak here. This is useful when making references. For example, if you write according to the Pythagorean theorem there is a lot to be learned form a triangle. You might see in equation \eqref{eq:1} there is some ...


0

Notepad++: Default encoding for empty files seems to be ANSI, displayed in the status bar: The wrong result is easily visible. Diacritics are converted to regular latin characters. Encoding should be changed to UTF-8 without BOM: After copy-pasting again the same text, it is displayed properly:


0

TeXstudio: no issues are present. UTF seems to be enabled by default. The file encoding is displayed in the status bar.


1

TeXnicCenter: File should be saved for the first time through save as dialog: File -> Save As -> Encoding checkbox: select UTF-8: Now it should compile properly: The scenario described in the question seems to be a TeXnicCenter bug. (version 2.02)


6

There is a special command for that in the stackengine package: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[svgnames]{xcolor} \usepackage{amsmath} \usepackage{stackengine} \begin{document} \stackinset{c}{}{c}{}{\color{red}$\scriptstyle\circ$}{\color{ForestGreen}$x$} \quad ...


3

Not with tikz \documentclass{scrartcl} \usepackage{graphicx} \makeatletter \def\cx {{\ooalign{x\cr \hidewidth\raisebox{.2ex}{$\m@th\scriptscriptstyle\circ$}\kern.01em \hidewidth\cr}}} \def\cX {{\ooalign{X\cr \hidewidth\raisebox{.4ex}{$\m@th\scriptstyle\circ$}\kern.01em \hidewidth\cr}}} \makeatother \begin{document} \cx\ and \cX ...


5

With tikz \documentclass{article} \usepackage{tikz} \newcommand{\circledx}{% \begin{tikzpicture} \node[inner sep=0pt,outer sep=0pt] (a) {x}; \draw (a.center) circle (0.15ex); \end{tikzpicture} } \newcommand{\circledX}{% \begin{tikzpicture} \node[inner sep=0pt,outer sep=0pt] (a) {X}; \draw (a.center) circle (0.2ex); \end{tikzpicture} } ...


1

I show my solution for this problem for plain TeX, where amsmath.sty isn't loaded, because the first line of this macro file says: \NeedsTeXFormat{LaTeX2e}. I leaved the \skewchar calculation because this is more suitable for accents like dot. My \ẅidebar begins by left slanted border (by default) and ends at the same place as \overline. If the first token ...


0

You should use the modern replacement for bibtex: biblatex with its biber backend. It is fully unicode capable. If you want to take it one more step further, you might also want to switch to a native unicode-enginge: xelatex or lualatex. You just have to change a few packages in the preamble. The combination of \usepackage[utf8]{inputenc} and ...


1

You need to extract the harpoons and also the relation bar: \documentclass{article} \usepackage{amsmath} \makeatletter \DeclareFontFamily{U}{MnSymbolA}{} \DeclareFontShape{U}{MnSymbolA}{m}{n}{ <-6> MnSymbolA5 <6-7> MnSymbolA6 <7-8> MnSymbolA7 <8-9> MnSymbolA8 <9-10> MnSymbolA9 <10-12> MnSymbolA10 ...


0

REWORKED based on comments from the OP, to provide extensibility. It is based on my answer at Extensible \vec instead of \overrightarrow Here, I use the default harpoon to provide extensibility. Method can be extended to other harpoon varieties. \documentclass[12pt]{scrartcl} \usepackage{stackengine} \usepackage{calc} \newlength\shlength ...



Top 50 recent answers are included