Tag Info

New answers tagged

6

1st paragraph is normal slant handwriting, while the second is leftward slant handwriting. By convention, left-slant handwriting is not taught (and therefore it does not exist in pre-defined fonts), but a number of lefties and (as Mico notes) some righties adopt the style in their handwriting. Here, I implement a character iteration scheme, where \charop{} ...


3

\begin{textit}Some text\end{textit} is wrong; there is the command \textit that takes as argument the text you want to typeset in italics. What happens is essentially equivalent to doing \begingroup\textit Some text\relax\endgroup and \textit considers only S as its argument: when there are no braces, a macro with argument takes for it the first token ...


1

Enclose the sentences you want emphasized with \emph{...}. Concerning the enumerate environments, add \itshape. So in summary, do like this: \emph{The provisions of this Law are valid for:} \begin{enumerate*}\itshape \item [1.] ... \item [2.] ... \item [3.] ... \end{enumerate*}


3

(I run MacTeX2015 on a MacBookPro running MacOSX 10.10.3 "Yosemite".) I would load the Cambria and Calibri fonts via \setmainfont and \setsansfont instructions. The program runs equally well under XeLaTeX and LuaLaTeX. \documentclass{article} \usepackage{fontspec} \setmainfont{Cambria} \setsansfont[Scale=MatchLowercase]{Calibri} \newcommand\test{The ...


2

The following example uses slanting via TikZ: \tikz[ baseline=(X.base), inner sep=0pt, transform canvas={xslant=cos(#1)}, ] \node (X) {#2};% The slant angle is #1 and the slanted material is in #2. For some unknown reason, the bounding box is pretty wrong, the box is horizontally centered at the baseline with much shorter height. Therefore the ...


2

Ugly as hell. ;-) \documentclass{article} \usepackage{graphicx} \DeclareRobustCommand{\slantflip}[1]{% \raisebox{\depth}{% \scalebox{1}[-1]{% \scalebox{-1}[1]{\slshape\sffamily#1}% }% }\negthinspace } \newcommand{\allsl}{\slantflip{A}} \newcommand{\allex}{\slantflip{E}} \begin{document} \allsl{} and \allex{} \end{document}



Top 50 recent answers are included