Search found 11 matches

by dinya
Thu Jul 05, 2012 3:40 pm
Forum: XeTeX
Topic: polyglossia | Section Numbering Style for Russian
Replies: 4
Views: 9387

polyglossia | Section Numbering Style for Russian

Document code:

\documentclass[11pt]{article}
\usepackage{polyglossia}
\setmainfont{XITS}
\setdefaultlanguage[spelling=modern]{russian}

\begin{document}
\section{Unicode support}

\subsection{English}
All human beings are born free and equal in dignity and rights.

\subsubsection{English 2}
All ...
by dinya
Thu Jul 05, 2012 12:49 pm
Forum: XeTeX
Topic: polyglossia | Section Numbering Style for Russian
Replies: 4
Views: 9387

polyglossia | Section Numbering Style for Russian

Hello all.

I use polyglossia

\usepackage{polyglossia}
\setdefaultlanguage[spelling=modern]{russian}

I have to remove dots after section number. The only way I found is to edit gloss-russian.ldf
from

\def\postsection{.\@aftersepkern}%

to

\def\postsection{\@aftersepkern}%


Direct ...
by dinya
Thu Jul 05, 2012 12:34 pm
Forum: XeTeX
Topic: Math mode symbols like Times New Roman
Replies: 2
Views: 14116

Re: Math mode symbols like Times New Roman

Thanks. This works for me
by dinya
Thu Jul 05, 2012 6:45 am
Forum: XeTeX
Topic: Math mode symbols like Times New Roman
Replies: 2
Views: 14116

Math mode symbols like Times New Roman

Hello all.

I have to use Times New Roman font.
But in math mode I use standart LaTeX math font (CM?).

I want to make math mode symbols look like Times New Roman.

Direct setting like


\usepackage{unicode-math}
\setmathfont{Times New Roman}


is not a way, because I have rectangles instead of ...
by dinya
Thu Jun 28, 2012 10:50 am
Forum: General
Topic: Conditional Constructs in Counter Definition
Replies: 3
Views: 3199

Conditional Constructs in Counter Definition

Thanks.

TeX \ifnum works for me. I have more than one appendix.
by dinya
Thu Jun 28, 2012 7:06 am
Forum: General
Topic: Conditional Constructs in Counter Definition
Replies: 3
Views: 3199

Conditional Constructs in Counter Definition

Hello all!

I need to implement different value of \thefigure as a function of \value{section} .
Something like that:
\renewcommand{\thefigure}{%
\ifthenelse{\value{section} = 0}}%
{\theappendix.\arabic{figure}}
{\thesection.\arabic{figure}}
}
But this construction causes
! Illegal parameter ...
by dinya
Tue Apr 20, 2010 6:15 am
Forum: Texmaker and TeXstudio
Topic: Verbatim environment problem
Replies: 0
Views: 2152

Verbatim environment problem

Hello all.

This links http://www.latex-community.org/index.php?option=com_content&view=article&id=349:texmaker-199-released&catid=44:news-latex&Itemid=111 said that Texmaker supports verbatim evironment to syntax highlighting (cancel special TeX symbols in this environment). But I have problem with ...
by dinya
Sun Nov 22, 2009 10:38 am
Forum: Graphics, Figures & Tables
Topic: figure env. in xtabular
Replies: 1
Views: 1746

figure env. in xtabular

Hello all.

How can i use env. figure in xtabular? Because i need captions for figures and /includegraphics isn't enough
by dinya
Sun Oct 25, 2009 11:09 am
Forum: Math & Science
Topic: Wavy lines across expression in math mode
Replies: 2
Views: 3722

Re: Wavy lines across expression in math mode

Thanks, Stefan_K