Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f137cb664f
@ -906,7 +906,12 @@ class LatexSurveyElement{
|
||||
//$text = str_replace('{','\{',$text);
|
||||
//$text = str_replace('}','\}',$text);
|
||||
$text = str_replace('$','\$ ',$text);
|
||||
$text = str_replace('#','\# ',$text);
|
||||
|
||||
if(substr_count($text, '#')){ //ce je stevilo # vecje od 1
|
||||
$text = str_replace('#','\#',$text);
|
||||
}else{
|
||||
$text = str_replace('#','\# ',$text);
|
||||
}
|
||||
$text = str_replace('%','\% ',$text);
|
||||
$text = str_replace('€','\euro',$text);
|
||||
$text = str_replace('^','\textasciicircum{} ',$text);
|
||||
@ -923,7 +928,7 @@ class LatexSurveyElement{
|
||||
//$text = str_replace('>','\textgreater ',$text);
|
||||
$text = str_replace('>',' \textgreater ',$text);
|
||||
//ureditev posebnih karakterjev za Latex - konec
|
||||
|
||||
|
||||
//ureditev grskih crk
|
||||
$text = str_replace('α','\textalpha ',$text);
|
||||
$text = str_replace('β','\textbeta ',$text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user