Re: Grafica

#90087
Up
0
Down
::

% !TEX encoding = UTF-8
% !TEX TS-program = xelatex

\documentclass[10pt,a4paper,twoside,titlepage,openright]{memoir}
\usepackage{geometry}
\usepackage{tikz, pgf}
\usetikzlibrary {shapes}
\usetikzlibrary{decorations.text}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage{marginnote}
\usepackage{enumitem}
\usepackage{xltxtra}
\usepackage{url}
\usepackage{polyglossia}
\usepackage{booktabs}
\usepackage[italian]{varioref}
\usepackage{xcolor}
\usepackage[retainmissing]{MnSymbol}
\usepackage{titling}
\usepackage{longtable}
\usepackage{url}
\usepackage{epigraph}
\usepackage{bidi}
\usepackage{pifont}
\usepackage{stmaryrd}
\usepackage{bbding}
\usepackage{wasysym}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\setdefaultlanguage{italian}
\setotherlanguage{hebrew}
\setotherlanguage{greek}
\setmainfont[Ligatures=TeX,Numbers=OldStyle,Scale=.85]{TeX Gyre Bonum}
%\newfontfamily\hebrewfont[Scale=1.8,Script=Hebrew]{Adobe Hebrew}
%\newfontfamily\hebrewfont[Scale=1.8,Script=Hebrew]{SBL Hebrew}
\newfontfamily\hebrewfont[Scale=1.8,Script=Hebrew]{New Peninim MT}
\renewcommand{\baselinestretch}{1}
\date{}
\let\oldmarginpar\marginpar \renewcommand\marginpar[1] {\-\oldmarginpar[\footnotesize\ \textrm{#1} ] {\footnotesize \textrm{#1}}}
\pagestyle{empty}
\begin{document}

\begin{figure} %% PRIMO %%
\begin{centering}
\begin{tikzpicture}
\draw (0,0) circle (25pt);
\draw (0,0) circle (40pt);
\newfontfamily\hebrewfont[Scale=1.5,Script=Hebrew]{New Peninim MT}
\path
[
postaction={
decorate,
decoration={
raise=-7pt,
text along path,
text align/fit to path stretching spaces=false,
reverse path=true,
text align/align=right,
text align/left indent={40pt},
text align/right indent={45pt},
text={|\hebrewfont | ר ת כ }
}
}
] (0,0) circle (36pt);
\newfontfamily\hebrewfont[Scale=.8,Script=Hebrew]{New Peninim MT}
\path
[
postaction={
decorate,
decoration={
raise=-7pt,
text along path,
text align/fit to path stretching spaces=false,
reverse path=true,
text align/align=right,
text align/left indent={0pt},
text align/right indent={0pt},
text={|\hebrewfont | ו כ ו ת ב~~~ק י ת ע ד~~~ד ס ח }
}
}
] (0,0) circle (22pt);
\end{tikzpicture}
\end{centering}
\end{figure}

\begin{figure} %% SECONDO %%
%\begin{centering}
\begin{tikzpicture}
\draw (0mm,0mm) circle (25pt);
\draw (0mm,0mm) circle (40pt);
\newfontfamily\hebrewfont[Scale=1.5,Script=Hebrew]{New Peninim MT}
\path
[
postaction={
decorate,
decoration={
raise=-7pt,
text along path,
text align/fit to path stretching spaces=false,
reverse path=true,
text align/align=right,
text align/left indent={40pt},
text align/right indent={38pt},
text={|\hebrewfont | ה מ כ ח }
}
}
] (0mm,0mm) circle (36pt);
\newfontfamily\hebrewfont[Scale=.8,Script=Hebrew]{New Peninim MT}
\path
[
postaction={
decorate,
decoration={
raise=-7pt,
text along path,
text align/fit to path stretching spaces=false,
reverse path=true,
text align/align=right,
text align/left indent={0pt},
text align/right indent={0pt},
text={|\hebrewfont | ו כ ו ת ב~~~ק י ת ע ד~~~ד ס ח }
}
}
] (0mm,0mm) circle (22pt);
\end{tikzpicture}
%\end{centering}
\end{figure}

\end{document}

Questo è il codice per ottenere due delle varie corone circolari che mi servono e che dovrei posizionare in punti precisi della pagina. Invece, se modifico le quattro coordinate di ogni corona circolare le posizioni non cambiano.

Uso XeLaTex in ambiente OS X 10.6.8

Per errore di architettura intendo l’utilizzo improprio di pacchetti tra loro incompatibili o usati in modo inadeguato.

Se elimino reverse path non ottengo ciò che mi serve.

Per i caratteri ebraici devo precisare che la prima lettera a sinistra viene posta come prima lettera a destra nel file composto. In tutto il documento la prima lettera a destra viene posta come prima lettera a destra.

In allegato si trova il file compilato.

PM

Attachments:
You must be logged in to view attached files.

Go to top