diff --git a/patches/namd-2.8.config b/patches/namd-2.8.config
index e36c9fb19ac0d1fb8e16b1d7ef0b2eb1e3c9258b..12035dda6680a2925bd28b1e20efd1bd31b6fd36 100644
--- a/patches/namd-2.8.config
+++ b/patches/namd-2.8.config
@@ -11,8 +11,10 @@ cat << EOF
 To enable PLUMED in a NAMD simulation one should add the following lines in the NAMD configuration file
 (often named as xxx.namd or xxx.conf) and run the plumed-patched version of NAMD with it:
 
+\verbatim
 plumed on
-plumed plumed.dat
+plumedfile plumed.dat
+\endverbatim
 
 The first line tells NAMD to run with PLUMED and the second line specifies the PLUMED input file.
 
diff --git a/patches/namd-2.9.config b/patches/namd-2.9.config
index 5086c057738f02678c64459ab9207c99b988a962..352a7ba8b562a7499a13de23ac7d68fba3c662dc 100644
--- a/patches/namd-2.9.config
+++ b/patches/namd-2.9.config
@@ -11,8 +11,10 @@ cat << EOF
 To enable PLUMED in a NAMD simulation one should add the following lines in the NAMD configuration file
 (often named as xxx.namd or xxx.conf) and run the plumed-patched version of NAMD with it:
 
+\verbatim
 plumed on
-plumed plumed.dat
+plumedfile plumed.dat
+\endverbatim
 
 The first line tells NAMD to run with PLUMED and the second line specifies the PLUMED input file.