File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ def _latex_partitioned_stateless(self):
522
522
s : string with LaTeX representation of model
523
523
"""
524
524
lines = [
525
- r'\[ ' ,
525
+ r'$$ ' ,
526
526
(r'\left('
527
527
+ r'\begin{array}'
528
528
+ r'{' + 'rll' * self .ninputs + '}' )
@@ -536,7 +536,7 @@ def _latex_partitioned_stateless(self):
536
536
r'\end{array}'
537
537
r'\right)'
538
538
+ self ._latex_dt (),
539
- r'\] ' ])
539
+ r'$$ ' ])
540
540
541
541
return '\n ' .join (lines )
542
542
@@ -554,7 +554,7 @@ def _latex_partitioned(self):
554
554
return self ._latex_partitioned_stateless ()
555
555
556
556
lines = [
557
- r'\[ ' ,
557
+ r'$$ ' ,
558
558
(r'\left('
559
559
+ r'\begin{array}'
560
560
+ r'{' + 'rll' * self .nstates + '|' + 'rll' * self .ninputs + '}' )
@@ -574,7 +574,7 @@ def _latex_partitioned(self):
574
574
r'\end{array}'
575
575
+ r'\right)'
576
576
+ self ._latex_dt (),
577
- r'\] ' ])
577
+ r'$$ ' ])
578
578
579
579
return '\n ' .join (lines )
580
580
@@ -588,7 +588,7 @@ def _latex_separate(self):
588
588
s : string with LaTeX representation of model
589
589
"""
590
590
lines = [
591
- r'\[ ' ,
591
+ r'$$ ' ,
592
592
r'\begin{array}{ll}' ,
593
593
]
594
594
@@ -618,7 +618,7 @@ def fmt_matrix(matrix, name):
618
618
lines .extend ([
619
619
r'\end{array}'
620
620
+ self ._latex_dt (),
621
- r'\] ' ])
621
+ r'$$ ' ])
622
622
623
623
return '\n ' .join (lines )
624
624
You can’t perform that action at this time.
0 commit comments