Tag Info

6

The cleanest way is to use csquotes. \documentclass{article} \usepackage[ngerman]{babel} \usepackage{csquotes} \begin{document} \enquote*{passen} \enquote{Geschachtelt kann der \enquote{Asterisk} weggelassen werden.} \end{document} This package searches the active language and uses its typical style. Above an example for a German text. You can switch ...

5

You can tap into amsmath's \genfrac: \documentclass{article} \usepackage{amsmath} \newcommand{\stirlingii}{\genfrac{\{}{\}}{0pt}{}} \begin{document} There is $\binom{a}{b}$ and $\stirlingii{a}{b}$ and also $\binom{a}{b} \text{ and } \stirlingii{a}{b}.$ \end{document} ...

5

The QED symbol is stored in \qedsymbol command and can be changed using \renewcommand. To insert the QED symbol simply type \qedsymbol but if you want to move it to the end of line, use \qedhere.

4

Here is a version that uses stacks. It is not currently set up to obey the smaller math styles, however. \documentclass[class=book]{book} % Run with xelatex %%% fonts \usepackage{libertine} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{stackengine} \stackMath %%% mathfonts \usepackage{unicode-math} ...

4

Not convinced about the usefulness, but \documentclass{article} \def\numeros{N{\raisebox{0.2ex}{\textsuperscript{\underline{os}}}}} \begin{document} \section*{\numeros} \end{document} works:

4

The Bera Mono fonts are not available in OT1 encoding, but only in T1; if you want to use them for typewriter type, you need \usepackage[T1]{fontenc}. This should be clear from the shown warnings LaTeX Font Warning: Font shape OT1/fvm/m/n' undefined (Font) using OT1/cmr/m/n' instead on input line 4. Correct example \documentclass{article} ...

3

Assuming that you have unicode input correctly declared either via \usepackage[utf8]{inputenc} or using xelatex or lualatex then  will ligature to “ and produce identical output. So the pros and cons are all about the human interface to editing, not about latex. Most latex users use ascii input as they have been using it for a long time, but even ...

3

Here I link them together with a small rule. \documentclass{article} \usepackage{stackengine} \begin{document} $\stackengine{0pt}{{\footnotesize P}\kern-2.5ptA}{\kern1pt\rule{3pt}{.3pt}}{O}{l}{F}{F}{L}$ \end{document}

3

There is no easy solution on this, as the font you have chosen does use some special "o" here. It is smaller. Just compare the letters "os" and you will see that the "o" from the numero symbol here has some other shape. Therefore it will always look wrong if you just put an "s" to its side. I could scale the letter down in order to fit the height, but this ...

3

Don't use \multirow: \documentclass{article} \begin{document} \emph{NewElement}$\left( \mbox{item'',}\left\{ \begin{tabular}{@{}l@{}} \emph{NewElement}(title'', US sanctions North Korea over Sony''),\\ \emph{NewElement} pubDate'', Fri, 02 Jan 2015 20:07:38 GMT'') \end{tabular} \right\} \right)$ \end{document}

3


3

The symbols are actually footnote markers, so fnsymbol comes into action. An easy way to change this is using footmisc and define another set of fnsymbols with \DefineFNsymbolsTM{somename}. Please note that the syntax of this command is a list of macro name pairs, i.e. a text symbol and the 'corresponding' command in math mode. I just added some symbols ...

2

For a single instance, you can use \CommentX{<comment>} as defined below: \documentclass{article} \usepackage{algpseudocode} \usepackage{algorithm} \newcommand{\CommentX}[1]{\unskip~\%~#1~\%} \begin{document} \begin{algorithm} \caption{Caption} \textbf{INPUT:} Some input \\ \textbf{OUTPUT:} Some Output \begin{algorithmic} \State ...

2

Here's another attempt; unfortunately, it seems that the “surd” symbol is not available in Unicode. \documentclass{book} % Run with xelatex %%% fonts \usepackage{amsmath} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{amssymb} %%% mathfonts \usepackage{unicode-math} \setmainfont{TeX Gyre Pagella} \setmathfont{texgyrepagella-math.otf} ...

2

You need to adjust the baseline etc., but using ex or em as basic measurement units you can have: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,positioning,calc} \def\mypic{\tikz[x=1em,y=1em,baseline=-0.5,->]{\draw[>=stealth] (0,0)--(0.5,0.5) --(1,0);}} \begin{document} text text \mypic\ text {\LARGE text \mypic text } ...

2

Here is a first cut for the simple arrow you have proposed. This scales the arrow size and line width relative to the size when the font is 10pt. As in Rmano's answer, I have used em to modify the width. A node is added with a \strut at the end which, coupled with \raisebox{-.3\baselineskip}, allows the vertical placement of the arrow to be defined using the ...

2


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