New answers tagged

4

\left[....\middle|....\right\]


4

A standard application of \DeclarePairedDelimiterX: \documentclass{article} \usepackage{mathtools,amssymb} \newcommand{\Econd}{\operatorname{\mathbb{E}}\EcondX} \DeclarePairedDelimiterX{\EcondX}[2]{[}{]}{% #1\nonscript\;\delimsize|\nonscript\;#2% } \begin{document} Some examples are \begin{align*} &\Econd{X_t}{X_s}\\ %normal look ...


2

In both cases, you can use use \textwidth (or \columnwidth for two column documents) instead of specific lengths such as 110mm and 12cm.


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

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

Why not add \linespread{0.95}, it reduces the space between two lines with 5%, so there will be more text on your page.


1

You could use the extsizes package: \usepackage[20pt]{extsizes} From https://www.ctan.org/tex-archive/macros/latex/contrib/extsizes?lang=en: The standard Latex classes (article, report etc) support ten, eleven and twelve point text. These are the commonest sizes used in publishing. However, for certain applications there may be a need for other ...


1

If you just want to change the angle, the easiest way would be to use the scale width key of the arrows.meta library: \documentclass[10pt,border=1mm]{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} \draw[->,>={Triangle[scale width=1.75]}] (0,0) -- (1,0); \draw[->,red,>={Triangle[scale ...


1

The scaling options applies to the whole node. This means that even the text is scaled and I don't think there is an option to avoid it. However scaling does not apply to \draw. Attaching a node to a draw command will render the text immune to the scale command. Output Code \documentclass{standalone} \usepackage{tikz} \begin{document} ...



Top 50 recent answers are included