Re: Mathptmx e greco

#85088
alegenn
Partecipante
    Up
    0
    Down
    ::

    killing_buddha” post=84526`\documentclass[a4paper, twoside, 9pt]{article}
    \usepackage{
    amsmath,amssymb,amsfonts,
    eucal,wrapfig,amsthm,
    graphicx,hyperref,url,
    mathrsfs}
    \usepackage[utf8]{inputenc}

    %\usepackage{mathptmx}

    \usepackage{newtxtext,newtxmath}
    \usepackage[LGRx,T1]{fontenc}
    \usepackage{inconsolata}
    \newcommand{\mono}{\hookrightarrow}
    \newcommand{\epi}{\twoheadrightarrow}
    \newcommand{\xto}[1]{\xrightarrow{#1}}
    \newcommand{\xot}[1]{\xleftarrow{#1}}
    \newcommand{\bsmat}{\left(\begin{smallmatrix}}
    \newcommand{\esmat}{\end{smallmatrix}\right)}

    \DeclareRobustCommand{\greco}[1]{%
    {\fontencoding{LGR}\fontfamily{\greekfamily}\selectfont #1}}
    \def\greekfamily{porson}
    %=====================================
    \let\amalg=\undefined
    \let\coprod=\undefined
    \DeclareSymbolFont{cmsymbols}{OMS}{cmsy}{m}{n}
    \DeclareSymbolFont{cmlargesymbols}{OMX}{cmex}{m}{n}
    \DeclareMathSymbol{\amalg}{\mathbin}{cmsymbols}{“71}
    %=================================================

    \usepackage[usenames,dvipsnames]{xcolor}
    \usepackage{epigraph}
    \usepackage[titletoc]{appendix}

    \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
    \newcommand{\com}[1]{\mathpzc{#1}}
    \newcommand{\cate}[1]{\mathbf{#1}}
    \newcommand{\C}{\cate{C}}
    \newcommand{\fascio}[1]{\mathscr{#1}}

    \usepackage{mparhack, microtype}
    \hypersetup{backref,
    colorlinks=true,
    linkcolor=black,citecolor=NavyBlue}

    \hyphenation{Gro-then-dieck}
    \newcommand{\todo}[1]{\textcolor{blue}{\bf #1}}`
    ho tolto un po’ di roba, i pacchetti che carico sono questi, in questo ordine…

    [tt]hyperref[/tt] va caricato per ultimo. Dalla documentazione (texdoc hyperref da terminale) si legge:

    [tt]\usepackage{hyperref}[/tt]
    Make sure it comes last of your loaded packages, to give it a fighting chance of not being
    over-written, since its job is to redefine many LATEX commands.

    Go to top