diff --git a/Examples/FeatureExtraction/RatioLineDetectorExample.cxx b/Examples/FeatureExtraction/RatioLineDetectorExample.cxx
index eb1c16b7f31d9b9fb9a29deba365bf47df54a864..a98bd956346ebc3b557a2782f82f776d075ab10b 100755
--- a/Examples/FeatureExtraction/RatioLineDetectorExample.cxx
+++ b/Examples/FeatureExtraction/RatioLineDetectorExample.cxx
@@ -70,7 +70,7 @@ int main( int argc, char * argv[] )
   //  Software Guide : EndLatex
 
   // Software Guide : BeginCodeSnippet
-  typedef  float  InternalPixelType;
+  typedef  float          InternalPixelType;
   typedef  unsigned char  OutputPixelType;
   // Software Guide : EndCodeSnippet
 
@@ -82,7 +82,7 @@ int main( int argc, char * argv[] )
 
   // Software Guide : BeginCodeSnippet
   typedef otb::Image< InternalPixelType,  2 >   InternalImageType;
-  typedef otb::Image< OutputPixelType,  2 >   OutputImageType;
+  typedef otb::Image< OutputPixelType,  2 >     OutputImageType;
   // Software Guide : EndCodeSnippet
 
 
@@ -93,7 +93,8 @@ int main( int argc, char * argv[] )
   //  Software Guide : EndLatex
 
   // Software Guide : BeginCodeSnippet
-  typedef otb::LineRatioDetectorImageFilter< InternalImageType, InternalImageType >  FilterType;
+  typedef otb::LineRatioDetectorImageFilter
+              < InternalImageType, InternalImageType >  FilterType;
   // Software Guide : EndCodeSnippet
 
 
@@ -259,7 +260,5 @@ int main( int argc, char * argv[] )
   //  Software Guide : EndLatex
 
 
-
   return EXIT_SUCCESS;
 }
-
diff --git a/Examples/Learning/SOMClassifierExample.cxx b/Examples/Learning/SOMClassifierExample.cxx
index 3f78951e19eb5d5a13f686766489211e35b4a486..451332c6f7092aa3281e553a4851c97d6159606c 100755
--- a/Examples/Learning/SOMClassifierExample.cxx
+++ b/Examples/Learning/SOMClassifierExample.cxx
@@ -54,7 +54,6 @@
 // Software Guide : EndCodeSnippet
 
 
-
 int main(int argc, char* argv[] )
 {
 
@@ -86,14 +85,14 @@ int main(int argc, char* argv[] )
 //  Software Guide : EndLatex
 
 // Software Guide : BeginCodeSnippet
-  typedef itk::Statistics::EuclideanDistance<PixelType> DistanceType;
-  typedef otb::SOMMap<PixelType,DistanceType,Dimension> SOMMapType;
-  typedef otb::ImageFileReader<SOMMapType> SOMReaderType;
+  typedef itk::Statistics::EuclideanDistance<PixelType>   DistanceType;
+  typedef otb::SOMMap<PixelType, DistanceType, Dimension> SOMMapType;
+  typedef otb::ImageFileReader<SOMMapType>                SOMReaderType;
 
 // Software Guide : EndCodeSnippet
 
-  typedef otb::VectorImage<InputPixelType,Dimension> InputImageType;
-  typedef otb::ImageFileReader< InputImageType  >  ReaderType;
+  typedef otb::VectorImage<InputPixelType, Dimension> InputImageType;
+  typedef otb::ImageFileReader< InputImageType >      ReaderType;
 
 //  Software Guide : BeginLatex
 //
@@ -127,7 +126,7 @@ int main(int argc, char* argv[] )
 
 // Software Guide : BeginCodeSnippet
 
-  typedef otb::Image<LabelPixelType, Dimension >  OutputImageType;
+  typedef otb::Image<LabelPixelType, Dimension>  OutputImageType;
   typedef otb::ImageFileWriter<OutputImageType>  WriterType;
 
 // Software Guide : EndCodeSnippet
@@ -161,7 +160,8 @@ int main(int argc, char* argv[] )
 
   SampleType::Pointer sample = SampleType::New();
 
-  itk::ImageRegionIterator<InputImageType> it(reader->GetOutput(),reader->GetOutput()->GetLargestPossibleRegion());
+  itk::ImageRegionIterator<InputImageType> it(reader->GetOutput(),
+                      reader->GetOutput()->GetLargestPossibleRegion());
 
   it.GoToBegin();
 
@@ -301,10 +301,3 @@ int main(int argc, char* argv[] )
 
   return EXIT_SUCCESS;
 }
-
-
-
-
-
-
-
diff --git a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx
index 909a0f44c88ba5d0c7d9483c4b4860e785518e0d..85c981cc11564be8372e873a167979fcfaba423d 100644
--- a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx
+++ b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx
@@ -69,7 +69,8 @@ int main(int argc, char * argv[])
 {
   if(argc != 11)
     {
-      std::cerr<<"Usage: "<<argv[0]<<" reffname outfname outprettyfname attribute_name lowerThan tresh spatialRadius rangeRadius minregionsize scale"<<std::endl;
+    std::cerr << "Usage: " << argv[0] << " reffname outfname outprettyfname attribute_name ";
+    std::cerr << "lowerThan tresh spatialRadius rangeRadius minregionsize scale" << std::endl;
       return EXIT_FAILURE;
     }
 
@@ -145,7 +146,7 @@ int main(int argc, char * argv[])
   //  Software Guide : EndLatex
   
   // Software Guide : BeginCodeSnippet
-  filter->SetInput(reader->GetOutput());       
+  filter->SetInput(reader->GetOutput());
   // Software Guide : EndCodeSnippet
 
   //  Software Guide : BeginLatex
@@ -178,7 +179,8 @@ int main(int argc, char * argv[])
   //  Software Guide : EndLatex
   
   // Software Guide : BeginCodeSnippet
-  RadiometricLabelMapFilterType::Pointer radiometricLabelMapFilter = RadiometricLabelMapFilterType::New();
+  RadiometricLabelMapFilterType::Pointer radiometricLabelMapFilter 
+                                       = RadiometricLabelMapFilterType::New();
   radiometricLabelMapFilter->SetInput1(statisticsLabelMapFilter->GetOutput());
   radiometricLabelMapFilter->SetInput2(vreader->GetOutput());
   // Software Guide : EndCodeSnippet
@@ -224,7 +226,8 @@ int main(int argc, char * argv[])
   //  Software Guide : EndLatex
 
   // Software Guide : BeginCodeSnippet
-  LabelMapToLabeledImageFilterType::Pointer labelMap2LabeledImage = LabelMapToLabeledImageFilterType::New();
+  LabelMapToLabeledImageFilterType::Pointer labelMap2LabeledImage 
+                                          = LabelMapToLabeledImageFilterType::New();
   labelMap2LabeledImage->SetInput(opening->GetOutput());
   // Software Guide : EndCodeSnippet
 
diff --git a/Examples/Projections/MapProjectionExample.cxx b/Examples/Projections/MapProjectionExample.cxx
index 8812c69a99e6dc02116f172143fb031ffd787be0..c267c9032c3ec8e7364d3d211bdf1b258060715d 100755
--- a/Examples/Projections/MapProjectionExample.cxx
+++ b/Examples/Projections/MapProjectionExample.cxx
@@ -77,7 +77,6 @@ int main( int argc, char* argv[] )
   // Software Guide : EndCodeSnippet
 
 
-
   // Software Guide : BeginLatex
   //
   // The output of this program will be saved in a text file. We also want
@@ -159,15 +158,15 @@ int main( int argc, char* argv[] )
 
   // Software Guide : BeginCodeSnippet
   std::string projectionRefWkt ="PROJCS[\"UTM Zone 31, Northern Hemisphere\","
-                                "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,"
-                                "AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],"
-                                "AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],"
-                                "UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],"
-                                "AXIS[\"Lat\",NORTH],AXIS[\"Long\",EAST],"
-                                "AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],"
-                                "PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",3],"
-                                "PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000],"
-                                "PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]]";
+     "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,"
+     "AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],"
+     "AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],"
+     "UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],"
+     "AXIS[\"Lat\",NORTH],AXIS[\"Long\",EAST],"
+     "AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],"
+     "PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",3],"
+     "PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000],"
+     "PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]]";
   // Software Guide : EndCodeSnippet
 
   // Software Guide : BeginLatex
diff --git a/Examples/Projections/VectorDataExtractROIExample.cxx b/Examples/Projections/VectorDataExtractROIExample.cxx
index e2c176b832b12074f4e553c169852812005240fd..081ea4b98b7468a76fd0a5c64e7809cac36ad4c7 100755
--- a/Examples/Projections/VectorDataExtractROIExample.cxx
+++ b/Examples/Projections/VectorDataExtractROIExample.cxx
@@ -115,7 +115,8 @@ int main( int argc, char* argv[] )
   region.SetOrigin(index);
 
   otb::ImageMetadataInterfaceBase::Pointer imageMetadataInterface
-      = otb::ImageMetadataInterfaceFactory::CreateIMI(imageReader->GetOutput()->GetMetaDataDictionary());
+            = otb::ImageMetadataInterfaceFactory::CreateIMI(
+                    imageReader->GetOutput()->GetMetaDataDictionary());
   region.SetRegionProjection(
             imageMetadataInterface->GetProjectionRef(
                     imageReader->GetOutput()->GetMetaDataDictionary()));