Se débarasser de la référence au paquet LaTeX de la fonte Bera

main
Paul Schneider 9 years ago
parent c7f26fb636
commit 602db195fd
2 changed files with 6 additions and 5 deletions

@ -67,7 +67,8 @@ namespace Yavsc.Helpers
new Replacement("&","\\&"), new Replacement("&","\\&"),
new Replacement("¡","\\textexclamdown"), new Replacement("¡","\\textexclamdown"),
new Replacement("†","\\dag"), new Replacement("†","\\dag"),
new Replacement("","\\textendash") new Replacement("","\\textendash"),
new Replacement("°","\\textdegree")
}; };
public static TeXString ToTeX(this string source, string defaultValue="\\textit{néant}") public static TeXString ToTeX(this string source, string defaultValue="\\textit{néant}")

@ -21,12 +21,12 @@
} }
\documentclass[french,11pt]{article} \documentclass[french,11pt]{article}
\usepackage{eurosym} \usepackage{eurosym}
\usepackage{textcomp}
\usepackage{babel} \usepackage{babel}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry} \usepackage[a4paper]{geometry}
\usepackage{units} \usepackage{units}
\usepackage{bera}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{fancyhdr} \usepackage{fancyhdr}
\usepackage{fp} \usepackage{fp}
@ -127,7 +127,7 @@
@TeXHelpers.ToTeX(from.UserName) \\ @TeXHelpers.ToTeX(from.UserName) \\
@proaddr @proaddr
@(isestimate?"Devis":"Facture") n°\FactureNum @(isestimate?"Devis":"Facture") n\textdegree\FactureNum
{\addtolength{\leftskip}{10.5cm} %in ERT {\addtolength{\leftskip}{10.5cm} %in ERT
@ -181,13 +181,13 @@
\begin{tabular}{|c c c c|} \begin{tabular}{|c c c c|}
@if (!string.IsNullOrWhiteSpace(bi.BankCode) && !string.IsNullOrWhiteSpace(bi.WicketCode) @if (!string.IsNullOrWhiteSpace(bi.BankCode) && !string.IsNullOrWhiteSpace(bi.WicketCode)
&& !string.IsNullOrWhiteSpace(bi.AccountNumber) ) { && !string.IsNullOrWhiteSpace(bi.AccountNumber) ) {
<text>\hline \textbf{Code banque} & \textbf{Code guichet} & \textbf{N° de Compte} & \textbf{Clé RIB} \\ <text>\hline \textbf{Code banque} & \textbf{Code guichet} & \textbf{N\textdegree de Compte} & \textbf{Clé RIB} \\
@bi.BankCode & @bi.WicketCode & @bi.AccountNumber & @bi.BankedKey \\ @bi.BankCode & @bi.WicketCode & @bi.AccountNumber & @bi.BankedKey \\
</text> </text>
} }
@if (!string.IsNullOrWhiteSpace(@bi.IBAN) && !string.IsNullOrWhiteSpace(@bi.BIC)) { @if (!string.IsNullOrWhiteSpace(@bi.IBAN) && !string.IsNullOrWhiteSpace(@bi.BIC)) {
<text> <text>
\hline \textbf{IBAN N°} & \multicolumn{3}{|l|}{ @bi.IBAN } \\ \hline \textbf{IBAN N\textdegree} & \multicolumn{3}{|l|}{ @bi.IBAN } \\
\hline \textbf{Code BIC} & \multicolumn{3}{|l|}{ @bi.BIC } \hline \textbf{Code BIC} & \multicolumn{3}{|l|}{ @bi.BIC }
</text> </text>
} \\ } \\

Loading…