# Tag Info

5

The bchart package is not very flexible and, unfortunately, doesn't even use pgfkeys. But you can use percusse's idea of using PGFmath's number printing by creating your own \Bcbar macro: \newcommand*\Bcbar[2][] {\bcbar[{value={\pgfmathprintnumber[my value style/.try]{#2}}, #1}]{#2}} \pgfset{number format/my value style/.style={use comma}} This uses the ...

5


4

Maybe you are using package siunitx. There both the comma and the period can be used as input decimal markers (see option input-decimal-markers). The decimal marker for the output is configured by output-decimal-marker, the default is the period and can be changed to a comma: \documentclass{article} \usepackage{siunitx} \sisetup{output-decimal-marker={,}} \...

4

With a TiKZ matrix is not difficult to do it: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{matrix,backgrounds,patterns} \begin{document} \begin{tikzpicture} \matrix (A) [matrix of nodes, column sep=1mm, row sep=1mm] { 0 & 1 & 1 & 0 & 1 & 1 & 0 & 1 \\ 1 & 0 & 0 & 1 & 0 & 0 & 1 & 1 \\ 1 &...

4

there are probably better ways to do this, but if you put \nolinebreak before the \hspace in the definition of \hairsp that will prevent a break any time the macro is used. \newcommand{\hairsp}{\nolinebreak\hspace{1pt}}% hair space

3

And of course you can just use pgfplots (with some tweaks to match the visual output): \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.13} \begin{document} \begin{tikzpicture} \begin{axis}[xbar, xmin=0,xmax=10, symbolic y coords={xxx,yyy}, ytick=data, nodes near coords, nodes near coords align={horizontal}, axis lines = left, xtick={...

3


3


3

One option is to have language specific hspace: \define\cyrdash{\dontleavehmode\scale[sx=0.80]{---}} \setuplanguage [ru] [midsentence=\cyrdash, leftsentence=\cyrdash, rightsentence=\cyrdash] \definehspace [emdash] [\zeropoint] \definehspace [ru] [emdash] [2cm] % Exaggerated, for visualization. \definetextmodediscretionary < {\...

3

You can use combination of a font switch the character spacing to change the appearance of the em-dash. In the first step you create a separate typeface with a compressed em-dash. \definefontfeature[russian][extend=0.8] \definefallbackfamily [russianfont] [rm] [DejaVu Serif] [range={0x2013,0x2014},force=yes,features=russian] \definefontfamily [...

2

This also removes the burden of typing different em-dashes for different situations. You just type --- or — (unicode em-dash) and it will adjust depending of the position. \usemodule[translate] \translateinput[---][—] \define\cyrdashsymbol{\dontleavehmode\scale[sx=0.80]{---}} % cyrillic dash sign \unexpanded\def\cyrdash{\ifincsname\string—\else \ifvmode\...

2

TexStudio provides a better method to covert your text into LaTeX directly by going to Idefix->Paste as Latex / Covert to Latex or if your are writing in the TexStudio itself then please go the options Options->Configure TexStudio -> Editor ->Replace Double Quotes -> Select English quote After pressing OK, whenever you write a double quote in ...

2

There is no such thing as a ”decimal separator”. What you're seeing are different shapes for the plain comma. The first picture has text in Latin Modern, as you requested. The second picture has text in Palatino. The two fonts have different shapes for the comma and there's nothing particular about this. Do \usepackage{mathpazo} instead of \usepackage{...

1

You can use LanguageTool in TeXstudio. If you really need it, consider to switch.

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